After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644087 - attempts to mount devices when session is inactive
attempts to mount devices when session is inactive
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-07 04:36 UTC by William Jon McCann
Modified: 2011-03-07 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
automount: don't queue volumes when the session is inactive (1.69 KB, patch)
2011-03-07 05:36 UTC, Cosimo Cecchi
committed Details | Review

Description William Jon McCann 2011-03-07 04:36:37 UTC
I just switched to another user session that I wasn't using for a few hours.  When I unlocked the screen I saw a stack of dialogs saying "Unable to mount DEVICE  Not authorized".

I had been using USB keys in another user account and it seems like this inactive session tried to mount them.

We shouldn't try to mount media when the session is inactive.
Comment 1 Cosimo Cecchi 2011-03-07 05:36:42 UTC
Created attachment 182674 [details] [review]
automount: don't queue volumes when the session is inactive
Comment 2 Cosimo Cecchi 2011-03-07 05:38:42 UTC
This is untested, but should help.