ClearFoundation Tracker - ClearOS | |||||
View Issue Details | |||||
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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|