Don't run as root
Bug #388608 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rsyslog |
Confirmed
|
Wishlist
|
|||
rsyslog (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rsyslog
Right now rsyslog always runs as root. Ideally it wouldn't.
In particular, three things need to happen:
1) Bug 250827 needs to be fixed, where the package creates the syslog user.
2) We need to backport the upstream support for dropping privileges or update to 4.1.1 or later.
3) We need to do something about reading /proc/kmsg. sysklogd handled it by starting a dd process that shoveled the data to a syslog-readable location. We may need a similar trick.
Related branches
Changed in rsyslog: | |
status: | Unknown → Confirmed |
Changed in rsyslog: | |
status: | Confirmed → Fix Released |
Changed in rsyslog: | |
status: | Fix Released → Unknown |
Changed in rsyslog: | |
status: | Unknown → Confirmed |
Changed in rsyslog: | |
importance: | Unknown → Wishlist |
To post a comment you must log in.
Here's an initial debdiff that does this as well as cleanly upgrades from sysklogd to rsyslog. There's still an issue with kern.log that I'm looking into. This is not done yet, this is just an alpha preview. :)