hal commands not working on red hat linux

Ceylan, Hasan Hasan.Ceylan at dowjones.com
Wed Dec 26 09:41:22 PST 2007


Below commands are not working on my Red Hat linux box. They are
returning this error: libhal.c 644 : Error connecting to system bus:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such
file or director

Has anybody experienced this? Is there a fix for this?

Thanks,

h


sys_model=`hal-get-property --udi /org/freedesktop/Hal/devices/computer
--key smbios.system.product`
chassis_type=`hal-get-property --udi
/org/freedesktop/Hal/devices/computer --key smbios.chassis.type`
sys_serial=`hal-get-property --udi /org/freedesktop/Hal/devices/computer
--key smbios.system.serial`
sys_manufacturer=`hal-get-property --udi
/org/freedesktop/Hal/devices/computer --key smbios.system.manufacturer`


More information about the hal mailing list