[Pkg-sysvinit-devel] Bug#646182: can't upgrade initscripts when running systemd

Roger Leigh rleigh at codelibre.net
Wed Nov 16 23:23:59 UTC 2011


On Sat, Oct 22, 2011 at 11:39:51AM +1100, Russell Coker wrote:
> # ls -al /lib/init/
> ls: cannot access /lib/init/rw: No such device
> d??????????  ? ?    ?        ?            ? rw
> Below is the result of "apt-get dist-upgrade".  Above is the result of ls on
> the directory in question.  I'm not sure if this is an initscripts or systemd
> bug, feel free to reassign to systemd.
> 
> Preparing to replace initscripts 2.88dsf-13.11 (using .../initscripts_2.88dsf-13.12_amd64.deb) ...
> Unpacking replacement initscripts ...
> dpkg: error processing /var/cache/apt/archives/initscripts_2.88dsf-13.12_amd64.deb (--unpack):
>  unable to stat `./lib/init/rw' (which I was about to install): No such device
> configured to not write apport reports
>                                       Errors were encountered while processing:
>  /var/cache/apt/archives/initscripts_2.88dsf-13.12_amd64.deb

This one is rather strange.  I don't think this is something the
initscripts package is doing at upgrade time.  While the package
provides the empty directory:

% dpkg -L initscripts | grep rw
/lib/init/rw

it doesn't mount/umount a tmpfs on there except at at boot time.
If the directory was deleted, then it would recreate it, and it's
presumably this step that's failing.

It's possible that systemd does something to /lib/init/rw, but not
sure what, so CCing Michael and Tollef.  Do you do anything special
with this directory?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.





More information about the Pkg-sysvinit-devel mailing list