Bug 1288429 - /etc/tmpfiles.d/nss-pam-ldapd.conf shipped when /etc/tmpfiles.d is reserved for the local administrator
/etc/tmpfiles.d/nss-pam-ldapd.conf shipped when /etc/tmpfiles.d is reserved f...
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nss-pam-ldapd (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jakub Hrozek
Martin Zelený
: 1180983 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2015-12-04 02:56 EST by Jan Pazdziora
Modified: 2018-04-10 13:25 EDT (History)
7 users (show)

See Also:
Fixed In Version: nss-pam-ldapd-0.8.13-14.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2018-04-10 13:24:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0935 None None None 2018-04-10 13:25 EDT

  None (edit)
Description Jan Pazdziora 2015-12-04 02:56:15 EST
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):


How reproducible:


Steps to Reproduce:
1. yum install -y nss-pam-ldapd
2. rpm -qf /etc/tmpfiles.d/nss-pam-ldapd.conf

Actual results:


Expected results:

error: file /etc/tmpfiles.d/nss-pam-ldapd.conf: No such file or directory

Additional info:

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.
Comment 1 Jakub Hrozek 2015-12-04 03:28:09 EST
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?
Comment 2 Jan Pazdziora 2015-12-04 03:31:40 EST
It's not a blocker -- I've workarounded it in Dockerfile.
Comment 3 Jakub Hrozek 2016-01-28 11:27:31 EST
*** Bug 1180983 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Hrozek 2016-02-08 23:54:01 EST
We do not plan on updating nss-pam-ldapd in 7.3 after all.
Comment 14 errata-xmlrpc 2018-04-10 13:24:59 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.