add info about /var/log ownership so it ends up in the ubuntu-touch build logs

ubuntu/yakkety
Oliver Grawert 10 years ago
parent 59b47ad543
commit 6d7d128ad7

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.289) UNRELEASED; urgency=medium
* add info about /var/log ownership so it ends up in the ubuntu-touch build
logs
-- Oliver Grawert <ogra@ubuntu.com> Tue, 03 Mar 2015 15:10:07 +0100
livecd-rootfs (2.288) vivid; urgency=low
[ Michael Vogt ]

@ -298,7 +298,9 @@ mkdir -p /var/lib/usermetrics
chown usermetrics:usermetrics /var/lib/usermetrics
chmod 750 /var/lib/usermetrics
chgrp syslog /var/log
echo "adjusting ownership of /var/log" >&2
chown root:syslog /var/log
ls -ln /var | grep log >&2
# Record the current state for later comparison
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do

@ -49,4 +49,7 @@ if [ -n "$ERRCNT" ]; then
exit 1
fi
echo "ownership of /var/log after build:" >&2
ls -ln /var| grep log >&2
rm /etc/passwd.orig /etc/shadow.orig /etc/group.orig /etc/gshadow.orig

Loading…
Cancel
Save