Bug#618862: systemd: ignores keyscript in crypttab

Ivan Jager aij+debian at mrph.org
Mon Mar 30 18:39:00 BST 2015


On Mon, Mar 30, 2015 at 11:28 AM, Marco d'Itri <md at linux.it> wrote:
> I should add some code to preinst to abort the installation if the
> keyscript directive is used in crypttab.

Would that still leave the system in a broken state though? Is preinst
early enough to avoid breakage due to uninstalling other packages?

I guess leaving the system unbootable with warning is a bit better
than without warning, but still...

Out of curiosity, how difficult would it be to have systemd fall back
to using the cryptdisks init scripts if it detects options it doesn't
recognize? Or could it be easily modified to always use the
initscripts until the built in replacement is mature enough to replace
it?

I'm assuming this should be taken with a mountain of salt, but
http://www.freedesktop.org/wiki/Software/systemd/ claims, "systemd
supports SysV and LSB init scripts and works as a replacement for
sysvinit".


Ivan




More information about the Pkg-systemd-maintainers mailing list