Your message dated Sat, 02 Apr 2011 16:17:20 +0000
with message-id <[email protected]>
and subject line Bug#586009: fixed in cifs-utils 2:4.9-1
has caused the Debian Bug report #586009,
regarding mount.cifs appends trailing slash to share name in mtab
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.)
--
586009: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586009
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cifs-utils
Version: 2:4.5-2
Severity: normal
I appreciate the new cifs.utils version coming down as I can now mount CIFS
shares as a regular user.
However I cannot UNMOUNT the shares as a regular user.
In the past, this was accomplished by ensuring that both mount.cifs and
umount.cifs were setuid root.
With the current version it appears that the cifs.utils package no longer
includes umount.cifs.
Here is an example of the behavior I am seeing:
Mount cifs share:
james@mis-jz-lnx:~$ mount G
List mounts:
james@mis-jz-lnx:~$ mount
/dev/sda1 on / type ext3 (rw,acl,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdb1 on /home type ext3 (rw,acl)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
//files.ci.juneau.ak.us/james$/ on /home/james/G type cifs
(rw,mand,nosuid,nodev,user=james)
Attempt to umount cifs share:
james@mis-jz-lnx:~$ umount G
umount: /home/james/G mount disagrees with the fstab
Unmount cifs share:
james@mis-jz-lnx:~$ sudo umount G
james@mis-jz-lnx:~$ [this was a success]
Relevant fstab entry:
//files.ci.juneau.ak.us/james$ /home/james/G cifs
acl,rw,user,noauto,credentials=/home/james/.nt/creds 0 0
I do some file archiving via cifs mounts that are manipulated via script, and
the ability to run these scripts as a non-root user is important to me. In the
sudo example above, my password had not timed out yet so I was not prompted for
one. However when the script runs I would need to present the password, or
edit /etc/sudoers to allow the command to complete without a password.
Editing the sudoers file to specifically allow unmounting this share without a
password is a relatively simple workaround, but I would prefer the ability to
mount and unmount as a regular user without that requirement.
Thank you!
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 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 cifs-utils depends on:
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libcap2 1:2.17-2 support for getting/setting POSIX.
ii libkeyutils1 1.4-1 Linux Key Management Utilities (li
ii libkrb5-3 1.8.1+dfsg-5 MIT Kerberos runtime libraries
ii libtalloc2 2.0.1-1 hierarchical pool based memory all
ii samba-common 2:3.4.8~dfsg-1 common files used by both the Samb
cifs-utils recommends no packages.
Versions of packages cifs-utils suggests:
ii smbclient 2:3.4.8~dfsg-1 command-line SMB/CIFS clients for
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cifs-utils
Source-Version: 2:4.9-1
We believe that the bug you reported is fixed in the latest version of
cifs-utils, which is due to be installed in the Debian FTP archive:
cifs-utils_4.9-1.debian.tar.gz
to main/c/cifs-utils/cifs-utils_4.9-1.debian.tar.gz
cifs-utils_4.9-1.dsc
to main/c/cifs-utils/cifs-utils_4.9-1.dsc
cifs-utils_4.9-1_i386.deb
to main/c/cifs-utils/cifs-utils_4.9-1_i386.deb
cifs-utils_4.9.orig.tar.bz2
to main/c/cifs-utils/cifs-utils_4.9.orig.tar.bz2
smbfs_4.9-1_i386.deb
to main/c/cifs-utils/smbfs_4.9-1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luk Claes <[email protected]> (supplier of updated cifs-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 02 Apr 2011 17:10:35 +0200
Source: cifs-utils
Binary: cifs-utils smbfs
Architecture: source i386
Version: 2:4.9-1
Distribution: unstable
Urgency: low
Maintainer: Debian Samba Maintainers <[email protected]>
Changed-By: Luk Claes <[email protected]>
Description:
cifs-utils - Common Internet File System utilities
smbfs - Common Internet File System utilities - compatibility package
Closes: 504690 583508 586009 589218 600788 603094 615211
Changes:
cifs-utils (2:4.9-1) unstable; urgency=low
.
[ Luk Claes ]
* Add Recommends to keyutils so following DFS links works out of the
box. Closes: #504690.
* Install README. Closes: #603094.
* Add --without-libcap to dh_auto_configure. Closes: #615211.
.
[ Steve Langasek ]
* New upstream release. Closes: #600788.
- mount.cifs: use original device name as-is for mtab.
Closes: #586009, #583508, #589218.
Checksums-Sha1:
d4f6ede732f2f3f98056ac55b4565baca6a13c7a 1466 cifs-utils_4.9-1.dsc
0a530f6ce5ea6c05e278cc05927c20f992c95d39 323980 cifs-utils_4.9.orig.tar.bz2
4dbfeeb6cd33e0cf37ab7d27fbeb52f0f4d13d73 4685 cifs-utils_4.9-1.debian.tar.gz
58492eb9be851142f640ba841bc6ab32390b7645 40874 cifs-utils_4.9-1_i386.deb
baddc16d058091d169c68e06d5cd5fff28fedce6 4650 smbfs_4.9-1_i386.deb
Checksums-Sha256:
55117692980cdbb64a7723cfa088bce4c94dfaa1de912eb991edef572d9a31ed 1466
cifs-utils_4.9-1.dsc
4a3410a598a13d71421d4d78027ca507a63ea32eec0892eb78e4f3aec2e335af 323980
cifs-utils_4.9.orig.tar.bz2
fabae089902e1066d3e3e337db23a630ca5ab51e83851aec4dce2d6aa542870a 4685
cifs-utils_4.9-1.debian.tar.gz
a8f6502170e957bb263dd1fe3841d6b1574bee3f52618be828b232f1b4e00438 40874
cifs-utils_4.9-1_i386.deb
feddb6f9017f9e836b7b11238fb3dad7a73222c194c305019384c685e0687da3 4650
smbfs_4.9-1_i386.deb
Files:
b14953a1c665b933506b5170ad8e462e 1466 otherosfs optional cifs-utils_4.9-1.dsc
908d904e6b9e58f09f530de151a88ef8 323980 otherosfs optional
cifs-utils_4.9.orig.tar.bz2
e8cea4daf36e9ecc26a6232831faae08 4685 otherosfs optional
cifs-utils_4.9-1.debian.tar.gz
00de4af4d6ca927ff6e1e93e39d0980e 40874 otherosfs optional
cifs-utils_4.9-1_i386.deb
bac1ca7663418b34ab49d36de2b20246 4650 otherosfs optional smbfs_4.9-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk2XRNoACgkQ5UTeB5t8Mo3dhwCgjEuUfrPuJutF21eJFePVCzMu
EwUAniRXGhyfGtcIgO3tk7VJjHGlfGAu
=9HoM
-----END PGP SIGNATURE-----
--- End Message ---