ntfs file system NOT unmounted

Bug #966922 reported by Sandra Farnedi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

edubuntu beta2 usb live - 20120328

I create a second administrative user besides edubuntu
I have two partitions on my hard disk: ntfs and ext4
Login as edubuntu, I do not mount the ntfs partition, logout and login as the second user: the ntfs partition can be correctly mounted
I shut down and reboot the system
Login as edubuntu,I mount the ntfs partition, logout and login as the second user: the ntfs partition cannot be mounted because seems to be busy.
Please see the contents of my mount commands:

sandra@edubuntu:~$ df
File system 1K-blocchi Usati Disponib. Uso% Montato su
/cow 1032088 240520 739140 25% /
udev 504324 4 504320 1% /dev
tmpfs 204760 856 203904 1% /run
/dev/sdb1 3893044 3767544 125500 97% /cdrom
/dev/loop0 2072832 2072832 0 100% /rofs
cgroup 511896 0 511896 0% /sys/fs/cgroup
tmpfs 511896 12 511884 1% /tmp
none 5120 0 5120 0% /run/lock
none 511896 224 511672 1% /run/shm
/dev/sda1 95594748 87327988 8266760 92% /media/20E4C0C1E4C09B04
/dev/sda6 19374208 8307824 10094456 46% /media/2a8ce349-f68c-4e3c-9f20-4a58d49de7b1
sandra@edubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
cgroup on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda1 on /media/20E4C0C1E4C09B04 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda6 on /media/2a8ce349-f68c-4e3c-9f20-4a58d49de7b1 type ext4 (rw,nosuid,nodev,uhelper=udisks)
gvfs-fuse-daemon on /home/sandra/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=sandra)
sandra@edubuntu:~$ su -
Password:
root@edubuntu:~# mount /dev/sda1 /media/20*
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
root@edubuntu:~#

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mount 2.20.1-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
CasperVersion: 1.312
Date: Wed Mar 28 10:11:22 2012
LiveMediaBuild: Edubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
ProcEnviron:
 TERM=xterm
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :
Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :

see also bug #965234

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/966922

tags: added: iso-testing
Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :

I forgot to show failed attempt to access the ntfs file system:

sandra@edubuntu:~$ cd /media
sandra@edubuntu:/media$ ll
totale 32
drwxr-xr-x 1 root root 4096 mar 28 10:07 ./
drwxr-xr-x 1 sandra sandra 4096 mar 28 2012 ../
drwx------ 1 edubuntu edubuntu 20480 mar 19 18:58 20E4C0C1E4C09B04/
drwxr-xr-x 23 root root 4096 feb 14 12:16 2a8ce349-f68c-4e3c-9f20-4a58d49de7b1/
lrwxrwxrwx 1 root root 6 mar 28 2012 cdrom -> /cdrom/
sandra@edubuntu:/media$ cd 20*
bash: cd: 20E4C0C1E4C09B04: Permesso negato
sandra@edubuntu:/media$

Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :

Here is the situation if I logout from edubuntu before mounting ntfs file system and login as user "sandra":
sandra@edubuntu:~$ mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
cgroup on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/sandra/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=sandra)
/dev/sda1 on /media/20E4C0C1E4C09B04 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda6 on /media/2a8ce349-f68c-4e3c-9f20-4a58d49de7b1 type ext4 (rw,nosuid,nodev,uhelper=udisks)
sandra@edubuntu:~$ cd /media
sandra@edubuntu:/media$ ll
totale 32
drwxr-xr-x 1 root root 4096 mar 28 10:48 ./
drwxr-xr-x 1 sandra sandra 4096 mar 28 2012 ../
drwx------ 1 sandra sandra 20480 mar 19 18:58 20E4C0C1E4C09B04/
drwxr-xr-x 23 root root 4096 feb 14 12:16 2a8ce349-f68c-4e3c-9f20-4a58d49de7b1/
lrwxrwxrwx 1 root root 6 mar 28 2012 cdrom -> /cdrom/
sandra@edubuntu:/media$

N.B. No problem with ext4 file system

Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :

I mean: nor ext4 file system is unmounted, but it can be used because not in exclusive use of edubuntu.

affects: util-linux (Ubuntu) → upstart (Ubuntu)
Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :

I test the situation in my installed 11.10 Ubuntu system and experience the same problem!
It seems that the first user who mounts the ntfs partition becomes its exclusive owner.

Changed in upstart (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Sandra Farnedi (sandra-farnedi-d) wrote :

confirmed in edubuntu 20120410 build - italian language

Changed in upstart (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.