Red Hat Bugzilla – Bug 1288429
/etc/tmpfiles.d/nss-pam-ldapd.conf shipped when /etc/tmpfiles.d is reserved for the local administrator
Last modified: 2018-04-10 13:25:34 EDT
Description of problem:
nss-pam-ldapd ships /etc/tmpfiles.d/nss-pam-ldapd.conf.
Man page tmpfiles.d(5) says:
Files in /etc/tmpfiles.d override files with the same name in
/usr/lib/tmpfiles.d and /run/tmpfiles.d. Files in /run/tmpfiles.d
override files with the same name in /usr/lib/tmpfiles.d. Packages
should install their configuration files in /usr/lib/tmpfiles.d. Files
in /etc/tmpfiles.d are reserved for the local administrator, who may
use this logic to override the configuration files installed by vendor
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install -y nss-pam-ldapd
2. rpm -qf /etc/tmpfiles.d/nss-pam-ldapd.conf
error: file /etc/tmpfiles.d/nss-pam-ldapd.conf: No such file or directory
Shipping package content for /etc/tmpfiles.d complicates containerization when it's important to distinguish software and configuration/data, and when rpm upgrade mechanism for config files is not available because no rpm upgrade happen there.
So far we don't have any other nss-pam-ldapd bug on the radar for 7.3. Can you please clarify how important this would be to get fix so we know whether to add nss-pam-ldapd for consideration in 7.3?
It's not a blocker -- I've workarounded it in Dockerfile.
*** Bug 1180983 has been marked as a duplicate of this bug. ***
We do not plan on updating nss-pam-ldapd in 7.3 after all.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.