openSUSE Forums > Pre-Release/Beta » issues with policykit

Go Back   openSUSE Forums > Pre-Release/Beta
Forums FAQ Members List Search Today's Posts Mark Forums Read


Pre-Release/Beta Questions about pre-release versions of openSUSE Linux (software & hardware)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Nov-2009, 13:29
phocean's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 45
phocean hasn't been rated much yet
Default issues with policykit

Hi,

I am having a lot of issues with policykit.
It is requesting me for authentication every time I want to mount a usb key or suspend.

The latter is very annoying, because it logs me out and stays on.
I have to log in back, authenticate against policykit and only then it suspends... leaving the computer suspended without any password protection !

Whatever I set, it still asks me for a password even whith theses settings :

Code:
% polkit-auth
org.freedesktop.hal.dockstation.undock
org.freedesktop.hal.power-management.shutdown
org.freedesktop.hal.power-management.shutdown-multiple-sessions
org.freedesktop.hal.power-management.reboot
org.freedesktop.hal.power-management.reboot-multiple-sessions
org.freedesktop.hal.power-management.set-powersave
org.freedesktop.hal.power-management.suspend
org.freedesktop.hal.power-management.hibernate
org.freedesktop.hal.power-management.cpufreq
org.freedesktop.hal.power-management.lcd-panel
org.freedesktop.hal.power-management.light-sensor
org.freedesktop.hal.power-management.keyboard-backlight
org.freedesktop.hal.wol.enabled
org.freedesktop.hal.wol.enable
org.freedesktop.hal.wol.supported
org.freedesktop.hal.lock
org.freedesktop.hal.storage.mount-fixed
org.freedesktop.hal.storage.mount-removable
org.freedesktop.hal.storage.unmount-others
org.freedesktop.hal.storage.eject
org.freedesktop.hal.storage.crypto-setup-removable
org.freedesktop.hal.leds.brightness
org.freedesktop.hal.killswitch.bluetooth
org.freedesktop.hal.killswitch.wlan
org.freedesktop.hal.killswitch.wwan
org.freedesktop.policykit.revoke
I also tried to set "console active" to YES but it seems to be just ignored.

I opened a bug but no news so far (https://bugzilla.novell.com/show_bug.cgi?id=550496).

What's weired is that I have a vmware also running 11.2, and there is no problem.

I compared every single config file, even using md5, of dbus and policikit, checked the user groups and found no difference.

Any idea here ? Or maybe more users having such issues ?
Reply With Quote
  #2 (permalink)  
Old 02-Nov-2009, 15:04
conram's Avatar
Wise Penguin
 
Join Date: Jun 2008
Posts: 1,000
conram 's reputation will be famous soon enoughconram 's reputation will be famous soon enoughconram 's reputation will be famous soon enough
Default Re: issues with policykit

It looks like almost the same as I encountered on my opensuse 11.2 rc2 installation. (first time attempt installing on the hard drive with kde 4.3 live cd) I can't mount/umount cdrom, usb drive, and same with suspend etc. I fiddled around to find what's causing it. I tried adding xfce 4.6.1 to compare installing also ivman and enabling it didn't work. But going into the kde 4.3 systemsettings-advance-system-policykit authorization-org.freedesktop-hal and giving authorization to my user 'conram' I was able to solve the problem. It's all working now. It didn't came to mind as a bug, rather a new feature also I was able to solve it so too late for me to substantiate my experience.

Please if that work for you do post back here or maybe do post to the bugzilla for a feedback.
__________________
People who do not break things first will never learn to create anything
Reply With Quote
  #3 (permalink)  
Old 02-Nov-2009, 15:16
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,804
Knurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enough
Default Re: issues with policykit

No issues here. Did you try creating a new user, and see if the erroneous behaviour is the same when logged in as the new user?
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 KDE4 4.3.3
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.3

R.E.S.T.E.C.P.
Reply With Quote
  #4 (permalink)  
Old 02-Nov-2009, 16:04
phocean's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 45
phocean hasn't been rated much yet
Default Re: issues with policykit

Yes, I also tried it and same problems...
Reply With Quote
  #5 (permalink)  
Old 02-Nov-2009, 16:15
phocean's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 45
phocean hasn't been rated much yet
Default Re: issues with policykit

Quote:
Originally Posted by conram View Post
It looks like almost the same as I encountered on my opensuse 11.2 rc2 installation. (first time attempt installing on the hard drive with kde 4.3 live cd) I can't mount/umount cdrom, usb drive, and same with suspend etc. I fiddled around to find what's causing it. I tried adding xfce 4.6.1 to compare installing also ivman and enabling it didn't work. But going into the kde 4.3 systemsettings-advance-system-policykit authorization-org.freedesktop-hal and giving authorization to my user 'conram' I was able to solve the problem. It's all working now. It didn't came to mind as a bug, rather a new feature also I was able to solve it so too late for me to substantiate my experience.

Please if that work for you do post back here or maybe do post to the bugzilla for a feedback.
I am using Gnome, but I tried pretty the same by granting every thing to my user with polkit-gnome-authorization.
The setting have effect on, for instance, setting the screen brightness, but it seems to be ignored for every thing concerning suspend and disks.
Reply With Quote
  #6 (permalink)  
Old 02-Nov-2009, 17:04
phocean's Avatar
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 45
phocean hasn't been rated much yet
Default Re: issues with policykit

I found a solution !

In Yast, I went to the security settings tool and "predifined security parameter".

There, "personalized parameters" was checked. I checked private desktop and applied it... and now everything works fine !

I may translate incorrectly from French, but I think you can find it easily.

In a way I am not really satisfied though, as I still have no idea of what went wrong and how.
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2