make sure /var/log is always owned by the syslog group on touch

This commit is contained in:
Oliver Grawert 2015-02-18 15:06:46 +01:00
parent 94a77fcb8b
commit d2f09a32d8
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,5 +1,6 @@
livecd-rootfs (2.287) UNRELEASED; urgency=low
[ Michael Vogt ]
* add even more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
@ -9,7 +10,10 @@ livecd-rootfs (2.287) UNRELEASED; urgency=low
* live-build/auto/config:
- add snappy-ubuntu
-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 12 Feb 2015 11:33:00 +0100
[ Oliver Grawert ]
* make sure /var/log is always owned by the syslog group on touch
-- Oliver Grawert <ogra@ubuntu.com> Wed, 18 Feb 2015 15:03:54 +0100
livecd-rootfs (2.286) vivid; urgency=medium

View File

@ -298,6 +298,8 @@ mkdir -p /var/lib/usermetrics
chown usermetrics:usermetrics /var/lib/usermetrics
chmod 750 /var/lib/usermetrics
chgrp syslog /var/log
# Record the current state for later comparison
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do
rm -f ${file}-