Re: [opensuse] Policy Kit problems: 11.3 + KDE - fresh install



On Monday 23 August 2010 10:59:56 ian wrote:
Hello,
I upgraded both my desktop & laptop from 11.2 to 11.3 without any problems.
Last week though, my desktop started throwing file system errors & figured
the drive was probably dying. I booted from a live CD & was able to fsck
the disk but the system panicked on boot, so I decided to install from
scratch on a fresh drive & copy my data across. That all seemed to go will
until I tried to hibernate or suspend or to access removable media such as
my iPod or flash drives. Basically none of that works unless I login as
root (or do sudo pm- hibernate or sudo mount /media/whatever, but then
Amarok can't write to the iPod!).
After doing some googling & testing, I realised the problem seems to be
PolicyKit is preventing access - for instance if I run
dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
I get:
Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy:
org.freedesktop.hal.power-management.suspend auth_admin_keep_always <--
(action, result)

I tried comparing conf files between the old drive & then new system, but
can't seem to find any differences that would relate to this. In
particular, /etc/PolicyKit/PolicyKit.conf is the same on both - basically
empty apart from a <!DOCTYPE> tag, a comment & a version number.

I tried using KDE's System Policies settings but it doesn't seem to let you
save any changes.

Can anyone suggest a way to fix this?

Thanks,
Ian

I had this exact problem and raised this in the kde list with no joy from
anyone. Anyway here is the answer that I discovered and included in the
thread

"after running polkit --user ... I found my users had no rights. A bit of
investigation and a look in the security (within Yast) section i found that
changing the overall security from secure to easy provided me with the
appropriate policies."

A
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Windows 7
    ... SP4 update and subsequent security patches. ... measures were introduced in XP the Win2k didn't have. ... hard drives. ... I too partition my drives so as to place the OS in a nicely tight ...
    (uk.comp.homebuilt)
  • Re: More on caching and logging
    ... or do you think it also includes corporate security ... Refusing to boot up is a felony. ... I was going to run down some process involving hard drives ... Apple did to implement this new product or will they allow it to be ...
    (comp.sys.mac.system)
  • Re: RAID 5 drive replacement schedule
    ... I checked the RAID array and found ... Raid 5 is an IT field & technologie, and adds to the security by making 1 ... failed drive NOT impact availability. ... Change drive A and hope drives B & C will last longer. ...
    (Security-Basics)
  • Re: Access databases on 64bit Windows
    ... I am of the belief that Jet ULS is worthless, ... false sense of security, which I feel is worse than no security ... WDE the drives, remove the bootloader from the HD completely, and boot ... There are so many ways that a system, particularly on a network, can ...
    (comp.databases.ms-access)
  • Re: RAID 5 drive replacement schedule
    ... Chief Technology Officer ... Raid 5 is an IT field & technologie, and adds to the security by making 1 ... The only issue is that 2 drives fail at the same time, ...
    (Security-Basics)