Page MenuHomeVyOS Platform

rsyslog: 'del system syslog' doesn't stop rsyslog
Closed, WontfixPublicBUG


pidfile doesn't exist but it's started via systemd


Difficulty level
Normal (likely a few hours)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

hagbard claimed this task.Nov 29 2019, 4:20 PM
hagbard created this task.
hagbard changed the task status from Open to In progress.Nov 29 2019, 5:15 PM
hagbard triaged this task as Normal priority.
hagbard changed Difficulty level from Easy (less than an hour) to Normal (likely a few hours).

After looking into this, the problem seems bigger than originally thought. If the syslog config is being removed from the config the script is called and syslog stopped. However if the system is rebooted the init system starts syslog and the config is not calling the script since there is no 'system syslog' node in the config. systemctl disable rsyslog doesn't work some type of depend unit is starting it during reboot.

pasik added a subscriber: pasik.Nov 30 2019, 10:26 AM
hagbard closed this task as Wontfix.Dec 12 2019, 5:11 PM

syslog is required by multiple targets and logs journald messages, stopping it works at the first commit, but the dependencies will start is automatically after reboot. the vyos config is being removed from rsyslog.d but the default rsyslog.conf will be used, which logs daemon, emerg (to console) and auth failures and would have to be changed in vyos-build if required.

c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Dec 28 2019, 7:02 PM