+++ This bug was initially created as a clone of Bug #1297182 +++ +++ +++ +++ Use this bug for backporting the change to release-3.7 +++ Description of problem: With additional tests after fixing bug 1296992 I noticed that mounting with "-o noatime" or "-o noexec" the additional "nosuid,nodev" mount options are set as well. Mounting without any options does not add "nosuid,nodev" Version-Release number of selected component (if applicable): mainline and branches with backport of bug 1296992 How reproducible: 100% Steps to Reproduce: 1. mount a Gluster volume with "-o noatime" or "-o noexec" 2. compare mount options in /proc/mounts Actual results: The "nosuid,nodev" mount options are automatically added, even when not specified in the mount command. Expected results: Mounting with additional options should only add/change those options, not automatically add others. Additional info: This most likely is caused by the flag handling in do_mount() in contrib/fuse-util/fusermount.c. Needs some investigation on the reasoning behind this. --- Additional comment from Niels de Vos on 2016-01-10 12:29:38 CET --- Oop, bug 1294809 is the one that makes it possible again to mount with "-o noatime" and the like.
This bug is getting closed because GlusteFS-3.7 has reached its end-of-life. Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS. If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release.