when I'm trying to mount a read-only samba share, then I get this messages on the samba server (and timeout on client side)Nov  5 18:45:49 localhost kernel: type=1400 audit(1352137549.469:17): avc:  denied  { module_request } for  pid=3046 comm=smbd kmod=net-pf-10 scontext=unconfined_u:system_r:smbd_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=systemI already tried: setsebool -P samba_export_all_ro 1getsebool -a | egrep -i 'smb|samba'yum install policycoreutils-pythonsemanage fcontext -a -t samba_share_t '/PATH/TO/SAMBASHARE(/.*)?'restorecon -R /PATH/TO/SAMBASHARE/etc/init.d/smb restartHow can I configure SELinux to allow the read-only samba share? Turning off SELinux is just idiotic. UPDATE:[root@SERVER ~]# getsebool -a|grep -i smbdallow_smbd_anon_write --> off[root@SERVER ~]# setsebool -P smbd_disable_trans 1libsemanage.dbase_llist_set: record not found in the databaselibsemanage.dbase_llist_set: could not set record valueCould not change boolean smbd_disable_transCould not change policy booleans
How to configure SELinux using samba? Scientific Linux?
rhel;samba;selinux