Bug 452062 - nss package should own /etc/prelink.conf.d folder
nss package should own /etc/prelink.conf.d folder
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: nss (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Kai Engert (:kaie)
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-18 22:19 EDT by petrosyan
Modified: 2008-06-24 16:53 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-24 16:53:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description petrosyan 2008-06-18 22:19:25 EDT
Description of problem:
nss package should own /etc/prelink.conf.d folder

Version-Release number of selected component (if applicable):
nss-3.12.0.3-2.fc10.x86_64

Steps to Reproduce:
1. rpm -qf /etc/prelink.conf.d/nss-prelink.conf
2. rpm -qf /etc/prelink.conf.d

Actual results:
$ rpm -qf /etc/prelink.conf.d/nss-prelink.conf 
nss-3.12.0.3-2.fc10.x86_64

$ rpm -qf /etc/prelink.conf.d
file /etc/prelink.conf.d is not owned by any package
Comment 1 Kai Engert (:kaie) 2008-06-19 07:36:48 EDT
Shouldn't the /etc/prelink.conf.d directory rather be owned by the prelink package?
Comment 2 petrosyan 2008-06-20 11:46:37 EDT
According to Fedora packaging guidelines "your package should own all of the
directories it creates except those owned by packages which your package depends
on".
http://fedoraproject.org/wiki/PackagingDrafts/DirectoryOwnershipImprovement

nss does not depend on prelink package. If prelink is uninstalled, then nss
should still own all directories that it uses.
Comment 3 Kai Engert (:kaie) 2008-06-24 14:12:17 EDT
Thanks for the clarification
Comment 4 Kai Engert (:kaie) 2008-06-24 14:22:06 EDT
@@ -297,6 +297,7 @@
 %config(noreplace) %{_sysconfdir}/pki/nssdb/cert8.db
 %config(noreplace) %{_sysconfdir}/pki/nssdb/key3.db
 %config(noreplace) %{_sysconfdir}/pki/nssdb/secmod.db
+%dir %{_sysconfdir}/prelink.conf.d
 %{_sysconfdir}/prelink.conf.d/nss-prelink.conf

 %files tools
Comment 5 Kai Engert (:kaie) 2008-06-24 16:53:59 EDT
fixed in rawhide nss-3.12.0.3-3.fc10

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