rsyslog does not create a system user like sysklogd
Bug #250827 reported by
x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsyslog (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rsyslog
I have rebuild rsyslog from source on ubuntu hardy and used it as replacement
for sysklogd since debian switched to it as default.
I now came across a difference between sysklogd and rsyslog. The former does
create a system user which owns the logfiles the later not.
That resulted in logfiles been owned by "dnsmasq" here because:
1. i purged sysklogd, the system user got removed.
2. installed rsyslog, not creating a user.
3. installed dnsmasq which created a new system user with the first free uid
which was 101.
I think to be a fully drop in replacement for sysklogd, rsyslog has to create
the same system user as sysklogd.
Related branches
To post a comment you must log in.
This bug was fixed in the package rsyslog - 4.2.0-1ubuntu1
---------------
rsyslog (4.2.0-1ubuntu1) karmic; urgency=low
* Run as rsyslog:rsyslog (LP: #250827, LP: #388608) rsyslog. postinst: Create syslog user rsyslog. postrm: Delete syslog user on purge rsyslog. conf: Use DropPriv config fields rsyslog. init: Spawn a dd instance that shovels the /proc/kmsg patches/ deroot. patch: Support a KLogPath config field rsyslog. conf: Use KLogPath field to point to dd pipe default. conf, debian/ rsyslog. conf: rsyslog. install: Install it in /usr/share/rsyslog rsyslog. postinst: If present, copy /etc/syslog.conf into etc/rsyslog. d/default. conf. Then merge our own default.conf
- debian/control: Depend on adduser
- debian/
- debian/
- debian/
* Allow reading /proc/kmsg when non-root
- debian/
data to a pipe that rsyslog can read (based on Martin Pitt's similar
change to sysklogd).
- debian/
to change where the klog plugin looks and only start input modules
after we drop privileges, as reading when root interferes with
future reads as syslog.
- debian/
* Cleanly upgrade from sysklogd
- debian/
Break out the default rules into their own config file
- debian/
- debian/
/
-- Michael Terry <email address hidden> Mon, 29 Jun 2009 08:37:43 -0400