The sympthoms are exactly the same as the ubuntu folks got over at the link and they've a patch already, could we just incorporate that? https://launchpad.net/ubuntu/+source/util-linux/+bug/71609 Using: sys-apps/util-linux-2.14.1 on ~amd64 P.S.: Do tell me if more info is needed. Reproducible: Always Steps to Reproduce: 1.Use UUID in your fstab (for ex. for a pendrive) 2.mount /mnt/x 3.umount /mnt/x Actual Results: umount: /mnt/kingston mount disagrees with the fstab Portage 2.2_rc20 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-glibc2.2.5 Timestamp of tree: Mon, 05 Jan 2009 07:15:01 +0000 app-shells/bash: 3.2_p48 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_US" MAKEOPTS="-j3" 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=" " SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 bzip2 cairo cli cracklib crypt cups dri gpm iconv isdnlog jpeg minimal mmx mudflap multilib ncurses nptl nptlonly opengl pam png pppd readline reflection session spl sse sse2 ssl sysfs threads truetype unicode xcb xorg xulrunner zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="route rate asym dmix dsnoop empty ioplug softvol plug" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
that patch is for util-linux-2.12 ... the code in question has changed dramatically with 2.14+, so that patch has no hopes of applying please try 2.14.2-rc1 ... just copy the 2.14.1 ebuild over and comment out the epatch lines in src_unpack if it still fails, post the exact line you're using in your /etc/fstab as well as the lines from /proc/mounts and /etc/mtab after the device has been mounted
Doesn't work. Copied the ebuild, renamed (to _rc1, to fulfill the syntax), commented, digested, emerged. umount -V: umount (util-linux-ng 2.14.2-rc1) /etc/fstab: UUID="3433-3231" /mnt/kingston auto noauto,quiet,rw,defaults,users 0 0 /proc/mounts: /dev/sdb1 /mnt/kingston vfat rw,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=cp852,iocharset=iso8859-2,quiet 0 0 /etc/mtab: /dev/sdb1 /mnt/kingston vfat rw,noexec,nosuid,nodev,quiet 0 0
stop using quotes in the fstab line and it should work fine
I'll be damned :D Works perfect. Thank you!