Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Sick and tired of Gnome automount issues

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

Sick and tired of Gnome automount issues

  • Quote

Post by haarp » Thu Dec 18, 2008 6:34 pm

Greetings.

This has been going on for a year or so now and started after a major Gnome update session. Others had similiar problems, but nothing really ever fixed it.
What is it? It's Gnome's automount that is COMPLETELY f*cked up.

Plugging in an USB stick:
- It gets mounted, and with any luck you will be greeted by a new Nautilus windows showing the contents. It will never be visible on the Desktop. With a bit of luck, it will appear under "Places" in a few hours or so.
- Nautilus offers you NO options to unmount it. Not in the file menu, not when right-clicking on the mounted-in folder. Try to unmount manually with umount /mnt/disk-1 ? Sucks for you: "/sbin/umount.hal: disk-1 is not recognized by hal"
[s]Well, use the proper umount then: /bin/umount /mnt/disk-1. That actually works and HAL notices it. GOD FORBID you unmount it from the root account! HAL does not notice that, .hal-mtab will get screwed up and it fails to remove the folder it created.[/s]
edit: looks like both are the same replaced umount commands. It takes a while until HAL "recognizes" your device. Probably the same while it takes to get it to show up under 'Places'

Having bind-mounts somewhere on your filesystem:
- Yeh, of course, you see THOSE on the Desktop. That's just what I needed! Useless clutter with no way to remove it! But under no circumstances will it show any actually useful icon for the USB stick.

Leaving the USB stick plugged in after unmountig it:
- After a few hours it will decide to mount it again. Just like that.

Internal drives show up under 'Places':
- Clicking on them will mount them and put them under .hal-mtab, but fails to register them with HAL

The are a number of threads about this already in the Gentoo Forums with a plethora of hints at how to fix this, none working. That's why I'm trying to address the whole problem in this thread here right now.

The following bugs should be fixed (by upstream):
- Integrate unmount command into Nautilus
- Fix the useless umount.hal command that takes over the old umount
- Make HAL notice when root unmounts something and update .hal-mtab accordingly and remove the old empty dir under /mnt or /media
- Show mounted devices on the Desktop
- Instantly show them under 'Places' aswell
- Do NOT show bind-mounts on the Desktop
- Don't mount previously-unmounted devices
- Fix HAL in the case of manually mounting the drive
Last edited by haarp on Fri Dec 19, 2008 5:24 pm, edited 5 times in total.
Top
Clad in Sky
l33t
l33t
User avatar
Posts: 900
Joined: Fri May 04, 2007 6:40 am
Location: Germany

  • Quote

Post by Clad in Sky » Fri Dec 19, 2008 2:47 pm

That sounds _really_ annoyed.
I can understand that, I was, too.
But somehow I got it fixed.
Maybe you should consider changing to xfce. Looks gnomey but seems to work without issues.
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Top
jonnevers
Veteran
Veteran
User avatar
Posts: 1594
Joined: Thu Jan 02, 2003 6:59 pm
Location: Gentoo64 land

  • Quote

Post by jonnevers » Fri Dec 19, 2008 3:06 pm

i haven't really experienced much of what you're saying but since i reinstalled i haven't really done much with removable media. i should see whats up with various types of media on a fresh ~amd64 gnome (2.24).

the one thing that gets me and i think you're mention this as two issues, i want removable media (usb drivers, cd/dvds) to show up on the desktop but i don't want ssh mounts to have icons on the desktop.

to me, these are two different types of things but nautilus treats them the same and exposes just a single option to display on desktop or not display on desktop that acts on both.
Top
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

  • Quote

Post by haarp » Mon Dec 22, 2008 9:32 pm

Yup, that's probably true. I am quite pissed at Gnome. And no, I'm not going to use xfce because of this ;)

It works for you guys? What are your useflags on the gnome-packages? What hardware/gnome related daemons and services are you running?
Top
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

  • Quote

Post by haarp » Sat Jan 03, 2009 8:26 pm

bump
Top
Abraxas
l33t
l33t
User avatar
Posts: 814
Joined: Sun May 25, 2003 1:00 pm

  • Quote

Post by Abraxas » Sat Jan 03, 2009 10:01 pm

haarp wrote:Yup, that's probably true. I am quite pissed at Gnome. And no, I'm not going to use xfce because of this ;)

