Your message dated Mon, 24 Mar 2014 11:19:54 +0000
with message-id <[email protected]>
and subject line Bug#740275: fixed in psmisc 22.21-2
has caused the Debian Bug report #740275,
regarding fuser acts as if -M is specified if any of -acikmsuvw are
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.)


-- 
740275: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740275
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: psmisc
Version: 22.21-1
Severity: important
Tags: patch

Expected output:

 $ src/fuser /tmp/.foo.swp 
 /tmp/.foo.swp:        6073
 $ src/fuser -v /tmp/.foo.swp 
                      USER        PID ACCESS COMMAND
 /tmp/.foo.swp:       me         6073 F.... vi

Actual output:

 $ fuser /tmp/.foo.swp
 /tmp/.foo.swp:        6073
 $ fuser -v /tmp/.foo.swp
 Specified filename /tmp/.foo.swp is not a mountpoint.

The cause seems to be a typo in fuser.c. See attached patch.
diff -ur a/src/fuser.c b/src/fuser.c
--- a/src/fuser.c       2014-01-31 08:07:32.000000000 -0500
+++ b/src/fuser.c       2014-02-27 12:34:44.352910007 -0500
@@ -1174,7 +1174,7 @@
                usage(_("No process specification given"));
 
        /* Check if -M flag was used and if so check mounts */
-       if (opts * OPT_ISMOUNTPOINT) {
+       if (opts & OPT_ISMOUNTPOINT) {
            check_mountpoints(&mounts, &names_head, &names_tail);
        }
 

--- End Message ---
--- Begin Message ---
Source: psmisc
Source-Version: 22.21-2

We believe that the bug you reported is fixed in the latest version of
psmisc, which is due to be installed in the Debian FTP archive.

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.
Craig Small <[email protected]> (supplier of updated psmisc 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: SHA512

Format: 1.8
Date: Fri, 28 Feb 2014 21:57:20 +1100
Source: psmisc
Binary: psmisc
Architecture: source amd64
Version: 22.21-2
Distribution: unstable
Urgency: medium
Maintainer: Craig Small <[email protected]>
Changed-By: Craig Small <[email protected]>
Description: 
 psmisc     - utilities that use the proc file system
Closes: 740275
Changes: 
 psmisc (22.21-2) unstable; urgency=medium
 .
   * Fixed fuser -M typo Closes: #740275 thanks Brad
Checksums-Sha1: 
 5a7e605176db6e9fc9650f53210b9451482efb76 1652 psmisc_22.21-2.dsc
 5bcc34cdd631a2e1fcf26d058292cad6624858c5 6668 psmisc_22.21-2.debian.tar.xz
 94e419fdbfa17c61e7d6662bf80ec91363e4da97 119368 psmisc_22.21-2_amd64.deb
Checksums-Sha256: 
 8eba6fdd0f04fa7d4566af3d98091e322c77f1aeaa713c28e4106eaec7a1836a 1652 
psmisc_22.21-2.dsc
 ba3e5cc5852ed23b5fc495668d52569e16b8c46098e56db04d93f8ec6904832d 6668 
psmisc_22.21-2.debian.tar.xz
 057fb141c1d76923e2d848abe35eb1958092890bfa2429204c9a55791eb3a30f 119368 
psmisc_22.21-2_amd64.deb
Files: 
 c65f2ca4de3508d32eb026ebfc177c05 1652 admin optional psmisc_22.21-2.dsc
 4a5815958110963990f6b3c591f57615 6668 admin optional 
psmisc_22.21-2.debian.tar.xz
 223c7c02677d1f38689c05bd459d58bc 119368 admin optional psmisc_22.21-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTMBBcAAoJEDk4+WvfUP6lOkUQAJw9GMs+od7wTB1UwpLv1UIR
5WedHqf3Usy1/iq4b4Qi6OXhn5a0HexLJPEINez2fHgqYxi/Pjm/V90tCc4WsHRE
Wxc0h2PvBVi9ouCCoa01vKCiXaMMXe75WtaL/kuBkwiMzHfC3mTuXlt5PC8oJAni
It7tZh0njr66rCyabzsbs0icawF0+7l1Ccc9BMaWzd/cuWQ0PVqyT9Xfo17WGIfY
xbcQ0BAzYtHY3eKi2K3f/VNa5a3QJvPjZQxGO/b5yye5EZYbdcvMwNwqhIkr4EDR
892/qxPQwPbOcrUZwhEfsRfu8gV0MaVSGOVd71kFts+jnBng4faTwes5mrhtoOAo
N7bgTpXWCsNCSYW3Ty+abAf0KJzYuJRFUnqI8wenKaqquBQBAWHMrOMmetpFQzRV
sDiuqTcfO40u7QBGe9EJucXsT9gWMA9JVh7KFPcPC8dkV3IliBxkygsz9TISFEbh
ey1M1qLxLQKtQMQqIHI3Nvo68MThAu8greDpVFNTeBSzG/4bFPMa58UmdsUFSqxF
cPoNNL5DVTRsKI2DrdwV8cXk36qHHSbriiGy3hqtoPf5vWvU+2nJ+CmREYPWwcgk
Z3kYeDs2P6rCfI6Dwb9rA8Tu+8Mk4PfXKuwo/oHjVERMA4yaCJvoDVyUNYKeEZW8
qXow428WICUSfzm+W9ll
=0SA3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to