Bug 1249725
Summary: | error running non-shared postrotate script for /var/log/radius/radius.log of '/var/log/radius/radius.log ' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Robert Scheck <redhat-bugzilla> | ||||
Component: | freeradius | Assignee: | Nikolai Kondrashov <nikolai.kondrashov> | ||||
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.7 | CC: | cybermacwy, dpal, ebenes, glamb, mkosek, pkis, robert.scheck, santony | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1365226 (view as bug list) | Environment: | |||||
Last Closed: | 2016-08-08 16:40:24 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: | |||||||
Bug Blocks: | 1269194, 1365226 | ||||||
Attachments: |
|
Description
Robert Scheck
2015-08-03 16:05:31 UTC
Created attachment 1058796 [details]
Patch to avoid the failure
Even this patch is not really great it uses the same common style and way that
"grep -C 2 postrotate /etc/logrotate.d/*" shows (Apache, BIND, rsyslogd, ...).
Cross-filed case 01486583 on the Red Hat customer portal. Please note that this issue usually happens if freeradius is started or stopped by a pacemaker setup where the configuration and the logs do not reside on a shared filesystem. So if freeradius was running and gets then stopped (e.g. due to a takeover), the log file is indeed not empty, the issue above happens. We're going to address this issue in RHEL7 eventually. Nikolai, did this get addressed ? If it has, I'm just curious what the fix was.. I'm having troubles finding any further information. Hi David. Unfortunately, this is only fixed in RHEL7, but systemd in RHEL7 has a bug, which prevents the fix from working. See Bug 1365226 and Bug 1191920. Sorry for the mess. Not a problem, thanks for the links.. those and the patch above at least give me ideas for a work around! |