:: [devuan-dev] bug#948: dracut-instal…
Top Page
Delete this message
Reply to this message
Author: Mark Hindley
Date:  
To: Jeffrey Cliff, 948
Subject: [devuan-dev] bug#948: dracut-install: dracut seems to have added dependency to systemd
Control: reassign -1 src:elogind
Control: retitle -1 libelogind-compat does not satisfy libsystemd0 API 257 required by dracut-install
Control: affects -1 dracut-install
Control: forwarded -1 https://github.com/elogind/elogind/issues/336
Control: tags -1 upstream

Jeffrey,

Thanks for this. The issue was raised on DNG, but it is good to have a formal
bug as well.

The root cause is that elogind upstream is only on version 255[1], but
dracut-install not has a versioned libsystemd0 dependency requiring 257 which
libelogind-compat cannnot satisfy.

We have a few options

 1) wait/encourage/hope that elogind upstream catches up. This is a big and
    on-going issue. Systemd is already at 260 and the maintenance load of merging
    systemd into elogind is significant. I am not sure it will be sustainable in
    the long term.


 2) adopt my Debian patch[2] to use libsystemd0 compatible cgroups. This would
    do away with libelogind*, but we wouldn't have to chase the libsystemd0 API
    version any more. In Debian, users are OK with that. In Devuan, that may be
    less true.


 3) A targeted solution that doesn't address the root cause is to try
    tiny-initramfs. If you have a simple setup, that may be sufficient. But do read
    the docs carefully before you try and have an alternative boot mechanism in
    place. I tested successfully  with a root UUID=.... in /etc/fstab.


Do you have thoughts on any of these?

Mark

[1]  There is a 257 branch, but I don't think it is complete and it is certainly
     not tagged or released


[2] https://git.devuan.org/devuan/elogind/src/branch/debian/debian/patches/Use-libsystemd0-compatible-cgroups-layout.patch