Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 538034

Summary: sys-process/psmisc-22.21 - fuser: Specified file %s is not a mountpoint.
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, REGRESSION
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/p/psmisc/code/ci/3638cc55b4d08851faba46635d737b24d016665b/
See Also: http://bugs.debian.org/740275
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 530662    

Description Jeroen Roovers (RETIRED) gentoo-dev 2015-01-28 09:34:05 UTC
Fixes a couple of bugs, notably the "Specified file %s is not a mountpoint." typo reported at [1].



[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740275
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-28 09:43:26 UTC
oh wait, [2] says there is this version but they didn't release it yet.

[2] http://psmisc.sourceforge.net/changelog.html
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-28 09:47:25 UTC
The typo in question being fixed as such:

--- src/fuser.c
+++ src/fuser.c
@@ -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);
        }
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-28 09:53:38 UTC
22.20 does not have this issue.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-01-28 19:23:07 UTC
+*psmisc-22.21-r2 (28 Jan 2015)
+
+  28 Jan 2015; Lars Wendler <polynomial-c@gentoo.org> -psmisc-22.21-r1.ebuild,
+  +psmisc-22.21-r2.ebuild, +files/psmisc-22.21-fuser_typo_fix.patch:
+  Revbump to fix a typo in fuser which leads to -M option being enabled all the
+  time. Committed straight to stable.
+