On Thu, Apr 14, 2011 at 08:19:38PM +0100, Roger Leigh wrote: > On Thu, Apr 14, 2011 at 11:29:31AM +0200, Adam Borowski wrote: > > 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): > > I think this should be fixed now; could you possibly try again > (you'll need a clean vserver environment that hasn't been upgraded > before). The updated packages are at the same location as before.
I've tried: * a copy of one that has seen no initscripts_2.88dsf-13.3 but was upgraded since sarge * a freshly debootstrapped one Sadly, every time I get: fakerunlevel: open("/var/run/utmp"): No such file or directory # ls -al var/ total 32 drwxr-xr-x 11 root root 4096 Apr 15 12:45 . drwxr-xr-x 21 root root 4096 Apr 15 12:44 .. drwxr-xr-x 2 root root 1 Apr 6 20:58 backups drwxr-xr-x 6 root root 56 Apr 15 11:41 cache drwxr-xr-x 17 root root 4096 Apr 15 12:38 lib drwxrwsr-x 2 root staff 1 Apr 6 20:58 local drwxr-xr-x 5 root root 4096 Apr 15 12:44 log drwxrwsr-x 2 root mail 1 Apr 15 11:40 mail drwxr-xr-x 2 root root 1 Apr 15 11:40 opt drwxr-xr-x 3 root root 24 Apr 15 11:40 spool drwxrwxrwt 2 root root 1 Apr 6 20:58 tmp -- indeed, no /var/run, symlinked or not. Output when upgrading was: (Reading database ... 11217 files and directories currently installed.) Preparing to replace initscripts 2.88dsf-13.2 (using initscripts_2.88dsf-13.3_i386.deb) ... Unpacking replacement initscripts ... Setting up initscripts (2.88dsf-13.3) ... Installing new version of config file /etc/init.d/checkfs.sh ... Installing new version of config file /etc/init.d/checkroot.sh ... Installing new version of config file /etc/init.d/mountdevsubfs.sh ... Installing new version of config file /etc/init.d/mountkernfs.sh ... Installing new version of config file /etc/init.d/mtab.sh ... Installing new version of config file /etc/init.d/sendsigs ... Installing new version of config file /etc/init.d/umountfs ... Installing new version of config file /etc/init.d/umountnfs.sh ... Installing new version of config file /etc/default/tmpfs ... guest environment detected: Migrating /var/run to /run guest environment detected: Migrating /var/lock to /run/lock guest environment detected: Not migrating in-use files in /dev/shm to /run/shm Processing triggers for man-db ... -- 1KB // Microsoft corollary to Hanlon's razor: // Never attribute to stupidity what can be // adequately explained by malice.
signature.asc
Description: Digital signature