hal commands not working on red hat linux

Jan Hutař jhutar at redhat.com
Wed Jan 2 01:38:12 PST 2008

On Wed, 26 Dec 2007 12:41:22 -0500
"Ceylan, Hasan" <Hasan.Ceylan at dowjones.com> wrote:

> 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`

all these commands outputs expected output for me on x86_64 with
Fedora 8. You can try restart HAL daemon:

# service haldaemon restart

Also you can check if you have latest HAL version:

# rpm -q hal

But if you believe it is a bug, please file it using Red Hat Bugzilla


Happy new year,

Jan Hutar   Quality Assurance Engineer
jhutar at redhat.com        Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080102/60e88f49/attachment.pgp 

More information about the hal mailing list