Your message dated Mon, 28 Jul 2014 00:00:08 +0200
with message-id <[email protected]>
and subject line silent agreement
has caused the Debian Bug report #682842,
regarding mount: 'mount -a -t cifs' does not honor 'user(s)' option 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
682842: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682842
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mount
Version: 2.20.1-5.1
Severity: normal

Dear Maintainer,

I have several entries for cifs shares in /etc/fstab, each marked as 
'user' mountable. I expect that 'mount -at cifs' scans through fstab and
attempts to mount each of these, either deciding to perform the mount 
by itself or by delegating to mount.cifs.

What happens is that the mount command is rejected with the error
message 

sts@nbofm020:~$ mount -at cifs
mount: only root can do that

though each single filesystem is mounted correctly

sts@nbofm020:~$ mount /ipmfas/ofm-projekte
sts@nbofm020:~$ df
Filesystem                                              1K-blocks       Used 
Available Use% Mounted on
[...]
//ipmfas/ofm-projekte                                  2732431772 2628478316 
103953456  97% /ipmfas/ofm-projekte
sts@nbofm020:~$ 

In fact, 'mount -at cifs' as user does not even reference /etc/fstab as
can be seen by running strace, so it seems to link the -a option to 
a mandatory uid/euid of 0 at an early stage. 

By the way, umount also does not correctly honor 'user', since from the 
same shell a subsequent 

sts@nbofm020:~$ umount /ipmfas/ofm-projekte 
umount: only root can unmount //ipmfas/ofm-projekte from /ipmfas/ofm-projekte

fails. 


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mount depends on:
ii  libblkid1    2.20.1-5.1
ii  libc6        2.13-33
ii  libmount1    2.20.1-5.1
ii  libselinux1  2.1.9-5
ii  libsepol1    2.1.4-3

mount recommends no packages.

Versions of packages mount suggests:
ii  nfs-common  1:1.2.6-3

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 2.24.2-1

Hello!

Given that there was no feedback on my previous assessment about the state
of the issues mentioned in the bug report, I guess we have a silent
agreement that this bug indeed can be considered resolved.

Regards,
Andreas Henriksson

--- End Message ---

Reply via email to