On Wed, Apr 13, 2011 at 10:22:33PM +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
>
> I've now added support for vservers to the postinst (we treat
> them like chroots, since they appear not to run rcS, which is
> probably the root cause of the problems here). The updated
> packages are at the URIs above; could you possibly give it a
> try and let me know if it works.
guest environment detected: Migrating /var/run to /run
mv: cannot move `/var/run' to `/run': Directory not empty
Can't move /var/run to /run and replace with symlink; please fix manually.
dpkg: error processing initscripts (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
initscripts
After manually moving /var/run and putting a symlink there:
[~]# vserver durthang start
fakerunlevel: open("/var/run/utmp"): No such file or directory
Failed to start vserver 'durthang'
--
1KB // Microsoft corollary to Hanlon's razor:
// Never attribute to stupidity what can be
// adequately explained by malice.
Attachment:
signature.asc
Description: Digital signature