Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278642 - sys-apps/hal-0.5.13: config update stops Xorg from detecting inputs
Summary: sys-apps/hal-0.5.13: config update stops Xorg from detecting inputs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
: 278631 278838 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-22 08:09 UTC by DaggyStyle
Modified: 2009-07-23 15:14 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diff from etc-update (foo.txt,1.62 KB, text/plain)
2009-07-22 11:27 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2009-07-22 08:09:34 UTC
after upgrading from 0.5.12_rc1-r7, there is a config update that removes the following lines in the file /etc/dbus-1/system.d/hal.conf:
<policy user="root">                                        
    <allow own="org.freedesktop.Hal"/>                        
    <allow send_destination="org.freedesktop.Hal"             
        send_interface="org.freedesktop.Hal.Device"/>         
    <allow send_destination="org.freedesktop.Hal"             
           send_interface="org.freedesktop.Hal.Manager"/>     
    <allow send_destination="org.freedesktop.Hal"             
           send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
    <allow send_destination="org.freedesktop.Hal"                  
           send_interface="org.freedesktop.Hal.Device.Leds"/>      
    <allow send_destination="org.freedesktop.Hal"                  
           send_interface="org.freedesktop.Hal.Device.Storage"/>   
    <allow send_destination="org.freedesktop.Hal"                  
           send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
    <allow send_destination="org.freedesktop.Hal"                         
           send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_destination="org.freedesktop.Hal"                             
           send_interface="org.freedesktop.Hal.Device.Volume"/>               
    <allow send_destination="org.freedesktop.Hal"                             
           send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>        
    <allow send_destination="org.freedesktop.Hal"                             
           send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>            
  </policy>
removing them, renders all input offline. reinstalling 0.5.12_rc1-r7 renders te input back, also, installing 0.5.13 and rejecting the suggested config renders the input working again.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 11:27:14 UTC
Created attachment 198783 [details]
diff from etc-update

This is the diff I got from etc-update from updating HAL. I skipped the update, and kept the config file as is, and my input devices kept working.

If that helps any.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 11:31:26 UTC
+  22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> package.mask:
+  Mask latest HAL since it renders all input devices unusable.
Comment 3 DaggyStyle 2009-07-22 11:46:55 UTC
(In reply to comment #1)
> Created an attachment (id=198783) [edit]
> diff from etc-update
> 
> This is the diff I got from etc-update from updating HAL. I skipped the update,
> and kept the config file as is, and my input devices kept working.
> 
> If that helps any.
> 

that is exacly what I've did.
Comment 4 Rahul Jain 2009-07-22 12:02:36 UTC
Hmm, I was about to file a bug on 0.5.13. My X server does not start after the upgrade with the following FATAL message:
FATAL: Module fbcon not found.
I think this is the same bug.
Comment 5 Simon Perry 2009-07-22 12:10:55 UTC
I can confirm this as well. This version of hal (well, not this version but the config it provides) makes my X dirty like zebra.

So I masked it out, re-emerged and it's clean like aardvark.

[root@nexus]-[22:04:40]-[~]
# cat /etc/portage/package.mask/hal 
=sys-apps/hal-0.5.13
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-07-22 12:49:32 UTC
(In reply to comment #4)
> Hmm, I was about to file a bug on 0.5.13. My X server does not start after the
> upgrade with the following FATAL message:
> FATAL: Module fbcon not found.
> I think this is the same bug.

Probably unrelated. File a new bug report.

Thanks
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 13:07:42 UTC
*** Bug 278631 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-07-22 14:55:05 UTC
That will teach me to actually test on my !policykit box.  Fixed in 0.5.13-r1.
Comment 9 Martin von Gagern 2009-07-22 20:06:58 UTC
Related: bug #278760 about segfaults in Xorg due to broken hal config.
Comment 10 Jean-Francis Roy 2009-07-23 15:14:22 UTC
*** Bug 278838 has been marked as a duplicate of this bug. ***