Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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