[Linux-cluster] GFS, SELinux denial

Charles_McKinnis at Dell.com Charles_McKinnis at Dell.com
Tue Aug 28 20:46:32 UTC 2007


# ls -lZ /opt
drwxr-xr-x  root root user_u:object_r:usr_t            java
drwxrwxr-x  root root system_u:object_r:usr_t          lgtonmc
drwxrwxr-x  root root system_u:object_r:usr_t          nsr
drwxr-xr-x  root root system_u:object_r:public_content_rw_t winchester
 
# ls -lZd /opt
drwxrwxr-x  root root system_u:object_r:usr_t          /opt 

Thank you,
Charles

-----Original Message-----
From: linux-cluster-bounces at redhat.com [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Roger Peña
Sent: Tuesday, August 28, 2007 1:15 PM
To: linux clustering
Subject: Re: [Linux-cluster] GFS, SELinux denial


--- Charles_McKinnis at Dell.com wrote:

> I am having issues with a server running gfs and an SELinux error. 
> When /etc/init.d/gfs start or service gfs start is run, it results in 
> a SELinux denial. If mount -a -t gfs is run as root it works fine. The 
> scripts also work if setenforce 0 is used. Running setsebool -P
> allow_mount_anyfile=1 does not fix the problem (as seen in sealert), 
> although it is set.
> 
> Thank you,
> Charles McKinnis

> /dev/winchester/array	/opt/winchester		gfs
> rw,localflocks,localcaching,oopses_ok 	0 0
> 

> /dev/winchester/array on /opt/winchester

what is the out put of:
ls -lZ /opt/ 

?

just to see if the mount point as any SElinux label

> /sbin/mount.gfs2 from mounting on the file or
        ^^^^^^^^^^

gfs2 ? 

cu
roger

__________________________________________
RedHat Certified ( RHCE )
Cisco Certified ( CCNA & CCDA )


      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list