It works for you guys? What are your useflags on the gnome-packages? What hardware/gnome related daemons and services are you running?
Automounting removable media is foobarred for me too. You're not the only one.
Top
Clad in Sky
l33t
l33t
User avatar
Posts: 900
Joined: Fri May 04, 2007 6:40 am
Location: Germany

  • Quote

Post by Clad in Sky » Sun Jan 04, 2009 9:38 am

USE Flags (for your reading enjoyment):

Code: Select all

[ebuild   R   ] sys-auth/pambase-20080318  USE="cracklib -consolekit -debug -gnome-keyring -mktemp -passwdqc (-selinux)" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-common-2.20.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/orbit-2.14.13  USE="-debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/gail-1.22.3  USE="-debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/libgtop-2.22.3  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-mime-data-2.18.0  USE="-debug" 0 kB [0]
[ebuild   R   ] x11-themes/gnome-backgrounds-2.22.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/gconf-2.22.0  USE="ldap -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/libbonobo-2.24.0  USE="-debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/libglade-2.6.3  USE="-debug -doc" 0 kB [0]
[ebuild   R   ] x11-themes/gnome-icon-theme-2.22.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/libgnomeui-2.22.1  USE="jpeg -debug -doc" 0 kB [0]
[ebuild   R   ] app-text/gnome-doc-utils-0.12.2-r1  USE="-debug" 0 kB [0]
[ebuild   R   ] net-analyzer/gnome-nettool-2.22.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-user-docs-2.22.1  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/gcalctool-5.22.3  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/libgnome-2.22.0  USE="esd -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/libgnomekbd-2.22.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/gconf-editor-2.22.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-vfs-2.22.0  USE="acl avahi fam hal ssl -debug -doc -gnutls -ipv6 -kerberos* -samba" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-media-2.22.0  USE="esd -debug -gnomecd -ipv6" 0 kB [0]
[ebuild   R   ] media-plugins/gst-plugins-gnomevfs-0.10.20  0 kB [0]
[ebuild   R   ] gnome-extra/gucharmap-2.22.3  USE="gnome -cjk -debug" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-menus-2.22.2  USE="python -debug" 0 kB [0]
[ebuild   R   ] gnome-extra/evolution-data-server-2.22.3-r1  USE="ldap ssl -debug -doc -gnome-keyring -ipv6 -kerberos -krb4" 0 kB [0]
[ebuild   R   ] gnome-extra/evolution-webcal-2.21.92  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-screensaver-2.22.2  USE="libnotify opengl pam -debug -doc -xinerama" 0 kB [0]
[ebuild   R   ] net-libs/xulrunner-1.8.1.19  USE="gnome java -debug -ipv6 -xinerama -xprint" 0 kB [0]
[ebuild   R   ] x11-terms/gnome-terminal-2.22.3-r1  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/yelp-2.22.1-r2  USE="xulrunner* -beagle -debug -lzma" 0 kB [0]
[ebuild   R   ] gnome-extra/swfdec-gnome-2.22.2  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/libgnomecanvas-2.20.1.1  USE="X -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/libbonoboui-2.22.0  USE="X -debug -doc" 0 kB [0]
[ebuild   R   ] x11-themes/gnome-themes-2.22.2  USE="-accessibility -debug" 0 kB [0]
[ebuild   R   ] gnome-extra/zenity-2.22.1  USE="libnotify -debug" 0 kB [0]
[ebuild   R   ] dev-python/gnome-python-2.22.0  USE="-debug -doc -examples" 0 kB [0]
[ebuild   R   ] gnome-extra/gtkhtml-3.18.3  USE="-debug -static" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-desktop-2.22.3  USE="-debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/eel-2.22.2  USE="X -debug" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-settings-daemon-2.22.2.1  USE="alsa esd gstreamer -debug" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-keyring-2.22.3  USE="hal pam -debug -doc -test" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-session-2.22.3  USE="branding tcpd -debug -ipv6" 0 kB [0]
[ebuild   R   ] gnome-extra/bug-buddy-2.22.0  USE="eds -debug" 0 kB [0]
[ebuild   R   ] app-text/gnome-spell-1.0.8  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/libgsf-1.14.7  USE="bzip2 gnome python -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/librsvg-2.22.2  USE="zlib -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-panel-2.22.2  USE="eds -debug -doc -networkmanager" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-system-monitor-2.22.3  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-applets-2.22.3  USE="acpi gnome gstreamer hal -apm -debug -doc -ipv6 (-test%)" 0 kB [0]
[ebuild   R   ] net-analyzer/gnome-netstatus-2.12.1  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-power-manager-2.22.1  USE="X -debug -doc -test" 0 kB [0]
[ebuild   R   ] gnome-base/nautilus-2.22.5.1  USE="X gnome -beagle -debug" 0 kB [0]
[ebuild   R   ] x11-libs/gksu-2.0.0  USE="gnome -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-mount-0.6  USE="gnome -debug" 0 kB [0]
[ebuild   R   ] media-video/totem-2.22.2-r1  USE="bluetooth gnome nautilus python xulrunner -debug -galago -lirc -nsplugin -nvtv -seamonkey -tracker" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-control-center-2.22.2.1  USE="eds esd hal -debug" 0 kB [0]
[ebuild   R   ] gnome-extra/nautilus-cd-burner-2.22.1  USE="cdr dvdr -debug" 0 kB [0]
[ebuild   R   ] gnome-base/gdm-2.20.7  USE="branding pam tcpd -accessibility -afs -debug -dmx -gnome-keyring -ipv6 -remote (-selinux) -xinerama" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-volume-manager-2.24.0-r1  USE="-automount -consolekit -debug" 0 kB [0]
[ebuild   R   ] gnome-extra/fast-user-switch-applet-2.22.0  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/gvfs-0.2.5-r3  USE="avahi cdda gnome hal -bash-completion -debug -doc -fuse -gnome-keyring -gphoto2 -samba" 0 kB [0]
[ebuild   R   ] net-misc/vino-2.22.2  USE="avahi crypt jpeg libnotify zlib -debug -gnome-keyring -gnutls -ipv6" 0 kB [0]
[ebuild   R   ] net-im/ekiga-2.0.12  USE="avahi dbus gnome sdl -debug -doc" 0 kB [0]
[ebuild   R   ] net-print/libgnomecups-0.2.3  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/libgnomeprint-2.18.4  USE="cups -debug -doc" 0 kB [0]
[ebuild   R   ] net-print/gnome-cups-manager-0.33  USE="-debug" 0 kB [0]
[ebuild   R   ] gnome-base/libgnomeprintui-2.18.2  USE="-debug -doc" 0 kB [0]
[ebuild   R   ] app-text/evince-2.22.2-r1  USE="dbus gnome tiff -debug -djvu -doc -dvi -gnome-keyring -t1lib" 0 kB [0]
[ebuild   R   ] dev-python/gnome-python-desktop-2.22.0  USE="X eds -debug -doc" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-utils-2.20.0.1  USE="hal -debug -ipv6" 0 kB [0]
[ebuild   R   ] gnome-extra/deskbar-applet-2.22.3.1  USE="eds spell -debug -test" 0 kB [0]
[ebuild   R   ] app-crypt/seahorse-2.22.3  USE="avahi dbus ldap libnotify nautilus* xulrunner* -applet -debug -epiphany -gedit -gnome-keyring" 0 kB [0]
[ebuild   R   ] gnome-extra/gnome-games-2.22.3  USE="X opengl -artworkextra -debug -guile" 0 kB [0]
[ebuild   R   ] gnome-base/gnome-2.22.3  USE="cdr cups dvdr esd ldap -accessibility -mono" 0 kB [0]

