On 2014-09-22 05:45 +0200, Steve M. Robbins wrote:

> The package systemd-sysv installs a symlink ./sbin/init -> 
> /lib/systemd/systemd.  The system fails to boot, complaining that 
> "/sbin/init" 
> can't be found.  In bug #750360, I found a workaround that I have been using 
> for several months: change the link from absolute to relative 
> ../lib/systemd/systemd.  Then the system boots fine and runs fine.
>
> Now #750360 describes a situation with nfs mounts but I don't use any nfs 
> mounts.  I don't do anything exotic at all!  I have just two partitions: / 
> and 
> /backup.  Both are straightforward ext4 filesystems, so no nfs, no encrypted 
> fs, nothing.  This leads me to believe that my problem is distinct from that 
> issue.  Indeed, I tried yesterday with the latest initramfs-tools where 
> #750360 is fixed and I still have the same problem.
>
> Is anyone else in the same boat (absolute symlink fails even though / is not 
> nfs)?

Using an absolute symlink for /sbin/init should have been working since
initramfs-tools 0.98, released four years ago (see #590744).  Apparently
it's actually working for almost everyone who has installed
systemd-sysv, it certainly works for me.

> My system has initramfs-tools installed and I can't seem to remove them, so I 
> guess everyone else uses initramfs?

It's also possible to use dracut instead, and people building their own
kernel with all necessary drivers to mount the root filesystem built in
don't need an initramfs at all, but according to popcon ~99% of all
Debian systems do have initramfs-tools installed.

> Why would I be the only one having this problem?  

One possible explanation is that you or some package has diverted one or
several files from initramfs-tools.  For instance, if you were to have a
very old version of /usr/share/initramfs-tools/init, #590744 might hit
you.  Or some script under /etc/initramfs-tools interferes in a way
nobody has foreseen.

Good luck,
Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87lhpa6to1....@turtle.gmx.de

Reply via email to