[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request for testing: /run and initscripts



On Wed, Apr 13, 2011 at 02:24:30PM +0100, Roger Leigh wrote:
> On Wed, Apr 13, 2011 at 03:20:38PM +0200, Adam Borowski wrote:
> > find: `var/run': No such file or directory
> > fakerunlevel: open("/var/run/utmp"): No such file or directory
> When is this, in postinst or init scripts?  We have logic
> in postinst to detect chroot environments and not do any
> mounting; could we add a similar check for vservers?

No. You have to handle errors in mouting in all cases. Even the init
script may fail there.

Bastian

-- 
Fascinating is a word I use for the unexpected.
		-- Spock, "The Squire of Gothos", stardate 2124.5


Reply to: