Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165079 - pmount dependency removal in kdebase-3.5.5-r1 stops umount via "safely remove" menu option working
Summary: pmount dependency removal in kdebase-3.5.5-r1 stops umount via "safely remove...
Status: RESOLVED DUPLICATE of bug 186028
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-03 00:48 UTC by Tom Simnett
Modified: 2008-01-09 15:57 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Simnett 2007-02-03 00:48:16 UTC
I have just installed gentoo on my laptop, and because it pulled in kdebase 3.5.5-r1, it didn't pull in pmount.

My usb pen drive will mount happily in this state, but safely remove doesn't work. When I install pmount, it is fine again. Suggesting that this dependency is put back in for now.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-03 00:57:53 UTC
So emerge pmount if you can't live without it, instead of trying to cram this thing down the throat for everyone else?
Comment 2 Antti Mäkelä 2007-02-08 14:09:44 UTC
Pmount was a dependency for KDE for a long time. It was removed in 3.5.5-r1 and now part of the functionality - automatic mounting AND unmounting of removable media fails.

Please add pmount back at least as an optional dependency, via USE flags.

kdebase-kioslaves changelog says

  02 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
  kdebase-kioslaves-3.5.5-r1.ebuild:
  pmount is no more a dependency.

Why did this happen? It's clearly (optionally) supported by KDE.

CC:ing flameeyes for an explanation.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-08 14:18:53 UTC
Don't CC me for bugs assigned to KDE, you just annoy the hell out of me because I get the mail on urgent bugs.

pmount is no more a _requirement_ for the functionality, as HAL can take care of the mount/unmount support on some setups.

If you need pmount support, you can install it by yourself, KDE will pick it up. Maybe a pmount useflag might help, but myself I don't feel the need for it.
Comment 4 Tom Simnett 2007-02-08 14:46:55 UTC
I think a pmount use flag would be really useful here. Is there
documentation anywhere as to how to get a setup working where pmount is
no longer needed, as is being suggested?
Comment 5 Federico Guglielmo Edoardo Granata 2007-02-21 08:58:35 UTC
I follow this guide http://www.gentoo.org/doc/en/kde-config.xml but "safely remove" don't remove my usb pen.
If I try to umount get "umount: /tmp/prova non si trova in fstab (e non si è root)" and I must use root to umount.

With pmount installed I have no problem.

I think HAL can't take care of the unmount support on some systems and NEED pmount to "safely remove"

P.S. sorry for my poor english.
Comment 6 Davide Cendron (RETIRED) gentoo-dev 2007-02-27 23:02:56 UTC
This issue seems to be partially resolved in KDE 3.5.6 (devices mounted/umounted fine without pmount installed)

I say "partially" because kio_media_mounthelper, after umounting the device, display an errore like "device umounted with success, but not cannot ejected properly"
Comment 7 David Grant 2007-03-31 11:34:46 UTC
I have kde 3.5.5, pmount installed and I still get this problem. I fixed it by following an instruction given at gentoo-wiki.com:

ln -s $(which ivman) ~/.kde/Autostart/ivman

http://gentoo-wiki.com/HOWTO_ivman#Starting_ivman_as_root

So you need to start ivman as root and as regular user.
Comment 8 David Grant 2007-03-31 11:37:07 UTC
Sorry ignore that last comment, it stopped working again.
Comment 9 Wulf Krueger (RETIRED) gentoo-dev 2007-07-08 11:26:06 UTC
Is this still a problem in 3.5.7?
Comment 10 Davide Cendron (RETIRED) gentoo-dev 2007-07-12 07:02:59 UTC
(In reply to comment #9)
> Is this still a problem in 3.5.7?
> 

The problem partially persists in 3.5.7.

I've checked it few seconds ago: without pmount, my USB stick is umounted with succes, but KDE shows up an error, already detailed in my comment #6.
Comment 11 Marcus D. Hanwell (RETIRED) gentoo-dev 2007-07-15 22:19:52 UTC
On all the systems I can test on pmount is not needed. I can confirm the bug about after umounting it gives an error about not being able to eject the device. I think this is probably more of an upstream issue, but may be if we get time we can take a look and see if it is possible to clean up.

I don't see why you would need pmount or ivman with KDE 3.5.7. If we do I would certainly be willing to look into this further. As far as I can see people are just getting the error right now? If that is the case I think it is workable but certainly needs polish.
Comment 12 Davide Cendron (RETIRED) gentoo-dev 2007-10-10 18:59:32 UTC
(In reply to comment #10)
> 
> I've checked it few seconds ago: without pmount, my USB stick is umounted with
> succes, but KDE shows up an error, already detailed in my comment #6.
> 

Ok, following the suggestion proposed here:

http://forums.gentoo.org/viewtopic-p-4195064.html#4195064

i've solved the problem. There's also a related bug: #186028
Comment 13 Timo Gurr (RETIRED) gentoo-dev 2007-11-20 19:00:44 UTC
Resolving this as DUP of bug 186028 since pmount is not the problem here.

*** This bug has been marked as a duplicate of bug 186028 ***