Bug 233590

Summary: Error message "HAL does not support power management!"
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: halAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: joe.ammond, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-31 15:52:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150226    
Attachments:
Description Flags
Warning about missing support of power management.
none
hald crash output none

Description Joachim Frieben 2007-03-23 12:04:47 UTC
Description of problem:
For current "rawhide", "hal" seems to be broken. "g-p-m" aborts on
start-up, and in "/var/log/messages", entries

 "gnome-power-manager: (fedora) Either HAL or DBUS are not working!"
 "gnome-power-manager: (fedora) HAL does not support power management!"

appear.

Version-Release number of selected component (if applicable):
hal-0.5.9-0.git20070304.fc7

How reproducible:
Always.

Steps to Reproduce:
1. Log in to "GNOME" session.
  
Actual results:
No "g-p-m" icon is present in the desktop panel. "g-p-m" aborts when
launched.

Expected results:
"g-p-m" is up and running.

Additional info:
None.

Comment 1 Joachim Frieben 2007-03-23 12:06:43 UTC
Created attachment 150745 [details]
Warning about missing support of power management.

Comment 2 Ronny Fischer 2007-03-25 09:52:51 UTC
I can see the same on Fedora 7 Rawhide 6.92 Kernel 2.6.20-1.3017, i686.

HAL starts on boot but it seems it is stopping right after that. It is possible 
to restart haldaemon, but it doesn't work correectly at all. This results in 
not being notified on different system events (e.g. mounting a CD).



Comment 3 Joe Ammond 2007-03-26 02:15:28 UTC
I've been having the same problem with hald. I finally started it manually with
--verbose=yes and --daemon=no, and captured attached log. One interesting line is:

process 16057: arguments to dbus_message_new_error() were incorrect, assertion
"_dbus_check_is_valid_error_name (error_name)" failed in file dbus-message.c
line 1207.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

I see that when I exit evolution lately as well.

Comment 4 Joe Ammond 2007-03-26 02:20:17 UTC
Created attachment 150865 [details]
hald crash output

crash from hald.

Comment 5 David Zeuthen 2007-03-26 02:21:31 UTC
Should be fixed upstream already

http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=f038b39e6eddb393c6793b3932eb978346fa528b


Comment 6 Joe Ammond 2007-03-26 02:25:35 UTC
Great, I'll look for an update to rawhide in the future.

Comment 7 Will Woods 2007-03-27 22:57:00 UTC
Could you test with hal-0.5.9-0.git20070326.fc7? It should be in rawhide today.

Comment 8 Joachim Frieben 2007-03-31 15:52:24 UTC
Looks ok again. Thanks!