As for the netmounts: I don't know WHAT to do exactly, but there are the files
/usr/share/hal/fdi/preprobe/10osvendor/10-ide-drives.fdi
/root/99-redhat-storage-policy-fixed-drives.fdi
in which you're supposed to change that behaviour. I found that somewhere here on this forum because I didn't want a mount to show up on the desktop, but I do not remember what to change in the files.
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Top
straightlineapple
n00b
n00b
Posts: 43
Joined: Mon Apr 17, 2006 10:25 pm

  • Quote

Post by straightlineapple » Tue Jan 06, 2009 5:43 pm

Hi,
I am having the same kind of problem here with gnome 2.22 on amd64. Some of the issues:

[*] DVDs won't mount automatically
[*] USB won't mount automatically
[*] If something is on the cd drive when the computer starts, it won't get mounted either
[*] Mounting things with the Disk Mounter doesn't make them appear on the desktop
[*] Nautilus can't mount anything when one clicks over its icon on "Computer"

It would be nice if someone posted here all the partial solutions that have been proposed so far on other topics, it would really help a lot!

Thanks
Top
gemini91
Guru
Guru
Posts: 317
Joined: Thu Nov 27, 2003 12:25 pm
Location: Naples, Fl

  • Quote

Post by gemini91 » Wed Jan 07, 2009 2:04 pm

