[Pkg-utopia-commits] r3828 - in /packages/unstable/hal/debian: changelog patches/60-create-run-hald-directory.patch patches/series
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Fri Aug 12 14:41:07 UTC 2011
Author: biebl
Date: Fri Aug 12 14:41:07 2011
New Revision: 3828
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3828
Log:
* debian/patches/60-create-run-hald-directory.patch
- Create /var/run/hald/ when starting hald. This directory contains
runtime data like pid files and sockets and needs to be created
dynamically as (/var)/run resides on a tmpfs. (Closes: #632900)
Added:
packages/unstable/hal/debian/patches/60-create-run-hald-directory.patch
Modified:
packages/unstable/hal/debian/changelog
packages/unstable/hal/debian/patches/series
Modified: packages/unstable/hal/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/changelog?rev=3828&op=diff
==============================================================================
--- packages/unstable/hal/debian/changelog (original)
+++ packages/unstable/hal/debian/changelog Fri Aug 12 14:41:07 2011
@@ -3,6 +3,10 @@
* debian/control
- Drop Suggests: gnome-device-manager, this package no longer is in the
archive.
+ * debian/patches/60-create-run-hald-directory.patch
+ - Create /var/run/hald/ when starting hald. This directory contains
+ runtime data like pid files and sockets and needs to be created
+ dynamically as (/var)/run resides on a tmpfs. (Closes: #632900)
-- Michael Biebl <biebl at debian.org> Fri, 12 Aug 2011 15:47:54 +0200
Added: packages/unstable/hal/debian/patches/60-create-run-hald-directory.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/patches/60-create-run-hald-directory.patch?rev=3828&op=file
==============================================================================
--- packages/unstable/hal/debian/patches/60-create-run-hald-directory.patch (added)
+++ packages/unstable/hal/debian/patches/60-create-run-hald-directory.patch Fri Aug 12 14:41:07 2011
@@ -1,0 +1,24 @@
+Description: Create /var/run/hald on start.
+ This directory contains runtime data, like pid files and sockets and needs
+ to be created dynamically as /run is now on a tmpfs by default.
+Author: Michael Biebl <biebl at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632900
+Index: hal-0.5.14/hald/hald.c
+===================================================================
+--- hal-0.5.14.orig/hald/hald.c 2011-08-12 15:22:27.568421974 +0200
++++ hal-0.5.14/hald/hald.c 2011-08-12 15:43:20.900665455 +0200
+@@ -667,11 +667,13 @@
+ /*master_slave_setup ();
+ sleep (100000000);*/
+
+-
+ loop = g_main_loop_new (NULL, FALSE);
+
+ HAL_INFO ((PACKAGE_STRING));
+ HAL_INFO (("using child timeout %is", opt_child_timeout));
++
++ /* Create directory containing runtime data, like pid files and sockets */
++ mkdir (PACKAGE_LOCALSTATEDIR "/run/hald", 0755);
+
+ if (opt_become_daemon) {
+ int child_pid;
Modified: packages/unstable/hal/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/hal/debian/patches/series?rev=3828&op=diff
==============================================================================
--- packages/unstable/hal/debian/patches/series (original)
+++ packages/unstable/hal/debian/patches/series Fri Aug 12 14:41:07 2011
@@ -13,3 +13,4 @@
52-kfreebsd-libufs.patch
53-kfreebsd-blkid.patch
54-kfreebsd-libusb2.patch
+60-create-run-hald-directory.patch
More information about the Pkg-utopia-commits
mailing list