From f4110c6bb2be465230b2fa672bfc5a18295bba48 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Jun 28 2011 17:32:57 +0000 Subject: Fixed NFS share test (SELinux issue) --- diff --git a/tests/p_nfs/nfs_share_rw.sh b/tests/p_nfs/nfs_share_rw.sh index 153f726..5714da0 100755 --- a/tests/p_nfs/nfs_share_rw.sh +++ b/tests/p_nfs/nfs_share_rw.sh @@ -8,6 +8,9 @@ echo '/srv/nfs *(rw,sync,no_root_squash)' >/etc/exports mkdir -p /srv/nfs exportfs -ar +# Fix SELinux boolean +setsebool allow_nfsd_anon_write 1 + # Mount the share mkdir /mnt/nfs mount -t nfs 127.0.0.1:/srv/nfs /mnt/nfs || exit 1