lp://staging/~mjeanson/ubuntu/lucid/rsyslog/bug570103

Created by Michael Jeanson and last modified
Get this branch:
bzr branch lp://staging/~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

Owner:
Michael Jeanson
Status:
Development

Recent revisions

28. By Michael Jeanson

Fix (LP: #570103)

27. By Scott James Remnant (Canonical)

* 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)

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

25. By Scott James Remnant (Canonical)

* 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

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

23. By Michael Terry

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

* 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)

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

* 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

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:
lp://staging/ubuntu/natty/rsyslog
This branch contains Public information 
Everyone can see this information.

Subscribers