[Bug 620382] [NEW] smbmount allows mounting the same ressource multiple times on the same mountpoint

nomike michael.postmann at gmail.com
Thu Aug 19 11:55:16 BST 2010


Public bug reported:

Binary package hint: samba

I'm running "Ubuntu 10.04.1 LTS".
I tried to mount a network share using the following command:

sudo smbmount //P1at.s-group.cc/Shared/Global/ /mnt/ -o
user=s4773,dom=i0188

I realized I could not write to the share as a regular user so I ran

sudo smbmount //P1at.s-group.cc/Shared/Global/ /mnt/ -o
user=s4773,dom=i0188,remount,rw,user

two times.
This resulted in "//P1at.s-group.cc/Shared/Global/" being mounted to "/mnt/" 3 times.

Running " LC_ALL=C umount /mnt/" produced "umount: it seems /mnt is mounted multiple times".
Running "sudo umount /mnt/" unmounted one of the mounts.

The "mount" commando still outputs:
...
//P1at.s-group.cc/Shared/Global/ on /mnt type cifs (rw,mand)
//P1at.s-group.cc/Shared/Global/ on /mnt type cifs (rw,mand)


Running "sudo umount /mnt/" again produces:

This utility only unmounts cifs filesystems.
This utility only unmounts cifs filesystems.
This utility only unmounts cifs filesystems.

I did not find a way to umount them and rebootet my System.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~dfsg-1ubuntu3.1
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CIFSMounts: Error: command ['mount', '|', 'grep', 'cifs'] failed with exit code 1: mount: only root can do that
CifsVersion:
 Display Internal CIFS Data Structures for Debugging
 ---------------------------------------------------
 CIFS Version 1.61
 Active VFS Requests: 0
 Servers:
Date: Thu Aug 19 12:42:37 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SambaClientRegression: No
SourcePackage: samba

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
smbmount allows mounting the same ressource multiple times on the same mountpoint
https://bugs.launchpad.net/bugs/620382
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list