Bug 120911 - Automount with concurrent sessions
Summary: Automount with concurrent sessions
Status: RESOLVED NOT A BUG
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: media (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-28 12:59 UTC by Victor Suarez
Modified: 2006-06-09 23:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Suarez 2006-01-28 12:59:40 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Ubuntu Packages
Compiler:          gcc version 4.0.2 20050808 
OS:                Linux

If we have concurrent sessions in the same machine and a removable device (like a usb memory or iPod) is plugged, the active session could not have access to this device because other concurrent session was the first in mounting this device. Then the active session (the session owning the console) can not access or mount/umount the device.

It's irritating to have two concurrent sessions and connect the  usb stick or iPod and can not use them because always the background session is owning these devices.

Although this is not the better solution, I try use HAL configuration to force mount with "users" option, but seems that pmount (in Kubuntu 5.10) ignore these config data, so this workaround is not possible.

Thanks in advance
Comment 1 Stephan Kulow 2006-01-28 13:27:17 UTC
you need to tell kubuntu. KDE does not configure pmount
Comment 2 Victor Suarez 2006-01-28 13:40:00 UTC
Sorry. Forget my comments about pmount, KDE 3.5 on Kubuntu relies on KDE automounting system.
Comment 3 Stephan Kulow 2006-01-28 14:16:16 UTC
What KDE automounting system?
Comment 4 Victor Suarez 2006-01-28 14:41:58 UTC
KDED Media Manager, I think. Is there other possibility? (Sorry, but I'm not KDE expert). 

Playing with this issue, I found that almost always is the first opened session the owner of the device, be the console owner or not. If the active session (console owner) it is not the first opened session, this active session can not access to removable device.

Thank you for your rapid response.
Comment 5 Kevin Ottens 2006-01-28 18:17:42 UTC
KDE doesn't automount at all. But kubuntu is shipped with ivman which automatically mount.
Comment 6 Victor Suarez 2006-01-28 22:38:00 UTC
OK, if KDE doesn't automatically mount an usb memory stick or an iPod, why if I stop the KDED Media Manager service I don't get the device icon on the desktop?  Why KDE have a "Device Icons" tab in "Desktop Configuration/Behaviour"?  

IVMAN was uninstalled after upgrading to KDE 3.5, and automounting of removable devices is working ok (except by this issue).





Comment 7 Thiago Macieira 2006-01-31 18:53:59 UTC
The media manager polls the devices to know what you have, but it doesn't *mount* them. I've just tested it.
Comment 8 Victor Suarez 2006-02-01 00:08:15 UTC
Then I'm forwarding this bug to Kubuntu. I think know it uses pmount with the information that is generated with media manager, but... does media manager provide information about the user owning the console or concurrent instances of media manager fight for the resources? 

Thank you very much. 
Comment 9 Victor Suarez 2006-02-01 23:08:54 UTC
I mean "I think now..." :(
Comment 10 Kevin Ottens 2006-06-09 23:32:45 UTC
Since it was related to ivman anyway.