diff options
Diffstat (limited to 'src')
-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 |