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:
> > On Wed, Apr 13, 2011 at 01:49:15PM +0100, Roger Leigh wrote:
> > > I have now implemented this (though it's not the default).
> > >
> > > I would very much appreciate it if anyone could take the time to
> > > install the new initscripts and test it out.
> > >
> > > http://people.debian.org/~rleigh/run/sysvinit_2.88dsf-13.3.dsc
> > > http://people.debian.org/~rleigh/run/initscripts_2.88dsf-13.3_amd64.deb
> >
> > It breaks down at least on vservers (which can't do mount() calls):
> >
> > 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?
postinst reported success.
This error was upon trying to [re]start the vserver afterwards, not sure
where exactly it comes from.
You might want to ask someone who deals with LXC to test it as well, as
it has a different approach to mounting filesystems inside the guest.
--
1KB // Microsoft corollary to Hanlon's razor:
// Never attribute to stupidity what can be
// adequately explained by malice.
Attachment:
signature.asc
Description: Digital signature