View previous topic :: View next topic |
Author |
Message |
yeye_olive n00b
Joined: 21 Apr 2006 Posts: 17
|
Posted: Mon Jan 01, 2007 8:37 pm Post subject: kdebase-kioslaves not depending on pmount any more |
|
|
I recently upgraded from kdebase-kioslaves-3.5.2 to kdebase-kioslaves-3.5.5-r1. Enabling the 'hal' USE flag allows me to mount and unmount removable devices under KDE. However, after the upgrade I discovered that pmount was not needed on my system any more. I checked the ebuilds, and indeed kdebase-kioslaves-3.5.2 with hal enabled depends on pmount, while kdebase-kioslaves-3.5.5-r1 does not. If I keep pmount everything works as before, but if I remove it I can still mount removable devices but not unmount them...
Why was this dependecy removed? Also, why is KDE still able to mount devices without pmount? Thanks in advance.
For info, here is how the relevant packages are installed on my system:
Code: | kde-base/kdebase-kioslaves-3.5.5-r1 USE="hal ldap -arts -debug -kdeenablefinal -kdehiddenvisibility -openexr -samba -xinerama"
sys-apps/hal-0.5.7-r3 USE="acpi crypt -debug -dmi -doc -pcmcia (-selinux)"
sys-apps/dbus-0.62-r2 USE="X python qt3 qt4 -debug -doc -gtk -mono (-selinux)"
sys-apps/pmount-0.9.9 USE="crypt"
|
|
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
Posted: Mon Jan 01, 2007 9:07 pm Post subject: |
|
|
I had a similar problem.
After you have removed pmount, try an:
and restart kde. _________________ Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche |
|
Back to top |
|
|
yeye_olive n00b
Joined: 21 Apr 2006 Posts: 17
|
Posted: Tue Jan 02, 2007 12:10 pm Post subject: |
|
|
Thanks for your reply, arabis. I tried what you suggested, but it did not change anything. KDE can still mount devices, but not unmount them. Here is how I re-emerged kdelibs:
Code: | kde-base/kdelibs-3.5.5-r5 USE="alsa cups fam spell ssl -acl -arts -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -tiff -utempter -xinerama -zeroconf" LINGUAS="-he" |
Is something wrong in my USE flags? Or should I rebuild other packages? |
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
Posted: Tue Jan 02, 2007 8:21 pm Post subject: |
|
|
Are you using Ivman?
Can you post your /etc/fstab. _________________ Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche |
|
Back to top |
|
|
yeye_olive n00b
Joined: 21 Apr 2006 Posts: 17
|
Posted: Wed Jan 10, 2007 9:45 am Post subject: |
|
|
Sorry for not replying sooner, I was away. I do not use ivman and my /etc/fstab is quite basic:
Code: | # /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT /boot ext2 noauto,noatime 1 1
/dev/hda5 / reiserfs noatime 0 0
/dev/hda6 none swap sw 0 0
/dev/hda7 /home ext3 noatime 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 |
|
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
Posted: Sun Jan 14, 2007 12:49 pm Post subject: |
|
|
Your config seems OK,
Can you explain exactly what you mean by "KDE can still mount devices, but not unmount them"?
What do you do to unmount a device with KDE?
Can you right click on the media's icon and choose "remove from..." and after safely remove it? _________________ Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche |
|
Back to top |
|
|
Kernel78 Moderator
Joined: 24 Jun 2005 Posts: 3654
|
Posted: Tue Jan 16, 2007 9:10 am Post subject: |
|
|
arabis wrote: | Your config seems OK,
Can you explain exactly what you mean by "KDE can still mount devices, but not unmount them"?
What do you do to unmount a device with KDE?
Can you right click on the media's icon and choose "remove from..." and after safely remove it? |
Sorry for my poor english
I have the same problem and same configuration.
When I try to safely remove a usb device I right click on the icon of mounted device and select "remove safely" but the green triangle remain ...
I must use root account to umont that device (normal user get an error).
Whit pmount installed I can really "remove safely" any devices.
Sorry again ... _________________ Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con Code: | grep -vE '(^[[:space:]]*($|(#|!|;|//)))' |
|
|
Back to top |
|
|
arabis Apprentice
Joined: 11 Apr 2005 Posts: 195 Location: Québec, Canada
|
Posted: Tue Jan 16, 2007 11:57 am Post subject: |
|
|
Are you, as user, in the plugdev group? _________________ Acer Ferrari 4002 WLMI fr
AMD64, Turion ML-30
ATI Mobility X700
DVDR double couche |
|
Back to top |
|
|
Kernel78 Moderator
Joined: 24 Jun 2005 Posts: 3654
|
Posted: Tue Jan 16, 2007 12:06 pm Post subject: |
|
|
arabis wrote: | Are you, as user, in the plugdev group? |
yes
Code: | $ groups
wheel audio cdrom video games cdrw usb users edo plugdev stats vmware |
_________________ Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con Code: | grep -vE '(^[[:space:]]*($|(#|!|;|//)))' |
|
|
Back to top |
|
|
Aysen Apprentice
Joined: 18 May 2005 Posts: 187 Location: Poland
|
Posted: Sat Jan 20, 2007 1:00 pm Post subject: pmount not in KDE's dependencies? [MOVED to topic 528521] |
|
|
I've noticed that emerge --depclean -p wants to remove pmount.
So far I've thought it's needed by KDE to allow users to (un)mount removable devices, but I thought maybe it's not needed anymore. So I unmerged it and, of course, I could no longer use my USB stick without switching to root.
So if pmount actually is needed, why isn't it in deps?
Last edited by Aysen on Sat Jan 20, 2007 9:56 pm; edited 1 time in total |
|
Back to top |
|
|
Samoth Tux's lil' helper
Joined: 07 Jan 2006 Posts: 117 Location: NJ
|
Posted: Sat Jan 20, 2007 8:49 pm Post subject: |
|
|
What are your USE flags like? that can affect whether pmount is a dep of kde. _________________ The Early Bird may get the worm, but the second mouse gets the cheese. |
|
Back to top |
|
|
noice Guru
Joined: 05 Dec 2005 Posts: 473 Location: italia, Ischia
|
|
Back to top |
|
|
Aysen Apprentice
Joined: 18 May 2005 Posts: 187 Location: Poland
|
Posted: Sat Jan 20, 2007 9:45 pm Post subject: |
|
|
Samoth wrote: | What are your USE flags like? that can affect whether pmount is a dep of kde. | My situation is identical to the one in the thread noice pointed to (thank you, noice!). I use KDE 3.5.5 and kdebase-kioslaves 3.5.5-r1 doesn't depend on pmount at all (no USE flag changes that). However, kdebase-kioslaves 3.5.2 does depend on pmount.
I'll stick to the other thread, so if you want to help me further, please follow me. It'll be easier for everyone to keep things in one place. |
|
Back to top |
|
|
Aysen Apprentice
Joined: 18 May 2005 Posts: 187 Location: Poland
|
Posted: Sat Jan 20, 2007 9:53 pm Post subject: |
|
|
Moved from https://forums.gentoo.org/viewtopic-p-3855906.html.
I'm in an identical situation (KDE 3.5.5 doesn't depend on pmount, so removed pmount; can mount but can't umount in KDE as user; the user is in plugdev group; no ivman nor other automounters on this box; the fstab has no entries for removable devices).
The question is - is pmount actually needed by KDE (so the lack of dependency is a bug) or should KDE be able to umount devices without it (so we need to fix our setups)?
Does anyone know? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Jan 21, 2007 7:26 am Post subject: |
|
|
merged here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Zarhan l33t
Joined: 27 Feb 2004 Posts: 997
|
Posted: Tue Jan 23, 2007 1:34 pm Post subject: |
|
|
Ran into same issue. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Tue Jan 23, 2007 3:41 pm Post subject: |
|
|
The quick fix in this case is to emerge --noreplace sys-apps/pmount to add pmount to the world target, without necessarily reinstalling it. |
|
Back to top |
|
|
LinuxDude n00b
Joined: 27 Apr 2002 Posts: 57
|
Posted: Thu Jan 25, 2007 4:58 am Post subject: |
|
|
I have the same issue with my brand new system I built today.
This is the second issue I have had with the new DBUS/HAL setup that has yet to be resolved. You would think these would be thoroughly tested before marking them stable.
The other issue is a Gnome issue where hal seems to be screwing up again and can't find an already mounted volume.
Hopefully this will be fixed soon. _________________ Core 2 Baby |
|
Back to top |
|
|
|