on a fresh install I ran into the following problem: # hald --daemon=no --verbose=yes 21:22:30.542 [I] hald.c:634: hal 0.5.10 21:22:30.542 [I] hald.c:699: Will not daemonize 21:22:30.544 [I] hald_dbus.c:5285: local server is listening at unix:abstract=/var/run/hald/dbus-6bWhECAiFW,guid=6ee9aa3d9d32bd7d81a01376481623f6 Runner started - allowed paths are '/usr/libexec:/usr/lib64/hal/scripts:/usr/bin' 21:22:30.559 [I] hald_runner.c:301: Runner has pid 31292 21:22:30.561 [W] ci-tracker.c:299: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of name 'org.freedesktop.DBus': no such name 21:22:30.561 [E] hald_dbus.c:4944: Cannot get caller info for org.freedesktop.DBus 21:22:30.562 [I] hald_runner.c:182: runner connection is 0x10076400 21:22:30.563 [W] osspec.c:363: Unable to open /proc/mdstat: No such file or directory 21:22:30.570 [I] mmap_cache.c:129: Regenerating fdi cache.. Run started hald-generate-fdi-cache (60000) (0) ! full path is '/usr/libexec/hald-generate-fdi-cache', program_dir is '/usr/libexec' 21:22:30.582 [E] create_cache.c:631: Unable to open fdi cache '/var/cache/hald/fdi-cache~' file for writing: No such file or directory 21:22:30.592 [E] create_cache.c:701: Error generating fdi cache /usr/libexec/hald-generate-fdi-cache exited 21:22:30.595 [I] mmap_cache.c:105: In regen_cache_cb exit_type=0, return_code=1 21:22:30.595 [E] mmap_cache.c:158: fdi cache regeneration failed! 21:22:30.595 [I] mmap_cache.c:161: fdi cache generation done 21:22:30.595 [I] mmap_cache.c:282: cache mtime is 1209409907 *** [DIE] mmap_cache.c:di_rules_init():70 : Unable to open cache /var/cache/hald/fdi-cache This solves the issue: --- hal-0.5.10.ebuild.orig 2008-04-20 15:07:06.000000000 +0200 +++ hal-0.5.10.ebuild 2008-04-28 21:14:00.208000754 +0200 @@ -247,7 +247,7 @@ keepdir /etc/hal/fdi/{information,policy,preprobe} # HAL stores it's fdi cache in /var/lib/cache/hald - keepdir /var/lib/cache/hald + keepdir /var/cache/hald # HAL keeps its unix socket here keepdir /var/run/hald
I can confirm this problem. As a preliminary fix, I added a link from /var/lib/cache/hald to /var/cache/hald (no need to rebuild hald).
this is fixed in 0.5.11-r6.