[Pkg-utopia-commits] r1943 - in /packages/unstable/hal/debian: changelog hal.dirs hal.postinst hal.postrm

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Wed Dec 12 21:46:13 UTC 2007


Author: biebl
Date: Wed Dec 12 21:46:12 2007
New Revision: 1943

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1943
Log:
  - Set the home directory of the haldaemon user to /var/run/hal.
* debian/hal.dirs
  - Make sure the directory /var/run/hal is created.
* debian/hal.postrm
  - As /var/run/hal is managed by dpkg now, there is no need anymore to
    clean up this directory manually.

Modified:
    packages/unstable/hal/debian/changelog
    packages/unstable/hal/debian/hal.dirs
    packages/unstable/hal/debian/hal.postinst
    packages/unstable/hal/debian/hal.postrm

Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=1943&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Wed Dec 12 21:46:12 2007
@@ -5,6 +5,12 @@
     - Remove superfluous getent calls. adduser is clever enough to omit
       creating accounts if they already exist.
     - Don't ignore addgroup errors.
+    - Set the home directory of the haldaemon user to /var/run/hal.
+  * debian/hal.dirs
+    - Make sure the directory /var/run/hal is created.
+  * debian/hal.postrm
+    - As /var/run/hal is managed by dpkg now, there is no need anymore to
+      clean up this directory manually.
 
   [ Sjoerd Simons ]
   * debian/patches/86_fix_killswitch_callout.patch:
@@ -15,7 +21,7 @@
     - Added. Fix compilation on the Hurd. Based on a patch by Samuel Thibault
       (Closes: #444574)
 
- -- Michael Biebl <biebl at debian.org>  Mon, 03 Dec 2007 00:27:14 +0100
+ -- Michael Biebl <biebl at debian.org>  Wed, 12 Dec 2007 22:34:48 +0100
 
 hal (0.5.10-4) unstable; urgency=low
 

Modified: packages/unstable/hal/debian/hal.dirs
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.dirs?rev=1943&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.dirs (original)
+++ packages/unstable/hal/debian/hal.dirs Wed Dec 12 21:46:12 2007
@@ -1,2 +1,3 @@
 /var/cache/hald
 /var/lib/hal
+/var/run/hal

Modified: packages/unstable/hal/debian/hal.postinst
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postinst?rev=1943&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postinst (original)
+++ packages/unstable/hal/debian/hal.postinst Wed Dec 12 21:46:12 2007
@@ -28,6 +28,7 @@
     adduser --system \
             --disabled-password \
             --no-create-home \
+            --home "/var/run/hal" \
             --gecos "Hardware abstraction layer" \
             --group haldaemon
 

Modified: packages/unstable/hal/debian/hal.postrm
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/hal.postrm?rev=1943&op=diff
==============================================================================
--- packages/unstable/hal/debian/hal.postrm (original)
+++ packages/unstable/hal/debian/hal.postrm Wed Dec 12 21:46:12 2007
@@ -17,8 +17,6 @@
 		echo >&2 "Not removing haldaemon system account because deluser command was not found"
 	fi
 
-        rmdir /var/run/hal || true
-
 	rm -f /var/cache/hald/fdi-cache
 	rmdir /var/cache/hald || true
 fi




More information about the Pkg-utopia-commits mailing list