Whitelist preserving "unowned" /var/log/journal. Maybe systemd package

should own the directory, and only adjust the permissions in
postinst. LP: #1754332
This commit is contained in:
Dimitri John Ledkov 2018-03-16 18:38:22 +00:00
parent 44e7d70046
commit 815c3dfc10
2 changed files with 9 additions and 1 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
livecd-rootfs (2.511) bionic; urgency=medium
* Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
should own the directory, and only adjust the permissions in
postinst. LP: #1754332
-- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 16 Mar 2018 18:36:56 +0000
livecd-rootfs (2.510) bionic; urgency=medium
* Rename the directory containing the systemd override file for subiquity to

View File

@ -27,7 +27,7 @@ do
done
# Remove un-owned log directories
whitelisted_dirs=(/var/log/fsck)
whitelisted_dirs=(/var/log/fsck /var/log/journal)
for log_d in $(find /var/log/* -type d)
do