ClearFoundation Tracker - ClearOS
View Issue Details
0017941ClearOSlogrotatepublic2017-11-21 14:212021-11-10 08:41
NickH 
NickH 
normalfeaturealways
closedsuspended 
7.4.0 
 
0017941: Stop rotating the boot.log if empty
Sometime in ClearOS7 a logrotate configlet, /etc/logrotate.d/bootlog, was introduced or changed so that it rotates weekly whatever happens. This means after about 9 rotations, if you have not rebooted, the boot log disappears and you are just left with 9 zero byte files. This is a useful diagnostic log and it would be better to keep at least the last log. If the key word "notifempty" were added to the configlet, then the logs would not rotate until there was something in /var/log/boot.log

In ClearOS6 the configlet does not even exist.

I've put this as a logrotate issue, but the configlet comes from "plymouth" for which there is not a category.
No tags attached.
Issue History
2017-11-21 14:21NickHNew Issue
2017-11-21 19:19user2Statusnew => confirmed
2021-11-10 08:41NickHNote Added: 0016161
2021-11-10 08:41NickHStatusconfirmed => closed
2021-11-10 08:41NickHAssigned To => NickH
2021-11-10 08:41NickHResolutionopen => suspended

Notes
(0016161)
NickH   
2021-11-10 08:41   
Migrated to https://gitlab.com/clearos/clearfoundation/app-base/-/issues/63 [^]