You are not logged in.

#1 2009-11-11 14:31:31

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Removing policykit gives error message [SOLVED]

This is actually more a heads up: hal has dropped the dependency on policykit, which will therefore become an orphan on most systems. Removing it gives me an error message:

# pacman -R policykit
checking dependencies...
(1/1) removing policykit                            [#######################] 100%
error: command failed to execute correctly

This error can be ignored. It is caused by the following code in policykit.install:

post_remove() {
  usr/sbin/userdel policykit &>/dev/null
  usr/sbin/groupdel policykit &>/dev/null
}

By default, userdel will already remove the group policykit, since it is the primary group of user policykit. So then groupdel complains.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#2 2009-11-11 22:20:31

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Removing policykit gives error message [SOLVED]

This is already known and bugs have been filed. However, this won't get fixed, as policykit is deprecated and will get removed as soon as KDE and NetworkManager allow us to do so.

Offline

#3 2009-11-13 13:34:42

DarkVenger
Member
Registered: 2008-11-24
Posts: 35

Re: Removing policykit gives error message [SOLVED]

My question is related to the policykit "world", so I'm borrowing the thread smile

This move from HAL to stop using policykit and start using consolekit is going to break all the rules made in *fdi files on /etc/hal/fdi/policy/ ?
(I haven't upgraded yet) If so, where should the synaptics, keyboard, etc configurations, I have in that form, go? 

Thanks

Offline

#4 2009-11-13 16:31:41

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Removing policykit gives error message [SOLVED]

As I understand it, only the policykit rules (/etc/PolicyKit/PolicyKit.conf, /usr/share/PolicyKit/policy/*.policy) will no longer work.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#5 2009-11-13 17:06:51

DarkVenger
Member
Registered: 2008-11-24
Posts: 35

Re: Removing policykit gives error message [SOLVED]

Humm, so the *.fdi files in /etc/hal/fdi/policy/ will still be a form to communicate with HAL...:)

Offline

Board footer

Powered by FluxBB