#797315 dracut: behaves strangely when molly-guard is installed

#797315#5
Date:
2015-08-29 13:34:14 UTC
From:
To:
Hi,

molly-guard diverts /sbin/{reboot,halt,shutdown,poweroff} that are
normally shipped by systemd-sysv, to replace them with symlinks to
/lib/molly-guard/molly-guard, which is a shell script.

dracut seems to assume things about /sbin/reboot, that are not valid
when molly-guard is installed.

As a result, some functionality is broken, but same as #797314: to be
reported separately, not sure yet if that's caused by dracut vs.
molly-guard, or whether I would have the same problems without
molly-guard).

I'll add more specifics once I've confirmed whether the breakage I see
is caused by molly-guard vs. dracut or not.

Cheers,
--
intrigeri

#797315#10
Date:
2017-01-21 09:34:27 UTC
From:
To:
Hi,

I wanted to try and reproduce this bug on current sid, but usrmerge
Conflicts: molly-guard, so I can't easily try that (even my sid test
VM has usrmerge installed).

Cheers,

#797315#15
Date:
2021-10-02 13:24:07 UTC
From:
To:
There's a workaround available
See https://bugs.debian.org/992351

#797315#18
Date:
2021-10-02 13:24:07 UTC
From:
To:
There's a workaround available
See https://bugs.debian.org/992351