conf/77386: let /etc/rc.d/var create spool dirs for lpd
Ralf Wenk
RZ-FreeBSD1004 at fh-karlsruhe.de
Fri Feb 11 15:00:34 PST 2005
The following reply was made to PR conf/77386; it has been noted by GNATS.
From: Ralf Wenk <RZ-FreeBSD1004 at fh-karlsruhe.de>
To: FreeBSD-gnats-submit at freebsd.org
Cc: Brooks Davis <brooks at one-eyed-alien.net>
Subject: Re: conf/77386: let /etc/rc.d/var create spool dirs for lpd
Date: Fri, 11 Feb 2005 23:57:02 +0100
> Please send the patch. :-) Actually, I believe you can defer creation
Oops, the patch was not applied. Lession learned: Do not expect that
send-pr -f problem-report -a patch
sends the "problem-report" with "patch" copied to the Fix: section.
Here it is:
--- var.udiff begins here ---
--- var.old Fri Feb 11 11:54:23 2005
+++ var Fri Feb 11 11:56:06 2005
@@ -51,7 +51,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 ---
> until /etc/rc.d/lpr actualy runs. You don't really need the directories
> until then and if you've got /usr/sbin/lpr you should have other deps.
Yes, moving the creation of the lpd spool files to /etc/rc.d/lpr will
fix the problem that /usr/sbin/chkprintcap may not yet availiable when
/etc/rc.d/var is executed.
I'm out of office for a month from today on. Please expect some delays if
there are additional questions to this problem report.
Ralf
More information about the freebsd-bugs
mailing list