Date: Fri, 11 Feb 2005 23:00:34 GMT From: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/77386: let /etc/rc.d/var create spool dirs for lpd Message-ID: <200502112300.j1BN0YG2079273@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/77386; it has been noted by GNATS. From: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de> To: FreeBSD-gnats-submit@freebsd.org Cc: Brooks Davis <brooks@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502112300.j1BN0YG2079273>