#1239 Pki-ca and pki-server are installing files under /etc/tmpfiles.d/
Closed: Fixed Opened by mweetman.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1180985

Description of problem:
Package is installing files under /etc/tmpfiles.d/, according to 'man 5
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 packages"
Version-Release number of selected component (if applicable):
pki-ca-0:10.0.5-3.el7.noarch
pki-server-0:10.0.5-3.el7.noarch
How reproducible:
repoquery --whatprovides "/etc/tmpfiles.d/*" | grep ^pki
Actual results:
pki-ca-0:10.0.5-3.el7.noarch
pki-server-0:10.0.5-3.el7.noarch
Expected results:
Should return nothing
Additional info:

Per discussions in the Dogtag 10.3 Triage meeting of 01/06/2016: priority low

Examining the source repo, it is my belief that the following check-ins removed all PKI utilization of the '/etc/tmpfiles.d' directory back in the Dogtag 10.1 timeframe (circa Fedora 20):

commit a42e510e5b916d5d8dbdc9b9a59cf80c90c197cd
Author: Ade Lee <alee@redhat.com>
Date:   Thu Oct 31 13:40:07 2013 -0400
    Fixed references to /var/run and /var/lock in spec files for RA and TPS.
. . .
commit 878a51ab47f07d28d79f459f1db400488a5a4a48
Author: Ade Lee <alee@redhat.com>
Date:   Fri Oct 4 20:17:23 2013 -0400
    Additional fix to remove /var/run and /var/lock
commit b568dafb661a5f713cbce625bb0afcacccffe902
Author: Ade Lee <alee@redhat.com>
Date:   Fri Oct 4 15:04:45 2013 -0400
    Remove run and lock files from pki-core for f20
    These files are no longer needed by pki-core as we are usign the
    tomcat unit files, and no longer need to deliver these.  Plus,
    they wer breaking the TPS build.

NOTE:
Since this ticket was originally cloned from a Red Hat Bugzilla Bug,
it is my belief that 'pki-ca-10.0.5-3.el7.noarch' and
'pki-server-10.0.5-3.el7.noarch' may have existed in the
RHEL 7.0 timeframe, since 'Bugzilla Bug #1108303 -
Rebase pki-core to 10.1' for RHEL 7.1 would have addressed this issue.

Metadata Update from @mweetman:
- Issue assigned to mharmsen
- Issue set to the milestone: 10.3.0

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1801

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata