You are not logged in.

#1 2009-09-21 22:25:12

bobland
Member
Registered: 2009-09-19
Posts: 51

[Solved] Shutdown Error

When I attempt to shutdown or reboot I get an error:

Unable to perform shutdown
org.freedesktop.hal.power-management.reboot <--
no (action.result)

I'm put into a prompt at the console where I can manually reboot or shutdown.

Last edited by bobland (2009-09-21 23:50:36)

Offline

#2 2009-09-21 22:38:28

Boris Bolgradov
Member
From: Bulgaria
Registered: 2008-07-27
Posts: 185

Re: [Solved] Shutdown Error

Could you post your /etc/PolicyKit/PolicyKit.conf ?

edit: You tried google before posting, right? http://www.google.com/search?hl=en&safe … oq=&aqi=g2

Last edited by Boris Bolgradov (2009-09-21 22:59:23)

Offline

#3 2009-09-21 23:50:17

bobland
Member
Registered: 2009-09-19
Posts: 51

Re: [Solved] Shutdown Error

Boris,
I should have googled first but your link fixed the problem.  For reference purposes, I've included the PolicyKit.conf that the link pointed to.  Also note that I added an "operator" group to /etc/group adding root and myself as users.

<config version="0.1">
<define_admin_auth group="operator" />
        <match action="org.freedesktop.hal.storage.mount-removable">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.mount-fixed">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.eject">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.unmount-others">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.power-management.reboot">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.power-management.shutdown">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.power-management.hibernate">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.power-management.suspend">
                <return result="yes" />
        </match>
</config>

Offline

Board footer

Powered by FluxBB