remote syslog in feisty not working - syslogd running as root
Bug #117309 reported by
Caspar Clemens Mierau
This bug report is a duplicate of:
Bug #103232: sysklogd init-script arguments [patch inside].
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysklogd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sysklogd
I think this is not a duplicate of bug #26986.
Syslog on feisty does not activate its listening udp port when using "-" in /etc/init.
------------
SYSLOGD="-u syslog -r"
------------
I tried different orders (-r -u and -ru ) due to bug #26986 with no success. lsof and netstat don't show the open udp port after a restart of syslogd.
Changed in sysklogd: | |
assignee: | nobody → damokles |
status: | Unconfirmed → Confirmed |
assignee: | damokles → nobody |
To post a comment you must log in.
The reason is, that in /etc/init. d/sysklogd /etc/default/ syslogd is sourced after the definition of SYSLOGD, overwriting it. So /etc/default/ syslogd is the place where the "-r" belongs.
But apart from that, this is a real security bug, because it causes to start syslogd as root and not as user syslog as expected.
The "-u syslog" should be moved to /etc/default/ syslogd and the comment in /etc/init. d/sysklogd should refer to that.