/var/cache directory bug

Dave Crossland dave at lab6.com
Mon Jul 14 08:35:49 PDT 2008


Should Hal create the /var/cache/hald/ directory if it doesn't exist
instead of crashing :)

# rm -rf /var/cache/*
# hald --daemon=no
Runner started - allowed paths are '/usr/libexec:/usr/lib/hal/scripts:/usr/bin'
Run started hald-generate-fdi-cache (60000) (0)
!  full path is '/usr/libexec/hald-generate-fdi-cache', program_dir is
'/usr/libexec'
13:20:13.161 [E] create_cache.c:631: Unable to open fdi cache
'/var/cache/hald/fdi-cache~' file for writing: No such file or
directory
13:20:13.161 [E] create_cache.c:701: Error generating fdi cache
/usr/libexec/hald-generate-fdi-cache exited
*** [DIE] mmap_cache.c:di_rules_init():70 : Unable to open cache
/var/cache/hald/fdi-cache


More information about the hal mailing list