Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64660 - [dracut] Searches for networkmanager initrd files in wrong path

Attached to Project: Arch Linux
Opened by Victor Bessonov (Unb0rn) - Tuesday, 26 November 2019, 19:31 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 26 November 2019, 19:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Giancarlo Razzolini (grazzolini)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
When trying to build initrd image with dracut and adding a module network-manager it would fail with an error:

dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.rUz8qq/initramfs /usr/libexec/nm-initrd-generator

Other distros (Fedora, Alpine) include nm-initrd-generator and nm-dhcp-helper in /usr/libexec instead of /usr/lib and it's the dir where dracut searches it.
Looks like it's a NetworkManager's package flaw and those files should be included in /usr/libexec or should I file a bug on dracut module if we're going to do it the other way?

Additional info:
* package version(s)
1.20.8

Steps to reproduce:
- Install dracut
- Add network-manager module to dracut.conf
- Try to build an image dracut --hostonly
This task depends upon

Comment by Victor Bessonov (Unb0rn) - Tuesday, 26 November 2019, 19:32 GMT
Oh, the title didn't apply for some reason. Can someone please change it to something like "wrong location for initrd-related binaries"? Thanks!
Comment by Antonio Rojas (arojas) - Tuesday, 26 November 2019, 19:42 GMT
Arch doesn't use libexec, so it's dracut that needs to be patched
Comment by Victor Bessonov (Unb0rn) - Tuesday, 26 November 2019, 19:55 GMT
Should I create another bug for dracut?
Comment by Giancarlo Razzolini (grazzolini) - Tuesday, 26 November 2019, 20:17 GMT
Probably, yes. Dracut should be looking at the proper place. We shouldn't patch the Network manager package to use libexec.

Loading...