Commit 4e04639a authored by Guido Günther's avatar Guido Günther Committed by Michael Stapelberg
Browse files

Add systemd-journal group

Users in this group are allowed to see system messages and messages from
other uses.
parent c4c50e0c
......@@ -10,6 +10,7 @@ systemd (204-6) UNRELEASED; urgency=low
* Make 99-systemd.rules check for /run/systemd/systemd instead of the
ill-named cgroups directory.
* allow group adm read access on /var/log/journal (Closes: #717386)
* add systemd-journal group (Thanks Guido Günther) (Closes: #724668)
-- Tollef Fog Heen <tfheen@debian.org> Mon, 28 Oct 2013 14:31:16 +0100
......
......@@ -80,6 +80,10 @@ fi
systemd-machine-id-setup
if ! getent group systemd-journal >/dev/null; then
addgroup --system systemd-journal
fi
# initial update of the Message Catalogs database
_update_catalog
......
......@@ -6,6 +6,10 @@ case "$1" in
purge)
rm -f /var/lib/systemd/catalog/database
rmdir --ignore-fail-on-non-empty /var/lib/systemd/catalog 2> /dev/null || true
if getent group systemd-journal >/dev/null; then
delgroup systemd-journal || true
fi
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment