conf/71488: [patch] create spooldirs for lpd (in a diskless
environment)
Ralf Wenk
RZ-FreeBSD0904 at fh-karlsruhe.de
Wed Sep 8 03:00:50 PDT 2004
>Number: 71488
>Category: conf
>Synopsis: [patch] create spooldirs for lpd (in a diskless environment)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 08 10:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Charlie &
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
FH Karlsruhe, University of Applied Sciences
>Environment:
System: FreeBSD RZ-Wenk1 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Mon Aug 23 15:31:59 CEST 2004 root at RZ-Wenk1:/usr/obj/usr/src/sys/fsc-t-diskless i386
>Description:
The spool directories for lpd are not created automatically since
/etc/rc.d/diskless. A simple call of chkprintcap(8) can fix this.
>How-To-Repeat:
Look at the comment in /etc/rc.d/var that says
# XXX: should create spool dirs for lpd.
>Fix:
--- var.udiff begins here ---
--- var.orig Wed Sep 8 11:20:09 2004
+++ var Wed Sep 8 11:22:10 2004
@@ -52,7 +52,8 @@
/usr/bin/touch /var/log/lastlog
- # XXX: should create spool dirs for lpd
+ # create spool dirs for lpd
+ /usr/sbin/chkprintcap -d
}
# If we do not have a writable /var, create a memory filesystem for /var
--- var.udiff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list