[Gluster-infra] Could not start a VM with Glusterfs and selinux active

Marco Andres Dominguez marco.dominguez at gmail.com
Sat May 11 05:16:14 UTC 2019


Hi,

I am trying to use glusterfs to share disk images (qcow2) between servers,
but although the path to the files is correct I get these errors

error: Failed to start domain srv02-vm02
error: internal error process exited while connecting to monitor: char
device redirected to /dev/pts/5

/mnt/gluster/vms
-rw-r--r--. root root system_u:object_r:fusefs_t:s0
srv02-vm02-Disk1.qcow2
-rw-r--r--. root root system_u:object_r:fusefs_t:s0
srv02-vm02-Disk2.qcow2

/mnt/xfs/vms
[root at server02 vms]# ls -lZ
drwxr-xr-x. root root unconfined_u:object_r:file_t:s0  definitions
-rw-r--r--. root root unconfined_u:object_r:file_t:s0
srv02-vm02-Disk1.qcow2
-rw-r--r--. root root unconfined_u:object_r:file_t:s0
srv02-vm02-Disk2.qcow2

I am running a Centos
# cat /etc/redhat-release
CentOS release 6.2 (Final)
# lsb_release
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Gluster Version

# gluster --version
glusterfs 3.12.2
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

Does anyone has an idea of what should I do to fix this without disabling
selinux?

Best regards,

Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-infra/attachments/20190511/53b00898/attachment-0001.html>


More information about the Gluster-infra mailing list