mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
add info about /var/log ownership so it ends up in the ubuntu-touch build logs
This commit is contained in:
parent
59b47ad543
commit
6d7d128ad7
7
debian/changelog
vendored
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
|
livecd-rootfs (2.288) vivid; urgency=low
|
||||||
|
|
||||||
[ Michael Vogt ]
|
[ Michael Vogt ]
|
||||||
|
@ -298,7 +298,9 @@ mkdir -p /var/lib/usermetrics
|
|||||||
chown usermetrics:usermetrics /var/lib/usermetrics
|
chown usermetrics:usermetrics /var/lib/usermetrics
|
||||||
chmod 750 /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
|
# Record the current state for later comparison
|
||||||
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do
|
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do
|
||||||
|
@ -49,4 +49,7 @@ if [ -n "$ERRCNT" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
rm /etc/passwd.orig /etc/shadow.orig /etc/group.orig /etc/gshadow.orig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user