usb memory sticks mount fine, and umount OK. dvd's and cd's also mount
and unmount with out any problems. I run ~amd64, Gnome-2.24.2 and
hal is :

Calculating dependencies... done!
[ebuild R ] sys-apps/hal-0.5.11-r6 USE="X acpi laptop -apm -crypt -debug -dell -disk-partition -doc (-selinux)" 0 kB

The only thing I know that is different is that I prefer to have the other partitions on my machine mount
automatically, and apparently that is not how hal works. So I delete the following file to make that happen.

/usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi

Apparently that does not work for everyone, but after every hal update I delete it and my partitions mount.
Top
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

  • Quote

Post by haarp » Mon Jan 12, 2009 3:09 am

Heh. Tried updating Gnome to no avail.

Automount even interferes with Gparted. Everytime it does something, the drives get reinitialized and the automounter starts mounting all the internal and external things he can get his ugly hands on... It is impossible to use gparted in this state, except when disabling HAL completely (which gparted depends upon or it won't start!)
Top
haarp
Guru
Guru
Posts: 535
Joined: Wed Oct 31, 2007 12:44 pm

  • Quote

Post by haarp » Mon Jan 12, 2009 4:09 am

Major breakthrough!

No fancy hal-rule-editing was necessary. I have gnome-volume-manager -with- the automount useflag installed.
I long had a symlink from /media pointing to /mnt, cause I didn't accept the fact that someone was to decide where I mount my stuff. I finally gave up on that and made /media an extra folder. The results are impressive:

- Nautilus recognizes drives instantly and correctly
- Nautilus offers an 'unmount' option
- The drive shows up on the desktop
- hal.mtab gets updated properly and the folder gets removed when it is no longer needed

As for removable drives like floppies or cdroms: Remove their /etc/fstab entries. Then they will integrate with Nautilus and HAL and work properly, show unmount buttons, etc.
So I guess the whole thing was my fault all along.

These problems remain:
- bind/ssh-mounts and a few others remain on the Desktop, although unneeded and they can't be removed individually. -> Get rid of them
- Don't mount EVERYthing you can get your hands on and that is not in the fstab!
- I would like persistent mounts in the fstab to be recognized and more nicely integrated into Gnome
I haven't tested how HAL/Gnome handles manual unmounting by root yet.
Top
Clad in Sky
l33t
l33t
User avatar
Posts: 900
Joined: Fri May 04, 2007 6:40 am
Location: Germany

  • Quote

Post by Clad in Sky » Mon Jan 12, 2009 6:39 am

Congratulations!
haarp wrote:So I guess the whole thing was my fault all along.
No! It all worked fine (I assume) before you upgraded Gnome. So they screwed up, not you. It's that tedious tendency of the Gnome devs to reinvent the wheel or make things "easier".

For your those unneeded things on the desktop you should have a look around the fora. I vaguely remember a post that dealt with this. You had to edit one of these fdi-policy thingies.
Take a look: http://forums.gentoo.org/viewtopic-t-69 ... ight-.html
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Top
timeBandit
Bodhisattva
Bodhisattva
User avatar
Posts: 2719
Joined: Fri Dec 31, 2004 1:54 am
Location: here, there or in transit

  • Quote

Post by timeBandit » Wed Jan 21, 2009 4:53 pm

Clad in Sky wrote:For your those unneeded things on the desktop you should have a look around the fora. I vaguely remember a post that dealt with this. You had to edit one of these fdi-policy thingies.
Take a look: http://forums.gentoo.org/viewtopic-t-69 ... ight-.html
Before following any recommendations to edit FDI policy files under /usr/share/hal, [topic=729551]read this[/topic].
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Top
letrec_
n00b
n00b
Posts: 2
Joined: Mon Jul 06, 2009 12:34 am

  • Quote

Post by letrec_ » Mon Jul 06, 2009 12:41 am

Is there a solution for the Gnome hal automount issue? I am experiencing similar problems on amd64 after an upgrade to GNOME 2.24.3 with hal-0.5.11
Top
Post Reply

14 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic