Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2004 11:55:38 +0200
From:      Ralf Wenk <RZ-FreeBSD0904@fh-karlsruhe.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        RZ-FreeBSD0904@fh-karlsruhe.de
Subject:   conf/71488: [patch] create spooldirs for lpd (in a diskless environment)
Message-ID:  <E1C4zAw-00052r-OZ@localhost>
Resent-Message-ID: <200409081000.i88A0nQR066690@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1C4zAw-00052r-OZ>