[please always CC the bug report on replies] Am 18.05.2021 um 15:58 schrieb UN-pi:
This was the original file: --------------------------------------- #!/bin/shif [ -d /run/systemd/system ]; then systemctl kill -s HUP rsyslog.service else invoke-rc.d rsyslog rotate > /dev/null fi ------------------------------------------ I commented out the lines with # and added a memo for me for UNDO reasons. ----------------------------------------- #!/bin/sh #based on #https://askubuntu.com/questions/695999/var-log-syslog-not-rotating #if [ -d /run/systemd/system ]; then # systemctl kill -s HUP rsyslog.service #else # invoke-rc.d rsyslog rotate > /dev/null #fi if [ -d /run/systemd/system ]; then systemctl kill -s HUP --kill-who=main rsyslog.service else invoke-rc.d rsyslog rotate > /dev/null fi --------------- So I added : --kill-who=main --------------
Ok, thanks for the additional information. I don't see how this is going to fix your issue though. Typically, rsyslog only has a single process, so using main or all shouldn't really make any difference.
If you run "systemctl status rsyslog.service", does it show more then one process? Can you paste the output please.
OpenPGP_signature
Description: OpenPGP digital signature