Am Sonntag, 17. November 2013, 19:06:17 schrieb Ken Moffat: > (Bringing this here from support after finding the fix.) > > Early last month I discovered that a user could not umount anything > mounted via the 'user' option in fstab. OK, I expect many people > don't do that - it's typically for mounting external devices on a > desktop, and I guess that desktop environments use a raft of other > packages to let the user sitting at the machine do that. Anyway, > I've now found the fix: > > http://marc.info/?l=util-linux-ng&m=137945227914961&w=2 > which is in util-linux-2.24. I'm unsure if 2.23.1 was affected, I > don't have any systems using that. > > Investigation of my six LFS-7.4-or-newer x86_64 systems showed that > all of them needed this fix (to be clear, I upgraded to 2.24). My > one i686 system does NOT need this, so the problem might be specific > to x86_64.
Hmmm, here is what i get on a VIA-C3: lfs@io:~$ mount /mnt/pub lfs@io:~$ umount /mnt/pub umount.nfs: You are not permitted to unmount /mnt/pub lfs@io:~$ uname -a Linux io 3.11.6-LFS #1 SMP PREEMPT Mon Nov 4 03:30:14 CET 2013 i686 GNU/Linux lfs@io:~$ cat /etc/lfs-release SVN-20131021 lfs@io:~$ dir /sources/util* -rw-r--r-- 1 lfs users 3531936 2. Nov 13:40 /sources/util-linux-2.24.tar.xz The issue still seems to come up, even with utillinux-2.24 and on i686. Btw, the /mnt/pub is defined in the /etc/fstab as himalia:/data/pub /mnt/pub nfs _netdev,noauto,users,exec,defaults 0 0 I've really no deep knowledge about the whole mount stuff but could it also be an issue in the nfs-utils package as this provides the umount.nfs tool? Which file system types did you check ? > > Is this worth adding to the errata for 7.4 ? > > Also, on 5 of the 6 machines (desktops, running 3.11 or later > kernels) the last/last test in 2.24 fails when running the tests as > a user on a completed system before installing the newer version. It > was ok on my server which is using a 3.10 kernel. That's just an > unrelated data point. > > ĸen -- Thomas -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page