Debian bug report logs - #860
`only root can mount' can mean `already mounted'
Package: mount; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 178 days old.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Sat May 6 08:56:45 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0s7mDl-00064NC; Sat, 6 May 95 08:56 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA04819
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 6 May 1995 08:55:18 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0s7mDg-000C09C; Sat, 6 May 95 16:56 BST
Received: by chiark
id m0s7X3P-0000XBZ
(Debian /\oo/\ Smail3.1.29.1 #29.30); Sat, 6 May 95 00:45 BST
Message-Id: <m0s7X3P-0000XBZ.ijackson@nyx.cs.du.edu>
Date: Sat, 6 May 95 00:45 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: `only root can mount' can mean `already mounted'
Package: mount
Version: 2.2-1
`mount' sometimes issues the message `only root can mount X on Y' when
trying the mount as root correctly gives `x already mounted or y
busy'.
See the transcript below.
chiark:~> mount /floppy/
mount: only root can mount /dev/fd0 on /floppy
chiark:~> really mount /floppy/
mount: /dev/fd0 already mounted or /floppy busy
chiark:~> mount
/dev/sdb1 on / type ext2 (rw)
/dev/sdb2 on /usr type ext2 (rw)
/dev/sda8 on /var type ext2 (rw)
/proc on /proc type proc (rw)
/dev/sdb4 on /u type ext2 (rw)
/dev/sdb5 on /u/tmp type ext2 (rw)
/dev/sdb7 on /var/spool/news type ext2 (rw)
/dev/sda4 on /u/ian/doom type msdos (rw,umask=007,uid=100,gid=100)
/dev/sda7 on /u/ian/other type msdos (rw,umask=007,uid=100,gid=100)
/dev/sda1 on /old type ext2 (rw)
/dev/sda5 on /old/usr type ext2 (rw)
/dev/sda2 on /usr/local/src/old type ext2 (rw)
/dev/fd0 on /floppy type msdos (rw,noexec,nosuid,nodev,umask=007,uid=100,gid=100)
chiark:~> id
uid=100(ian) gid=100(ian) groups=100(ian),0(root),6(disk),8(mail),9(news),20(dialout),25(floppy),35(dos),40(src),50(staff),60(users),200(ian-p),201(ian-m),1000(ijackson)
chiark:~> really id
uid=0(root) gid=0(root) groups=100(ian),0(root),6(disk),8(mail),9(news),20(dialout),25(floppy),35(dos),40(src),50(staff),60(users),200(ian-p),201(ian-m),1000(ijackson)
chiark:~> ll -d /dev/fd0 /floppy
brw-rw---- 1 root floppy 2, 0 Mar 30 21:18 /dev/fd0
drwxrwx--- 2 ian ian 7168 May 6 00:40 /floppy/
chiark:~> cat /etc/fstab
/dev/sdb1 / ext2 defaults 0 1
/dev/sdb2 /usr ext2 defaults 0 2
/dev/sda8 /var ext2 defaults 0 2
/dev/sdb6 none swap sw
proc /proc proc defaults
/dev/fd0 /floppy msdos noauto,user,umask=007,uid=100,gid=100
/dev/scd0 /cdrom iso9660 noauto,user,ro
/dev/sdb4 /u ext2 defaults 0 2
/dev/sdb5 /u/tmp ext2 defaults 0 2
/dev/sdb7 /var/spool/news ext2 defaults 0 2
/dev/sda4 /u/ian/doom msdos umask=007,uid=100,gid=100
/dev/sda7 /u/ian/other msdos umask=007,uid=100,gid=100
/dev/sda6 none ignore
/dev/sda1 /old ext2 default 0 2
/dev/sda5 /old/usr ext2 defaults 0 2
/dev/sda2 /usr/local/src/old ext2 defaults 0 2
chiark:~>
Ian.
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#860
; Package mount
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism