View Issue Details

IDProjectCategoryView StatusLast Update
0017874CentOS-8rsyslogpublic2020-11-19 18:15
Reporterocs 
PrioritynormalSeveritytrivialReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Version8
Product Version8.2.2004 
Target VersionFixed in Version 
Summary0017874: a line in rsyslog.service prevents record messages at shutdown
Descriptionwhen a reboot or halt is executed no trace is left in /var/log/messages.
none of the daemons that are shutting down leave any message in the log file.

/usr/lib/systemd/system/rsyslog.service
Steps To Reproducelogger SHUTDOWN_AFTER_THIS
tail /var/log/messages
#check that you can see "SHOOTDOWN AFTER THIS" as the last line
reboot

grep -A5 SHUTDOWN_AFTER_THIS /var/log/messages
#you should see the line "kernel: Command line: BOOT_IMAGE=" ... indicating the beguining of the boot, right after the manually loged message "SHUTDOWN_AFTER_THIS" so no daemon has recorded anything in "/var/log/messages" during the shutdown.
# this is not happening in CentOS7
Additional Informationif the line 19 from the file " /usr/lib/systemd/system/rsyslog.service" :
LimitNOFILE=16384
is commented ("#" at the beginning of the line)
and
systemctl daemon-reload
is executed.
then the daemons now leave messages in the /var/log/messages file when the reboot command is executed.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-11-19 18:15 ocs New Issue