[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#590744: Fails to boot if /sbin/init is a symlink



* Michael Biebl <biebl@debian.org> [Thu Jul 29, 2010 at 01:13:01AM +0200]:

> for testing purposes, I installed the upstart binary as /sbin/upstart and
> created a symlink /sbin/init → /sbin/upstart
> This causes a boot failure, due to this check in /usr/share/initramfs-
> tools/init

> # Check init bootarg
> if [ -n "${init}" ] && [ ! -x "${rootmnt}${init}" ]; then
>        echo "Target filesystem doesn't have ${init}."
>        init=
> fi

> To quote Mithrandir (from irc):
> <Mithrandir> -x follows symlinks
> <Mithrandir> but that means it'll look for symlinks in the initramfs, so the
> check is buggy.

You shouldn't use an absolut symlink here, use a relative one instead.
See Debian policy 10.5 for details.

Closing this bugreport as i-t works as intended.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: