Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dracut module mount hook breaks if initramfs is built without systemd #16802

Open
LunarLambda opened this issue Nov 22, 2024 · 0 comments
Open
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@LunarLambda
Copy link

LunarLambda commented Nov 22, 2024

System information

Type Version/Name
Distribution Name Arch Linux
Distribution Version rolling
Kernel Version 6.6.62-lts
Architecture x86_64
OpenZFS Version 2.2.6

Describe the problem you're observing

When building a initramfs without systemd using dracut, the inclusion of the zfs module causes udev to break, endlessly printing System was booted without systemd as PID 1; can't operate..

Describe how to reproduce the problem

uefi="yes"
hostonly="yes"
machine_id="no"
dracutmodules="base bash rootfs-block i18n kernel-modules zfs shutdown"
kernel_cmdline="rd.break=pre-pivot"

the rootfs should be on a zpool.

Changing the rd.break to pre-mount does not trigger the messages yet, so it seems that the stages from cmdline all the way through initqueue are working, so it does not appear to be an issue with udevd/udevadm itself.

image

@LunarLambda LunarLambda added the Type: Defect Incorrect behavior (e.g. crash, hang) label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

1 participant