[Piuparts-commits] [piuparts] 41/51: post_du_exceptions: buster: permission change on /var/lib/polkit-1

Holger Levsen holger at layer-acht.org
Thu Jul 20 21:15:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit da57622bbd3e689bdf932cb14bda98ad01470de0
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Jul 3 16:54:26 2017 +0200

    post_du_exceptions: buster: permission change on /var/lib/polkit-1
    
    policykit-1 in buster changes the permissions 0755 -> 0700
    but is not installed in all cases, e.g. for the reference chroot
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 custom-scripts/scripts/post_distupgrade_exceptions | 5 +++++
 debian/changelog                                   | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/custom-scripts/scripts/post_distupgrade_exceptions b/custom-scripts/scripts/post_distupgrade_exceptions
index a9fea71..d65aa63 100755
--- a/custom-scripts/scripts/post_distupgrade_exceptions
+++ b/custom-scripts/scripts/post_distupgrade_exceptions
@@ -93,4 +93,9 @@ if [ "$PIUPARTS_DISTRIBUTION" = "buster" ]; then
 		fi
 	done
 
+	# policykit-1 in buster changes the permissions 0755 -> 0700
+	if [ -d /var/lib/polkit-1 ]; then
+		chmod -c go-rx /var/lib/polkit-1
+	fi
+
 fi
diff --git a/debian/changelog b/debian/changelog
index c6ac0d1..96a19a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -71,8 +71,9 @@ piuparts (0.78) UNRELEASED; urgency=medium
   * scripts/post_{setup,distupgrade}_zz_backports: Avoid downgrading
     systemd/udev from jessie-backports to jessie during removal phase.
     (Closes: #856845)
-  * scripts/post_distupgrade_exceptions: Remove empty unowned /etc/dbus-1/,
-    /etc/dbus-1/system.d/ after upgrading to buster.
+  * scripts/post_distupgrade_exceptions: Add stretch->buster workarounds:
+    - Remove empty unowned /etc/dbus-1/, /etc/dbus-1/system.d/.
+    - Change permissions from 0755 to 0700 on /var/lib/polkit-1.
   * scripts-broken-symlinks/post_install_extras_unbreak_symlinks: New script
     for "fixing" some broken symlinks (e.g. by installing selected suggested
     packages) in tests using --fail-on-broken-symlinks.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list