Anonymous | Login | 2024-12-21 23:37 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011311 | ClearOS | app-radius - RADIUS Server | public | 2016-12-02 13:38 | 2019-06-13 03:35 | ||||
Reporter | NickH | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.2.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011311: Radius logrotate script fails if radius is not running | ||||||||
Description | Ir radius is not running you get the following logrotate error from anacron: Redirecting to /bin/systemctl reload radiusd.service Job for radiusd.service invalid. error: error running non-shared postrotate script for /var/log/radius/radius.log of '/var/log/radius/radius.log This is because the logrotate configlet does a "/sbin/service radiusd reload" which is invalid if radiusd is not running. Really it needs to detect if radiusd is running before doing a reload. A condrestart should be avoided as this stops and starts the app rather than reload the config in a running app. If that cannot be achieved, consider using the copytruncate function in the logrotate configlet which would avoid needing to reload radiusd - although it does have its own attendant issues. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0004211) user2 2016-12-05 15:55 |
This should be reported upstream. There's a related issue here: https://bugzilla.redhat.com/show_bug.cgi?id=1187904 [^] |
(0004241) NickH (developer) 2016-12-06 12:16 |
Downloading the latest package from github shows that the logrotate script was changed in 3.0.7 to use copytruncate (/doc/ChangeLog). I guess we have to wait for upstream to catch up. |
(0012191) NickH (developer) 2019-06-13 03:35 |
Fixed by upstream release |
Issue History | |||
Date Modified | Username | Field | Change |
2016-12-02 13:38 | NickH | New Issue | |
2016-12-05 15:52 | user2 | Status | new => confirmed |
2016-12-05 15:55 | user2 | Note Added: 0004211 | |
2016-12-06 12:16 | NickH | Note Added: 0004241 | |
2019-06-13 03:35 | NickH | Note Added: 0012191 | |
2019-06-13 03:35 | NickH | Status | confirmed => closed |
2019-06-13 03:35 | NickH | Resolution | open => fixed |