summaryrefslogtreecommitdiffstats
path: root/src/initramfs/distro-specs/rhel
diff options
context:
space:
mode:
Diffstat (limited to 'src/initramfs/distro-specs/rhel')
-rw-r--r--src/initramfs/distro-specs/rhel/functions-default4
1 files changed, 3 insertions, 1 deletions
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