summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/suse/functions-11.1
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-02-19 16:12:42 +0100
committerDirk von Suchodoletz2009-02-19 16:12:42 +0100
commitf7b854e1112a102e6cd14ebca21e578e815f42e7 (patch)
treedc624c11e1188f35e334930d535aaab08a1a70ee /initramfs/distro-specs/suse/functions-11.1
parentChanges again in SuSE dbus/haldaemon concepts ... (diff)
downloadcore-f7b854e1112a102e6cd14ebca21e578e815f42e7.tar.gz
core-f7b854e1112a102e6cd14ebca21e578e815f42e7.tar.xz
core-f7b854e1112a102e6cd14ebca21e578e815f42e7.zip
Fix (echo > /var/lib/misc/PolicyKit.reload) to get the haldaemon
properly started ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2622 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/suse/functions-11.1')
-rw-r--r--initramfs/distro-specs/suse/functions-11.14
1 files changed, 3 insertions, 1 deletions
diff --git a/initramfs/distro-specs/suse/functions-11.1 b/initramfs/distro-specs/suse/functions-11.1
index 843f393a..23a31e48 100644
--- a/initramfs/distro-specs/suse/functions-11.1
+++ b/initramfs/distro-specs/suse/functions-11.1
@@ -35,6 +35,7 @@ config_dreshal () {
local start=1
local stop=10
if [ "x$start_dreshal" = "xyes" ]; then
+ testmkd /mnt/var/lib/misc
testmkd /mnt/var/run/PolicyKit polkituser:polkituser
testmkd /mnt/var/lib/PolicyKit polkituser:polkituser
testmkd /mnt/var/run/dbus/at_console/pool
@@ -55,7 +56,8 @@ if [ "x$start_dreshal" = "xyes" ]; then
>> /mnt/etc/passwd
strinfile "haldaemon:" /mnt/etc/group || \
echo "haldaemon:!:107:" >> /mnt/etc/group
- echo -n "" > /mnt/var/lib/PolicyKit.reload
+ echo -n "" > /mnt/var/lib/misc/PolicyKit.reload
+ chmod a+x /mnt/var/lib/misc/PolicyKit.reload
# create directories and set permissions with user and group id
for dir in /var/run/hald /var/run/hald/hald-local \
/var/run/hald/hald-runner /var/cache/hald; do