diff options
author | Michael Janczyk | 2013-08-15 18:35:16 +0200 |
---|---|---|
committer | Michael Janczyk | 2013-08-15 18:35:16 +0200 |
commit | a7bf7382996a199f307e72fd7b56654dfd144075 (patch) | |
tree | 24397708a0ebd9046979ceda91057f81c2af54df | |
parent | Stub for VDE virtual networking ... (diff) | |
download | core-a7bf7382996a199f307e72fd7b56654dfd144075.tar.gz core-a7bf7382996a199f307e72fd7b56654dfd144075.tar.xz core-a7bf7382996a199f307e72fd7b56654dfd144075.zip |
hald won't sart if dir does not exist
-rw-r--r-- | src/initramfs/distro-specs/centos/functions-default | 4 | ||||
-rw-r--r-- | src/initramfs/distro-specs/rhel/functions-default | 4 | ||||
-rw-r--r-- | src/initramfs/distro-specs/scientific/functions-default | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/src/initramfs/distro-specs/centos/functions-default b/src/initramfs/distro-specs/centos/functions-default index a5234a95..4e34c995 100644 --- a/src/initramfs/distro-specs/centos/functions-default +++ b/src/initramfs/distro-specs/centos/functions-default @@ -235,7 +235,9 @@ if [ "x$start_dreshal" = "xyes" ]; then rllinker "messagebus" $start $stop fi if [ -f /mnt/etc/init.d/haldaemon ] ; then - testmkd /mnt/var/lib/hal + testmkd /mnt/var/lib/hal haldaemon:haldaemon + testmkd /mnt/var/run/hal haldaemon:haldaemon + testmkd /mnt/var/cache/hald haldaemon:haldaemon strinfile "haldaemon:" /mnt/etc/passwd || \ echo "haldaemon:x:68:68:User for haldaemon:/var/run/hal:/sbin/nologin" \ >> /mnt/etc/passwd diff --git a/src/initramfs/distro-specs/rhel/functions-default b/src/initramfs/distro-specs/rhel/functions-default index 0ea8ce90..ba50e109 100644 --- a/src/initramfs/distro-specs/rhel/functions-default +++ b/src/initramfs/distro-specs/rhel/functions-default @@ -235,7 +235,9 @@ if [ "x$start_dreshal" = "xyes" ]; then rllinker "messagebus" $start $stop fi if [ -f /mnt/etc/init.d/haldaemon ] ; then - testmkd /mnt/var/lib/hal + testmkd /mnt/var/lib/hal haldaemon:haldaemon + testmkd /mnt/var/run/hal haldaemon:haldaemon + testmkd /mnt/var/cache/hald haldaemon:haldaemon strinfile "haldaemon:" /mnt/etc/passwd || \ echo "haldaemon:x:68:68:User for haldaemon:/var/run/hal:/sbin/nologin" \ >> /mnt/etc/passwd diff --git a/src/initramfs/distro-specs/scientific/functions-default b/src/initramfs/distro-specs/scientific/functions-default index 311814c9..4f8aa7de 100644 --- a/src/initramfs/distro-specs/scientific/functions-default +++ b/src/initramfs/distro-specs/scientific/functions-default @@ -235,7 +235,9 @@ if [ "x$start_dreshal" = "xyes" ]; then rllinker "messagebus" $start $stop fi if [ -f /mnt/etc/init.d/haldaemon ] ; then - testmkd /mnt/var/lib/hal + testmkd /mnt/var/lib/hal haldaemon:haldaemon + testmkd /mnt/var/run/hal haldaemon:haldaemon + testmkd /mnt/var/cache/hald haldaemon:haldaemon strinfile "haldaemon:" /mnt/etc/passwd || \ echo "haldaemon:x:68:68:User for haldaemon:/var/run/hal:/sbin/nologin" \ >> /mnt/etc/passwd |