[Bugs] [Bug 1593351] New: mount.glusterfs incorrectly reports "getfattr not found "

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 20 15:54:08 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1593351

            Bug ID: 1593351
           Summary: mount.glusterfs incorrectly reports "getfattr not
                    found"
           Product: GlusterFS
           Version: mainline
         Component: fuse
          Assignee: bugs at gluster.org
          Reporter: jmulligan at redhat.com
                CC: bugs at gluster.org



Description of problem:

While debugging a failure to mount a gluster volume I was briefly misled by the
warning message:
"WARNING: getfattr not found, certain checks will be skipped.."

I did have getfattr installed, however my minimal OS install did not include
'which'. The 'which' command is not as portable and can be replaced by 'command
-v'  (see also  https://stackoverflow.com/a/677212 )

Version-Release number of selected component (if applicable):
Tested on 4.2dev-0.99.git1058185


How reproducible:
Always

Steps to Reproduce:
1. Uninstall which if it installed on the system
2. Ensure getfattr tool is installed on the system
3. Run mount.gluterfs (with any options)


Actual results:
Command prints "WARNING: getfattr not found, certain checks will be skipped.."
even though the getfattr tool is available.


Expected results:
Command prints "WARNING: getfattr not found, certain checks will be skipped.."
only if the getfattr tool is not present.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list