diff -u policykit-0.9/debian/changelog policykit-0.9/debian/changelog --- policykit-0.9/debian/changelog +++ policykit-0.9/debian/changelog @@ -1,3 +1,12 @@ +policykit (0.9-1ubuntu3) intrepid; urgency=low + + * Don't chown /var/run/PolicyKit in the postinst, as /var/run is on a tmpfs, + and it should be the job of the init script to do this. (LP: #275355) + * Use root:polkituser for /var/run/PolicyKit in the init script, as this + is what the postinst uses. Thanks to Chris Coulson for spotting this. + + -- James Westby Tue, 30 Sep 2008 10:47:34 +0100 + policykit (0.9-1ubuntu2) intrepid; urgency=low * Add debian/patches/03_consolekit0.3-api.patch: Try both the ConsoleKit 0.3 diff -u policykit-0.9/debian/policykit.init policykit-0.9/debian/policykit.init --- policykit-0.9/debian/policykit.init +++ policykit-0.9/debian/policykit.init @@ -15,7 +15,7 @@ case "$1" in start) mkdir -p /var/run/PolicyKit - chown polkituser:polkituser /var/run/PolicyKit + chown root:polkituser /var/run/PolicyKit chmod 770 /var/run/PolicyKit ;; stop|restart|force-reload) diff -u policykit-0.9/debian/policykit.postinst policykit-0.9/debian/policykit.postinst --- policykit-0.9/debian/policykit.postinst +++ policykit-0.9/debian/policykit.postinst @@ -39,7 +39,6 @@ --group polkituser libexec=/usr/lib/policykit - set_perms root polkituser 770 /var/run/PolicyKit set_perms root polkituser 770 /var/lib/PolicyKit set_perms polkituser root 755 /var/lib/PolicyKit-public set_perms polkituser polkituser 664 /var/lib/misc/PolicyKit.reload