From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 11 23:00:34 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B695016A4D0 for ; Fri, 11 Feb 2005 23:00:34 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 907D643D2F for ; Fri, 11 Feb 2005 23:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1BN0Yv4079274 for ; Fri, 11 Feb 2005 23:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1BN0YG2079273; Fri, 11 Feb 2005 23:00:34 GMT (envelope-from gnats) Date: Fri, 11 Feb 2005 23:00:34 GMT Message-Id: <200502112300.j1BN0YG2079273@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ralf Wenk Subject: Re: conf/77386: let /etc/rc.d/var create spool dirs for lpd X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ralf Wenk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 23:00:34 -0000 The following reply was made to PR conf/77386; it has been noted by GNATS. From: Ralf Wenk To: FreeBSD-gnats-submit@freebsd.org Cc: Brooks Davis 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