sys-apps/hal-0.5.10 gnome-base/gnome-volume-manager-2.22.1 I have start hald and gnome-volume-manager , but gnome didn't autoumount my usb disk any more. It works in gnome 2.20. Reproducible: Couldn't Reproduce Steps to Reproduce: I use gconf-editor modify /desktop/gnome/volume_manager/automount_drives, but still not work.
Do you have nautilus running? I believe most or all of the automounting has gone into there (unfortunately)
Also be sure that you *don't have* a file called "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi", it is dropped by gparted when it doesn't exit properly (for example when crashes) causing problems like this
I have nautilus running and I don't have "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" file.
Maybe this is why policykit-* and gnome-mount were masked: # Saleem Abdulrasool <compnerd@gentoo.org> (23 Nov 2007) # These might break automounting, so keep them masked for now. >=sys-auth/policykit-0.6 >=gnome-base/gnome-mount-0.7 >=gnome-extra/policykit-gnome-0.6 I have seen that ubuntu, fedora and opensuse are using policykit-*-0.7 and a snapshot from february for gnome-mount-0.8 (pre)
My problem is gnome-2.22 always automount U-disk and all other partitions (the ntfs patitions) and dvds when I login gnome or plug them in, even I emerge -C gnome-volume-manager. I don't know why, just have to use root to umount /media/* everytime. this only happened after I login gnome. hal-0.5.10 gnome-vfs-2.22.0 gnome-mount-0.4
After I upgrade gnome-mount to 0.7 U disk work as expected, but usb hard disk still always automounting. When I plug usb hard disk in, all the reiserfs patitions were automounted and displayed via nautilus. Seems, this is the problem of gnome-mount
gnome-mount is masked because of its policy kit dependency. Try with gnome-mount 0.6, it should have been pulled by gnome-volume-manager already but somehow you didn't get the upgrade it seems.
I'm getting these warnings: gnome-mount 0.6 ** (gnome-mount:23264): WARNING **: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_47C9_5058 org.freedesktop.Hal.Device.Volume.AlreadyMounted : Device /dev/sdd1 is already mounted. (gnome-mount:23264): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (gnome-mount:23264): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-mount:23264): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (gnome-mount:23264): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
could you attach your fstab and the output of /proc/mounts and /etc/mtab ? thanks
Created attachment 148583 [details] after boot OS Previous warnings I get after plugin pendrive. Here are mounts and mtab for pendrive: cat /proc/mounts [...] /dev/sdd1 /media/michal vfat rw,nosuid,nodev,uid=1000,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1 0 0 cat /etc/mtab [...] /dev/sdd1 /media/michal vfat rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000 0 0
I'm sorry about this. I made a misstake. I found I disabled scsi support in kernel,so usb disk can't mount.Recompile my kernel and enable scsi support, automount works again. So , close this bug?
I am also having issues. Before i upgraded from 2.20.1 to 2.22 my automounts would work. I have an NFS share that is mounted bu a script if i am at home. I have a SD card that used to automount when i would plug it in but no longer does. The NFS script still works and mounts the share but the icon no longer appears on the desktop or in the places menu. i have an ipod which i can get to auto mount if i plug it in then unplug it then plug it in again. cdroms are also not mounting automatically. i have gnome-volume-manager-2.22.1 i have gnome-mount-0.6 here is my fstab /dev/sda1 /boot ext3 noatime 1 2 /dev/sda3 / ext3 noatime 0 0 /dev/sda2 none swap sw 0 0 /dev/sr0 /mnt/cdrom iso9660 noauto,users,ro 0 0 slacker:/storage /storage nfs noauto,users,tcp,rsize=8192,wsize=8192,hard,intr,async,nolock,timeo=600 0 0 /dev/mmcblk0p1 /mnt/sd vfat noauto,noatime,rw,users 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 /dev/sdb2 /mnt/ipod vfat noatime,async,nodev,nosuid,user,rw,users,noauto 0 0 here is my mtab slacktop ~ # cat /etc/mtab /dev/sda3 / ext3 rw,noatime 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0 udev /dev tmpfs rw,nosuid 0 0 devpts /dev/pts devpts rw,nosuid,noexec 0 0 /dev/sda1 /boot ext3 rw,noatime 0 0 shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 slacker:/storage /storage nfs rw,users,tcp,rsize=8192,wsize=8192,hard,intr,nolock,timeo=600,addr=192.168.2.27 0 0 /dev/sdb2 /mnt/ipod vfat rw,noexec,nosuid,nodev,noatime,user=zak 0 0 /dev/sr0 /mnt/cdrom iso9660 ro,noexec,nosuid,nodev 0 0 /dev/sdc2 /media/ZAK vfat rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000 0 0 slacktop ~ # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2 i686) ================================================================= System uname: 2.6.24-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.73GHz Timestamp of tree: Fri, 04 Apr 2008 00:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r4, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d/hostname /etc/modules.autoload.d/kernel-2.6 /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/X11/app-defaults /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/xeffects /usr/portage/local/layman/kde /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa arts berkdb bluetooth cairo cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos lame ldap mad midi mikmod mono mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real reflection samba sdl session spell spl sse ssl svg tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS slacktop ~ #
Please remove those lines. HAL does not manage stuff that gets put in your fstab. > /dev/sr0 /mnt/cdrom iso9660 noauto,users,ro 0 0 > /dev/mmcblk0p1 /mnt/sd vfat noauto,noatime,rw,users 0 0 > /dev/sdb2 /mnt/ipod vfat noatime,async,nodev,nosuid,user,rw,users,noauto 0 0 If that doesn't work, please open a new bug as I'll be closing that one INVALID. Thanks