https://bugzilla.novell.com/show_bug.cgi?id=463997
User kq8z67r6309fo9001@sneakemail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=463997#c5
--- Comment #5 from Henryk Hecht 2009-01-10 14:47:31 MST ---
Regarding comment #4, in the initial situation, things worked neither in
runlevel 3 nor 5. After the fix above (but see below) they work in 5, but not
in 3. The problem in 3 for me is that ConsoleKit doesn't consider startx
sessions to be active, ever. Try ck-list-sessions in your startx environment
and check to see if "active" is true; probably it is not and you will either
have to fix the corresponding things in
/usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy or
/var/lib/PolicyKit-public. I was unable to find any configuration that worked
for me in runlevel 3. Otherwise, you can try to convince ConsoleKit that your
session really is active (as it is!), though I do not know how to do that.
This is a somewhat different bug.
Regarding my own comment #3 above, the fix outlined is actually insufficient.
I had copied /var/lib/PolicyKit-public from a working 11.1 machine, restarted
hal, tested, then rm'd it, copied the old one back, edited
org.freedesktop.hal.storage.mount-removable.defaults-override as stated, rchal
restarted, and then tested again. It worked. However, after a reboot, it no
longer worked, so the test was invalid. Is there another service that needs to
be restarted? Some sort of PolicyKit cache that isn't getting updated? I will
try to experiment some more to find the correct fix, but this is a very tedious
piece of software to work with, especially if I will have to reboot to do so.
Additionally, in testing, I frequently had polkit-auth complain that it ran out
of memory parsing policy files, particularly
/usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy (even when no
changes were made to the file, but the timestamp was newer than the others,
i.e. it had been edited back). I'm not sure what's going on here, or if a
separate bug should be opened for that.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.