Page MenuHomePhabricator

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

Description

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

Details

Difficulty level
Normal (likely a few hours)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

hagbard claimed this task.Fri, Nov 29, 4:20 PM
hagbard created this task.
hagbard changed the task status from Open to In progress.Fri, Nov 29, 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 syslog.py 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.Sat, Nov 30, 10:26 AM
hagbard closed this task as Wontfix.Thu, Dec 12, 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.