Created by Michael Jeanson on 2010-12-08 and last modified on 2010-12-08
Get this branch:
bzr branch lp:~mjeanson/ubuntu/lucid/rsyslog/bug570103
Only Michael Jeanson can upload to this branch. If you are Michael Jeanson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Michael Jeanson

Recent revisions

28. By Michael Jeanson on 2010-12-08

Fix (LP: #570103)

27. By Scott James Remnant (Canonical) on 2010-02-24

* debian/patches/deroot.patch:
  - After opening /proc/kmsg, set the effective user to an unprivileged
    one and attempt a zero-byte read from the file. If this succeeds, we
    know that this will work de-rooted; if this fails, we don't enable
    kernel-message logging. LP: #523610.

26. By Scott James Remnant (Canonical) on 2010-02-17

* debian/rules:
  - Forgot to commit this change as part of previous upload to not
    call dh_installinit

25. By Scott James Remnant (Canonical) on 2010-02-17

* debian/rsyslog.rsyslog-kmsg.upstart:
  - Drop this additional job; kernel changes have meant that rsyslog
    may read from /proc/kmsg directly after dropping privileges.
    LP: #517773
* debian/rsyslog.preinst:
  - Remove on upgrade
* debian/rsyslog.conf:
  - Restore to reading from /proc/kmsg

24. By Michael Vogt on 2009-10-23

* debian/rsyslog.conf:
  - enable $RepeatedMsgReduction to avoid bloating the syslog
    file (LP: #453444)

23. By Michael Terry on 2009-09-22

Upstart fixups; LP: #430220
* debian/rsyslog.logrotate: Use start command to restart rsyslog
* debian/rsyslog.rsyslog-kmsg.upstart: Restore bs=1 parameter to dd
* debian/rsyslog.upstart: Move kmsg fifo creation/deletion to kmsg
  upstart script.

22. By Michael Terry on 2009-09-21

* debian/rsyslog.postrm: Don't delete syslog user
* debian/rsyslog.postinst: Stop sysklogd from deleting the syslog user
  when removed. LP: #401056

21. By Scott James Remnant (Canonical) on 2009-09-15

FFE LP: #427356.

* Replace init script with multiple Upstart jobs.
* debian/control:
  - Bump build-dependency on debhelper for Upstart-aware dh_installinit

20. By Michael Terry on 2009-08-31

* Fix log file ownership issues when HUPing an unprivileged rsyslog
  LP: #407862
  - debian/rsyslog.conf: Set $FileOwner to syslog
  - debian/patches/deroot.patch: Always chown output files, since we may
    not be able to read them on a HUP otherwise.

19. By Michael Terry on 2009-08-14

Merge from debian unstable

Remaining changes:
- Run as rsyslog:rsyslog
- Allow reading /proc/kmsg when non-root
- Cleanly upgrade from sysklogd

debian/patches/deroot.patch: Don't allow using the klogctl function to
read klog messages. Rather, allow /proc/kmsg or nothing, since we have
special support for reading /proc/kmsg while unprivileged.

[ Neil Wilson ]
debian/rsyslog.init: Set blocksize for dd (LP: #407862) and restore
reload init argument to original lightweight reload

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.