-
Committer:
Bazaar Package Importer
-
Author(s):
Michael Terry
-
Date:
2009-06-29 08:37:43 UTC
-
Revision ID:
james.westby@ubuntu.com-20090629083743-jni3dxxoabiuq34y
Tags: 4.2.0-1ubuntu1
* Run as rsyslog:rsyslog (LP: #250827, LP: #388608)
- debian/control: Depend on adduser
- debian/rsyslog.postinst: Create syslog user
- debian/rsyslog.postrm: Delete syslog user on purge
- debian/rsyslog.conf: Use DropPriv config fields
* Allow reading /proc/kmsg when non-root
- debian/rsyslog.init: Spawn a dd instance that shovels the /proc/kmsg
data to a pipe that rsyslog can read (based on Martin Pitt's similar
change to sysklogd).
- debian/patches/deroot.patch: Support a KLogPath config field
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/rsyslog.conf: Use KLogPath field to point to dd pipe
* Cleanly upgrade from sysklogd
- debian/default.conf, debian/rsyslog.conf:
Break out the default rules into their own config file
- debian/rsyslog.install: Install it in /usr/share/rsyslog
- debian/rsyslog.postinst: If present, copy /etc/syslog.conf into
/etc/rsyslog.d/default.conf. Then merge our own default.conf