70-uaccess.rules seems to require /lib64/elogind/elogind-uaccess-command
Describe the bug
initramfs tries to execute /lib64/elogind/elogind-uaccess-command multiple times. It seems 70-uaccess.rules requires /lib64/elogind/elogind-uaccess-command
Adding
install_items+=" /lib64/elogind/elogind-uaccess-command "
to /etc/dracut.conf works around the issue.
Distribution used
Gentoo Linux
Dracut version
057
Init system
OpenRC
Can you post a log / reproducer?
How can I do that?
@amano-kenji Can you post your 70-uaccess.rules ?
Some references
- https://github.com/systemd/systemd/blob/main/rules.d/70-uaccess.rules.in
- https://github.com/elogind/elogind/blob/main/src/login/70-uaccess.rules.in
It seems 70-uaccess.rules requires /lib64/elogind/elogind-uaccess-command
@amano-kenji Thanks for the file, but this file does not seem to have "elogin" mentioned in it.
Yet, reality slapped me with the error message that /lib64/elogind/elogind-uaccess-command didn't exist in initramfs.
It seems 70-uaccess.rules causes elogind to seek /lib64/elogind/elogind-uaccess-command.
Looks like a downstream issue hence closing
I think 70-uaccess.rules is designed to trigger execution of /lib64/elogind/elogind-uaccess-command. This isn't an issue, but a design decision by logind.