summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Janczyk2013-08-15 18:35:16 +0200
committerMichael Janczyk2013-08-15 18:35:16 +0200
commita7bf7382996a199f307e72fd7b56654dfd144075 (patch)
tree24397708a0ebd9046979ceda91057f81c2af54df /src
parentStub for VDE virtual networking ... (diff)
downloadcore-a7bf7382996a199f307e72fd7b56654dfd144075.tar.gz
core-a7bf7382996a199f307e72fd7b56654dfd144075.tar.xz
core-a7bf7382996a199f307e72fd7b56654dfd144075.zip
hald won't sart if dir does not exist
Diffstat (limited to 'src')
-rw-r--r--src/initramfs/distro-specs/centos/functions-default4
-rw-r--r--src/initramfs/distro-specs/rhel/functions-default4
-rw-r--r--src/initramfs/distro-specs/scientific/functions-default4
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