Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704934 - sys-apps/nvme-cli - incorrect path in installed dracut.conf.d/70-nvmf-autoconnect.conf - dracut-install: ERROR: installing '/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules'
Summary: sys-apps/nvme-cli - incorrect path in installed dracut.conf.d/70-nvmf-autocon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-07 15:21 UTC by David Flogeras
Modified: 2020-01-07 20:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2020-01-07 15:21:12 UTC
When running dracut, I noticed the error:

dracut-install: ERROR: installing '/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.NWYJeL/initramfs -a /usr/lib/udev/rules.d/70-nvmf-autoconnect.rules

The package ncme-cli installs the rule in /lib/udev/rules.d/70-nvmf-autoconnect.rules (note the absence of /usr).  However, the dracut config file it installs specifies it _with_ /usr, causing dracut to complain and skip the file.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-01-07 20:51:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde250e4bd48bc8dce2eb004fbfe2419fd7e297c

commit dde250e4bd48bc8dce2eb004fbfe2419fd7e297c
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-01-07 20:49:14 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-01-07 20:51:15 +0000

    sys-apps/nvme-cli: Fix dracut config
    
    Closes: https://bugs.gentoo.org/704934
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/nvme-cli/{nvme-cli-1.9-r2.ebuild => nvme-cli-1.9-r3.ebuild} | 2 ++
 1 file changed, 2 insertions(+)