[Gluster-users] ACL option ignored?

James Yale james.yale at pun.net
Fri Feb 17 11:12:14 UTC 2012


Hi,

Yesterday I was having a problem with glusterfs-3.2.5-6.el6.x86_64
making shares mounted using the native not accessible by other users
than the one that performed the mount (allow_other option). To get
round the problem I passed some fuse options to the mount (mount -t
glusterfs -o fuse-opt=allow_other) but also upgraded my package to
glusterfs-3.2.5-7.el6.x86_64 - now the box has been rebooted all the
gluster mounts seem to get the allow_other option whether I specify it
or not, which is good, however now the ACL flag seems to be ignored.

Mounting from the command line or fstab results in a mount with no ACL support:

On client (I added some debug lines to /usr/sbin/mount.glusterfs to
check it's getting the acl option):

[root at puppet jim]# mount -t glusterfs -o acl
192.168.241.40:/gluster-webcontent /tmp/test/
DEBUG: found acl
DEBUG: cmd_line is /usr/sbin/glusterfs --log-level=INFO --acl
DEBUG: command line run is /usr/sbin/glusterfs --log-level=INFO --acl
--volfile-id=/gluster-webcontent --volfile-server=192.168.241.40
/tmp/test/

[root at puppet jim]# mount
/dev/xvda1 on / type ext4 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
192.168.241.40:/gluster-webcontent on /tmp/test type fuse.glusterfs
(rw,allow_other,max_read=131072)

On server (to confirm acl support):

[jim at ip-192-168-241-40 ~]$ mount | grep webcontent
/mnt/xvdf on /exports/webcontent type none (rw,bind,acl)

[jim at ip-192-168-241-40 ~]$ sudo gluster volume info

Volume Name: gluster-webcontent
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 192.168.241.40:/exports/webcontent
Brick2: 192.168.241.41:/exports/webcontent

Full client --debug output here: http://pastie.org/3400564

Yesterday with glusterfs-3.2.5-6.el6.x86_64 I'm sure this worked, and
I saw acl options, today with glusterfs-3.2.5-7.el6.x86_64 I don't,
but I don't see any major changes in the change log.

Any ideas for further testing appreciated!

Thanks,

James



More information about the Gluster-users mailing list