PDA

View Full Version : usb stick automount no longer working


rockdoctor
28th February 2012, 09:05 PM
Just upgraded a two-month old Rawhide installation (LXDE) to currenent F17 branched, and am encountering an issue when mounting usb sticks. Now, instead of automounting the usb stick as the current user, I'm presented with an Authentication dialog box in which the Identity is root (no choice of current non-root user) and I'm required to give root's password in order to mount the device. In F16 (and prior to the latest upgrade), no authentication was required. How do I avoid the authentication dialog and go back to automounting? TIA

downer
29th February 2012, 12:21 AM
Just a stab in the dark, but do you have anything for /dev/sdb1 in your /etc/fstab ? I don't and have no trouble.

AdamW
29th February 2012, 03:53 AM

i'm suspecting an issue between lxde and policykit, here. is lxpolkit installed?

sea
29th February 2012, 10:11 AM
Not sure if it matters, have you enabled autofs.service?

rockdoctor
29th February 2012, 02:28 PM
Thanks for the suggestions.

Lxpolkit is installed, there is no reference to /dev/sdb1 (or /dev/sdg1, where my usb sticks typically mount) in /etc/fstab, and service autofs status yields the following message:
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)However, it looks like it's a runlevel3 (doesn't work properly) vs. runlevel 5 (works properly) problem. Bugzilla time, but against which component?

AdamW
1st March 2012, 05:28 AM
erm, tricky question. i'd say pick some LXDE component, because then it ought to get assigned to the right person to figure out where the bug really is.

sea
1st March 2012, 08:08 AM
Have a try with:
systemctl start autofs.service
systemctl enable autofs.service

Then reboot, if its still not working file a bug.

AdamW
1st March 2012, 07:09 PM
autofs.service is not used for automounting by any desktop and so it's really irrelevant to this problem. it's a separate mechanism really meant for use in more complex cases by sysadmins.