Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I`m lost in trouble with SELinux once more link to my previous solved Q on Samba SELinux When share's users try to delete a dir on share they fail with SELinux advertisement to solve problem do grep smbd /var/log/audit/audit.log | audit2allow -M mypol and then to make this policy package active, execute: semodule -i mypol.pp This always give me next error

semodule:  Failed on mypol.pp!

samba selinux config listed bellow    
# /usr/sbin/getsebool -a | grep samba
samba_create_home_dirs --> on
samba_domain_controller --> off
samba_enable_home_dirs --> off
samba_export_all_ro --> off
samba_export_all_rw --> on
samba_portmapper --> off
samba_run_unconfined --> off
samba_share_fusefs --> off
samba_share_nfs --> off
sanlock_use_samba --> off
use_samba_home_dirs --> off
virt_use_samba --> off
share|improve this question
    
Per user @Siosm - "You should add the content of the file mypol.pp generated by audit2allow to the question." –  slm May 10 at 22:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.