View Issue Details

IDProjectCategoryView StatusLast Update
0017874CentOS-8rsyslogpublic2020-11-19 18:15
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.

Steps To Reproducelogger SHUTDOWN_AFTER_THIS
tail /var/log/messages
#check that you can see "SHOOTDOWN AFTER THIS" as the last line

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" :
is commented ("#" at the beginning of the line)
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.


There are no notes attached to this issue.

Issue History

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