Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionPaolo Di Napoli
2019-12-12 07:03:46 UTC
Description of problem:
When installing the package ndctl.x86_64 0:64.1-2.el7 the generated configuration file /etc/dracut.conf.d/nvdimm-security.conf is not compliant with dracut.conf requirements.
According to man dracut.conf the directive add_drivers should contain a space separated list of kernel modules including spaces at the beginning and at the end of the list:
add_drivers+=" <kernel modules> "
Specify a space-separated list of kernel modules to add to the
initramfs. The kernel modules have to be specified without the
".ko" suffix.
The actual /etc/dracut.conf.d/nvdimm-security.conf content is:
# Make sure libnvdimm is loaded and ndctl is available in the initramfs
install_items+="/bin/ndctl"
add_drivers+="libnvdimm"
so no spaces at the beginning and at the end of the list.
This can cause problems as mentioned in below KCS
https://access.redhat.com/solutions/4386041
Version-Release number of selected component (if applicable):
ndctl.x86_64 0:64.1-2.el7
How reproducible:
always
Steps to Reproduce:
1. yum install ndctl
2. cat cat /etc/dracut.conf.d/nvdimm-security.conf
3.
Actual results:
# Make sure libnvdimm is loaded and ndctl is available in the initramfs
install_items+="/bin/ndctl"
add_drivers+="libnvdimm"
Expected results:
# Make sure libnvdimm is loaded and ndctl is available in the initramfs
install_items+="/bin/ndctl"
add_drivers+=" libnvdimm "
Additional info:
This issue has been fixed on ndctl-65-5.el7.x86_64
[root@rdma-perf-00 ~]$ cat /etc/dracut.conf.d/nvdimm-security.conf
# Make sure libnvdimm is loaded and ndctl is available in the initramfs
install_items+="/bin/ndctl"
add_drivers+=" libnvdimm "
[root@rdma-perf-00 ~]$ rpm -qa ndctl
ndctl-65-5.el7.x86_64
You fixed add_drivers, but not install_items:
dracut-install: ERROR: installing '/etc/lvm/lvmlocal.conf/bin/ndctl'
/usr/lib/dracut/dracut-install -D /var/tmp/dracut.gU2jur/initramfs -a /usr/lib/udev/phys-port-name-gen /usr/lib/udev/rules.d/76-phys-port-name.rules /etc/lvm/lvmlocal.conf/bin/ndctl
# Make sure libnvdimm is loaded and ndctl is available in the initramfs
install_items+="/bin/ndctl"
add_drivers+=" libnvdimm "
ndctl-65-5.el7.x86_64
Description of problem: When installing the package ndctl.x86_64 0:64.1-2.el7 the generated configuration file /etc/dracut.conf.d/nvdimm-security.conf is not compliant with dracut.conf requirements. According to man dracut.conf the directive add_drivers should contain a space separated list of kernel modules including spaces at the beginning and at the end of the list: add_drivers+=" <kernel modules> " Specify a space-separated list of kernel modules to add to the initramfs. The kernel modules have to be specified without the ".ko" suffix. The actual /etc/dracut.conf.d/nvdimm-security.conf content is: # Make sure libnvdimm is loaded and ndctl is available in the initramfs install_items+="/bin/ndctl" add_drivers+="libnvdimm" so no spaces at the beginning and at the end of the list. This can cause problems as mentioned in below KCS https://access.redhat.com/solutions/4386041 Version-Release number of selected component (if applicable): ndctl.x86_64 0:64.1-2.el7 How reproducible: always Steps to Reproduce: 1. yum install ndctl 2. cat cat /etc/dracut.conf.d/nvdimm-security.conf 3. Actual results: # Make sure libnvdimm is loaded and ndctl is available in the initramfs install_items+="/bin/ndctl" add_drivers+="libnvdimm" Expected results: # Make sure libnvdimm is loaded and ndctl is available in the initramfs install_items+="/bin/ndctl" add_drivers+=" libnvdimm " Additional info: