Well now, that took almost a week (since the Beta2 update of the working Beta1 system) but now I feel almost euphoric. Once more can I click on an external drive icon in the file manager to mount it without entering a root password, and even better, I understand 80% of what went wrong.
It started the day before Beta2 was released. I was exploring display manager alternatives to the rather ugly, but perfectly functional LXDM. I installed SLiM but didn't use it straight away as I was experimenting with configuration changes to LXDM. Nothing seemed to make much of a difference until I re-booted and saw what I thought was an alternative version of LXDM which was less ugly, but decidedly minimalist. What I didn't know until tonight is that it was actually SLiM which was now in use.
I don't know how it caused the malfunction, but while I was inadvertently using the SLiM dm to log in to LXDE the vt1 console was always busy when the dm started (and stayed busy) so the log-in was always on vt2. As well as that, Console-Kit was convinced that I was not either an "active" or a "local" user. I could see this from the output of
- Code: Select all
[rich@Tureen ~]$ ck-list-sessions
Session9:
unix-user = '501'
realname = 'Rich'
seat = 'Seat10'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty2'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2012-03-22T01:07:11.139010Z'
login-session-id = '4294967295'
The knock-on effect was that udisks2 default rules in /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
- Code: Select all
<action id="org.freedesktop.udisks2.filesystem-mount">
<description>Mount a filesystem</description>
<message>Authentication is required to mount the filesystem</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
would only permit a password-free mount of external drives for an "active" user and as it asks consolekit for the user's status it was failing.
When I switched back to LXDM from SLiM the boot process on vt1 now completed correctly, the log-in screen is displayed there and I am both "active" and "local" in my LXDE session,
- Code: Select all
[rich@Tureen ~]$ ck-list-sessions
Session1:
unix-user = '501'
realname = 'Rich'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty1'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2012-03-22T00:57:52.033790Z'
login-session-id = '1'
according to consolekit. And guess what, mounting external drives works again.
I'm calling that a result. And possibly a bug in SLiM too, as it does not play so well with consolekit.
UPDATE;
https://bugs.mageia.org/show_bug.cgi?id=5051