glusterfs mkfifo permissão negada

1

Eu tenho um volume glusterfs. Eu posso escrever arquivos muito bem, mas quando eu estou tentando criar um pipe, isso me dá permissão negada.

[2017-09-30 15:57:57.148455] E [MSGID: 114031] [client-rpc-fops.c:237:client3_3_mknod_cbk] 0-data-client-2: remote operation failed. Path: /gitlab/data/test/test.socket [Permission denied]
[2017-09-30 15:57:57.148712] W [fuse-bridge.c:471:fuse_entry_cbk] 0-glusterfs-fuse: 354460: MKNOD() /gitlab/data/test/test.socket => -1 (Permission denied)

/ etc / fstab:

gluster01:/data /srv/gfs_data glusterfs rw,allow_other,default_permissions,_netdev 0 0

EDITAR:

Então, depois de desabilitar e olhar os logs do selinux para os dois tijolos, ele está bloqueando. Em que contexto isso deve ser adicionado?

Logs do SELinux

type=AVC msg=audit(1506943186.948:4039): avc:  denied  { create } for  pid=11312 comm="glusteriotwr1" name="test" scontext=system_u:system_r:glusterd_t:s0 tcontext=system_u:object_r:svirt_sandbox_file_t:s0 tclass=fifo_file
type=SYSCALL msg=audit(1506943186.948:4039): arch=c000003e syscall=133 success=no exit=-13 a0=7ff275a6c520 a1=11a4 a2=0 a3=2 items=0 ppid=1 pid=11312 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="glusteriotwr1" exe="/usr/sbin/glusterfsd" subj=system_u:system_r:glusterd_t:s0 key=(null)

Solved:

chcon -Rt glusterd_brick_t /bricks/brick1

    
por Matt 30.09.2017 / 18:03

0 respostas

Tags