dracut
dracut copied to clipboard
"rd.*" Is Ignored When "debug" Or "SYSTEMD_LOG_LEVEL=debug" Is Used As Well
Describe the bug
rd.debug and rd.break=<...> is ignored when debug or SYSTEMD_LOG_LEVEL=debug are also used.
Distribution used Arch Linux
Dracut version
dracut 059
Init system Systemd
To Reproduce
Create a kernel and initramfs using dracut and run in qemu using -kernel and -initrd and -append "console=ttyAMA0 rd.debug=1 rd.break=cmdline nokaslr debug loglevel=8 dyndbg SYSTEMD_LOG_LEVEL=debug SYSTEMD_LOG_LOCATION=true SYSTEMD_LOG_TARGET=console panic_print=127 systemd.crash"
Expected behavior Don't get ignored
Additional context
I am working on creating a workable tinyconfig kernel and got stuck on something and looked into why neither rd.break and rd.debug weren't working.
I played around with the cmdline arguments and came to the conclusion the culprits are those 2 debug arguments previously mentioned.
When I removed them, the rd.* stuff works.