[Bug 388608] Re: Don't run as root
Michael Terry
michael.terry at canonical.com
Thu Jun 18 14:56:57 UTC 2009
OK, better version that switches to syslog user earlier to avoid issue
with the kmsg pipe not giving us any data if we read from it before
switching uid/gid.
So things this patch does:
1) Backports the 'DropPriv' config values from upstream
2) Copies the dd-shovels-proc-kmsg-to-readable-location logic from sysklogd and adds a config value to change klog location
3) Handles upgrade from sysklogd by doing the following:
A) Splits rsyslog.conf into two parts: config stuff and rules
B) If we're upgrading to this version or later and /etc/syslog.conf exists *and* is modified by user, then copy it to /etc/rsyslog.d/default.conf
C) Merge our default rules into /etc/rsyslog.d/default.conf using ucf
** Attachment added: "rsyslog.debdiff"
http://launchpadlibrarian.net/28066552/rsyslog.debdiff
** Changed in: rsyslog (Ubuntu)
Status: In Progress => Confirmed
** Changed in: rsyslog (Ubuntu)
Assignee: Michael Terry (mterry) => (unassigned)
--
Don't run as root
https://bugs.launchpad.net/bugs/388608
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list