SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017941ClearOSlogrotatepublic2017-11-21 14:212021-11-10 08:41
ReporterNickH 
Assigned ToNickH 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version7.4.0 
Target VersionFixed in Version 
Summary0017941: Stop rotating the boot.log if empty
DescriptionSometime 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0016161)
NickH (developer)
2021-11-10 08:41

Migrated to https://gitlab.com/clearos/clearfoundation/app-base/-/issues/63 [^]

- Issue History
Date Modified Username Field Change
2017-11-21 14:21 NickH New Issue
2017-11-21 19:19 user2 Status new => confirmed
2021-11-10 08:41 NickH Note Added: 0016161
2021-11-10 08:41 NickH Status confirmed => closed
2021-11-10 08:41 NickH Assigned To => NickH
2021-11-10 08:41 NickH Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7