Bug 1164264

Summary: /etc/logrotate.d/named should use /usr/bin/systemctl instead of /sbin/systemctl
Product: Red Hat Enterprise Linux 7 Reporter: Tomáš Hozza <thozza>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: antonin.vecera, extras-qa, jscotka, psimerda, psklenar, thozza, vonsch
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: bind-9.9.4-19.el7 Doc Type: Bug Fix
Doc Text:
Cause: Previously, bind configuration for logrotate used wrong path to systemctl command. Consequence: As a consequence, named was not reloaded after the log was rotated. Fix: Path to systemctl command has been fixed in bind configuration for logrotate. Result: As a result, named is now successfully reloaded after the log is rotated.
Story Points: ---
Clone Of: 1148360 Environment:
Last Closed: 2015-11-19 08:06:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1148360    
Bug Blocks:    

Description Tomáš Hozza 2014-11-14 13:58:19 UTC
+++ This bug was initially created as a clone of Bug #1148360 +++

Description of problem:

  Wrong path to 'systemctl' binary in file '/etc/logrotate.d/named'.

Actual results:

  /sbin/systemctl

Expected results:

  /usr/bin/systemctl

Additional info:

--- Additional comment from Tomas Hozza on 2014-11-14 11:29:15 CET ---

Thank you for your report.

--- Additional comment from Fedora Update System on 2014-11-14 14:47:07 CET ---

bind-9.9.6-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/bind-9.9.6-4.fc21

--- Additional comment from Fedora Update System on 2014-11-14 14:47:55 CET ---

bind-9.9.4-16.P2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/bind-9.9.4-16.P2.fc20

Comment 5 errata-xmlrpc 2015-11-19 08:06:17 UTC
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/RHBA-2015-2222.html