Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1180995 - unbound is installing files under /etc/tmpfiles.d/
unbound is installing files under /etc/tmpfiles.d/
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: unbound (Show other bugs)
7.0
All Linux
unspecified Severity low
: rc
: ---
Assigned To: Tomáš Hozza
qe-baseos-daemons
: EasyFix
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-12 00:54 EST by Morgan Weetman
Modified: 2015-11-19 09:46 EST (History)
8 users (show)

See Also:
Fixed In Version: unbound-1.4.20-20.el7
Doc Type: Bug Fix
Doc Text:
Previously, the unbound package was installing its configuration file for the systemd-tmpfiles utility into the /etc/tmpfiles.d/ directory. As a consequence, changes to unbound made by the administrator in the /etc/tmpfiles.d/ directory would have been overwritten on package reinstallation or update. To fix this bug, the unbound package has been amended to install the configuration file into the /usr/lib/tmpfiles.d/ directory. As a result, the system administrator's configuration in /etc/tmpfiles.d/ is preserved, including any changes, on package reinstallation or update.
Story Points: ---
Clone Of: 1180976
: 1181026 (view as bug list)
Environment:
Last Closed: 2015-11-19 09:46:18 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 RHSA-2015:2455 normal SHIPPED_LIVE Low: unbound security and bug fix update 2015-11-19 06:44:17 EST

  None (edit)
Description Morgan Weetman 2015-01-12 00:54:07 EST
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):
unbound-0:1.4.20-19.el7.x86_64

How reproducible:
repoquery --whatprovides "/etc/tmpfiles.d/*" | grep ^unbound

Actual results:
unbound-0:1.4.20-19.el7.x86_64


Expected results:
Should return nothing

Additional info:
Comment 2 Tomáš Hozza 2015-01-12 03:48:47 EST
Publicizing bug, as there are no sensitive data.
Comment 6 Radka Skvarilova 2015-08-05 08:50:06 EDT
Package unbound-1.4.20-23.el7.x86_64

install the configuration file in /usr/lib/tmpfiles.d/unbound.conf
Comment 8 errata-xmlrpc 2015-11-19 09:46:18 EST
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.

https://rhn.redhat.com/errata/RHSA-2015-2455.html

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