-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
It seems grml-debootstrap leaves systemd installation to "pure chance"? The source code, default packages does not include systemd.
Probably the packages file has some package which installs a dependency that pulls libpam-systemd.
Without libpam-systemd grml-debootstrap will fail if export INITRD_GENERATOR=dracut is set.
dracut-install: ERROR: installing 'poweroff' dracut-install: ERROR: installing 'reboot' dracut-install: ERROR: installing 'halt' dracut: FAILED: /usr/lib/dracut/dracut-install -D /tmp/user/0/dracut.Yir3ea/initramfs -a umount poweroff reboot halt losetup stat sleep timeout + dracut --no-hostonly --kver 6.1.0-13-amd64 --fstab --add-fstab /etc/fstab --force --reproducible
The system will not be bootable.
I don't know if that is a bug in dracut or if it can at all work without systemd.
Should systemd (or any init system) installation be declared explicit rather than implicit in packages file?
I am using a shorter packages file and it took me a while to figure out why dracut fails.