Date: Mon, 18 May 1998 23:50:04 -0700 (PDT) From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6653 Message-ID: <199805190650.XAA24258@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/6653; it has been noted by GNATS. From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Dom Mitchell <dom@myrddin.demon.co.uk> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/6653 Date: Tue, 19 May 1998 08:49:13 +0200 In message <E0ybK5c-00007n-00.qmail@myrddin.demon.co.uk>, Dom Mitchell writes: >Poul-Henning Kamp <phk@FreeBSD.ORG> writes: > >> Synopsis: The rc script sometimes produces errors which are unnecessary. >> >> State-Changed-From-To: open-feedback >> State-Changed-By: phk >> State-Changed-When: Sun May 17 22:53:09 PDT 1998 >> State-Changed-Why: >> >> Yes, things that >SHALL< be blown away on boot. >> If the subdir sudo uses were removed as part of boot, would sudo >> make it again ? If not, could you add a etc/rc.d script which creates >> it and then submit a patch which zaps /var/run completely ? > >I'm not saying it should blow away directories under /var/run. It >should remove any files it finds though. From what I've seen, this >has to be a two stage process, removing stuff in /var/run at start and >removing stuff in subdirectories later, when /usr is mounted and find >is available. I just think that it would be much simpler to blow it all away in one operation, and expect things needed subdirs to make them again. If sudo is the only customer for subdirs at this time, I certainly think this is the way to do it. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805190650.XAA24258>