Skip to content

dracut requires libpam-systemd / how do you install systemd? #233

@adrelanos

Description

@adrelanos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions