Your message dated Thu, 18 Jun 2009 09:33:51 +0000
with message-id <e1mhe0f-0004qs...@ries.debian.org>
and subject line Bug#532101: fixed in policykit 0.9-4
has caused the Debian Bug report #532101,
regarding policykit: Support tmpfs /var/run
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
532101: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532101
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: policykit
Version: 0.6-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
Hi!
PK currently breaks if /var/run is a tmpfs and thus /var/run/PolicyKit
does not exist. Attached patch introduces an init script which
rectifies this.
I used this changelog for Ubuntu:
* Add debian/policykit.init: Create /var/run/PolicyKit if it does not exist.
This happens if /var/run is on a tmpfs.
* debian/rules: Install init script.
Thank you for considering,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
diff -u policykit-0.6/debian/rules policykit-0.6/debian/rules
--- policykit-0.6/debian/rules
+++ policykit-0.6/debian/rules
@@ -11,0 +12 @@
+DEB_DH_INSTALLINIT_ARGS := -r -- start 01 2 3 4 5 . stop 99 1 .
--- policykit-0.6.orig/debian/policykit.init
+++ policykit-0.6/debian/policykit.init
@@ -0,0 +1,31 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: policykit
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Default-Start: 2 3 4 5
+# Default-Stop:
+# Short-Description: Create PolicyKit runtime directories
+# Description: Create directories which PolicyKit needs at runtime,
+# such as /var/run/PolicyKit
+### END INIT INFO
+
+# Author: Martin Pitt <martin.p...@ubuntu.com>
+
+case "$1" in
+ start)
+ if ! [ -d /var/run/PolicyKit ]; then
+ mkdir -p /var/run/PolicyKit
+ chown polkituser:polkituser /var/run/PolicyKit
+ chmod 775 /var/run/PolicyKit
+ fi
+ ;;
+ stop|restart|force-reload)
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+ exit 3
+ ;;
+esac
+
+:
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: policykit
Source-Version: 0.9-4
We believe that the bug you reported is fixed in the latest version of
policykit, which is due to be installed in the Debian FTP archive:
libpolkit-dbus-dev_0.9-4_i386.deb
to pool/main/p/policykit/libpolkit-dbus-dev_0.9-4_i386.deb
libpolkit-dbus2_0.9-4_i386.deb
to pool/main/p/policykit/libpolkit-dbus2_0.9-4_i386.deb
libpolkit-dev_0.9-4_i386.deb
to pool/main/p/policykit/libpolkit-dev_0.9-4_i386.deb
libpolkit-grant-dev_0.9-4_i386.deb
to pool/main/p/policykit/libpolkit-grant-dev_0.9-4_i386.deb
libpolkit-grant2_0.9-4_i386.deb
to pool/main/p/policykit/libpolkit-grant2_0.9-4_i386.deb
libpolkit2_0.9-4_i386.deb
to pool/main/p/policykit/libpolkit2_0.9-4_i386.deb
policykit-doc_0.9-4_all.deb
to pool/main/p/policykit/policykit-doc_0.9-4_all.deb
policykit_0.9-4.diff.gz
to pool/main/p/policykit/policykit_0.9-4.diff.gz
policykit_0.9-4.dsc
to pool/main/p/policykit/policykit_0.9-4.dsc
policykit_0.9-4_i386.deb
to pool/main/p/policykit/policykit_0.9-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 532...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <bi...@debian.org> (supplier of updated policykit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 18 Jun 2009 09:55:34 +0200
Source: policykit
Binary: policykit policykit-doc libpolkit2 libpolkit-dev libpolkit-dbus2
libpolkit-dbus-dev libpolkit-grant2 libpolkit-grant-dev
Architecture: source all i386
Version: 0.9-4
Distribution: unstable
Urgency: low
Maintainer: Utopia Maintenance Team
<pkg-utopia-maintain...@lists.alioth.debian.org>
Changed-By: Michael Biebl <bi...@debian.org>
Description:
libpolkit-dbus-dev - library for accessing PolicyKit via D-Bus - development
files
libpolkit-dbus2 - library for accessing PolicyKit via D-Bus
libpolkit-dev - library for accessing PolicyKit - development files
libpolkit-grant-dev - library for obtaining privileges via PolicyKit -
development file
libpolkit-grant2 - library for obtaining privileges via PolicyKit
libpolkit2 - library for accessing PolicyKit
policykit - framework for managing administrative policies and privileges
policykit-doc - documentation for PolicyKit
Closes: 521756 523565 532101
Changes:
policykit (0.9-4) unstable; urgency=low
.
* Add support for /var/run being a tmpfs. (Closes: #532101)
- Create /var/run/PolicyKit dynamically on boot by using an init script.
Original patch by Martin Pitt, thanks. Updated patch to only run the
init script in runlevel S at priority 75.
- Do no longer ship /var/run/PolicyKit in the package itself.
* debian/control
- Bump Standards-Version to 3.8.1.
* debian/patches/04_entry_leak.patch
- Plug a memory leak. Patch pulled from Fedora.
* debian/patches/05_manpage_typo_fix.patch
- Fix a small typo in the polkit-auth man page. (Closes: #523565)
* debian/patches/06_no_inotify_or_path_max.patch
- Add support for systems which don't support inotify (like hurd) and
don't use PATH_MAX unconditionally, instead use dynamically growing
buffers. (Closes: #521756)
Patch by Samuel Thibault, thanks.
Checksums-Sha1:
ecdb9121f77d0376af21ef0fbcae6ded0d35c5d9 1591 policykit_0.9-4.dsc
3799d6bfde534afa5f6c223382c13ee364ffad95 10915 policykit_0.9-4.diff.gz
e9470b7cb931bcf3e386d24ee31c8be77930f9ee 363748 policykit-doc_0.9-4_all.deb
8439a49e5dff843b251e3aee71372889885bf568 130698 policykit_0.9-4_i386.deb
9a2f64b7377945d9e5bdbf9e8ee3c57d46f36c56 105246 libpolkit2_0.9-4_i386.deb
5c80be55eeb66cfeb6561122ebf32bdb52739d15 122594 libpolkit-dev_0.9-4_i386.deb
74f78a6894b7ce41c7ccaeb94564587a601fca86 86596 libpolkit-dbus2_0.9-4_i386.deb
96dfc8c31cfd070b9a1e212ed4273c1832b0aa8e 90928
libpolkit-dbus-dev_0.9-4_i386.deb
c20614ea81fb720c9ff1ef6d34532e0104f89591 83298 libpolkit-grant2_0.9-4_i386.deb
f22dabb004696fe308500dbfb29595b7d0cc48f9 89924
libpolkit-grant-dev_0.9-4_i386.deb
Checksums-Sha256:
f06f1666cc1216608289a20ee1edcbc67f1fb01a811316502b153082be922531 1591
policykit_0.9-4.dsc
83640fbcb3507e8f41c6eb0b8d4ffc985577f39f9926ee46479f212f50a1b832 10915
policykit_0.9-4.diff.gz
7825ef76224778bf94564474c3ecf4afbceffb5ffee1fa7d3c700d26bd0fa707 363748
policykit-doc_0.9-4_all.deb
3d2f23e7493c3e4e1651fc566f5b498547d323770f4dc9136337097840713df2 130698
policykit_0.9-4_i386.deb
c8a02e64f5a4a95f39a0bb739a61b7097dcd255a3d6061c8b395b261052d4552 105246
libpolkit2_0.9-4_i386.deb
ef9af3610a578d41a2b0238e692502f384e3c498494e629709f9a7913411667e 122594
libpolkit-dev_0.9-4_i386.deb
a32b0eee8361262a861dd220102d88df7b3985f56d9de854cd0094ceb0b0837b 86596
libpolkit-dbus2_0.9-4_i386.deb
8fb1ab15d95473b0b304ed86385eae39a953c2e6f9e02fe15e217e58cd040abd 90928
libpolkit-dbus-dev_0.9-4_i386.deb
19a5736a29eb74fe7e45416a2f560c5b303c8269e730bc6892a71450db89bec9 83298
libpolkit-grant2_0.9-4_i386.deb
eb03bebb83492b3a2748fd969a2a3f4ee74d6311571bdd0af3896660e74f0cf0 89924
libpolkit-grant-dev_0.9-4_i386.deb
Files:
d997c22c02e6bef8b4d2de2537ffc01a 1591 admin optional policykit_0.9-4.dsc
4a6184b709f1f33aabe99bc5faed58a5 10915 admin optional policykit_0.9-4.diff.gz
3b99d46a04cdd90bb709d95ba5c0f527 363748 doc optional
policykit-doc_0.9-4_all.deb
9d05dbab25d91fbe39f0f673fe19cca8 130698 admin optional policykit_0.9-4_i386.deb
22515f80e761453ca335282e441961d4 105246 libs optional libpolkit2_0.9-4_i386.deb
954057a6dc2284fd76d0ab8c7cce6c59 122594 libdevel optional
libpolkit-dev_0.9-4_i386.deb
8423f530002c0ca29747fe90aa08bc69 86596 libs optional
libpolkit-dbus2_0.9-4_i386.deb
3733fb78d256d20a8fe6eb6c6944c2a4 90928 libdevel optional
libpolkit-dbus-dev_0.9-4_i386.deb
db6eb7979fc0f4057bbda97ca657a6bb 83298 libs optional
libpolkit-grant2_0.9-4_i386.deb
816907035a2f959165944911df489216 89924 libdevel optional
libpolkit-grant-dev_0.9-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAko59IYACgkQh7PER70FhVQ53wCfRf80bjj82jn1vGfZJPZtPX7r
flkAoK2cYeOPZjY8g1a1QRnSRL0Ippto
=aqf+
-----END PGP SIGNATURE-----
--- End Message ---