From d2f09a32d87fdb09d75a342155f1c85f4bbc6ac2 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Wed, 18 Feb 2015 15:06:46 +0100 Subject: [PATCH] make sure /var/log is always owned by the syslog group on touch --- debian/changelog | 6 +++++- live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3ed5d3c4..f563ee05 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 Wed, 18 Feb 2015 15:03:54 +0100 livecd-rootfs (2.286) vivid; urgency=medium diff --git a/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early b/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early index 0b456332..ac83689f 100755 --- a/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early +++ b/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early @@ -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}-