[Samba] Can't get Samba 4.4.4 going on CentOS 7.3.1611

Alan McKay alan.mckay at gmail.com
Mon Oct 9 22:45:22 UTC 2017


Also tried this :


[root at centos-gig ~]# cat allow
type=USER_AVC msg=audit(1507584974.134:166105): pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='avc:  received setenforce notice (enforcing=1)
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1507584974.137:166106): pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='avc:  denied  { enable } for auid=1000 uid=0 gid=0
cmdline="systemctl enable smb.service"
scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
tcontext=system_u:system_r:init_t:s0 tclass=service
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'

[root at centos-gig ~]# audit2allow -i ./allow -M samba
******************** IMPORTANT ***********************
To make this policy package active, execute:

semodule -i samba.pp

[root at centos-gig ~]# semodule -i ./samba.pp
libsemanage.semanage_direct_install_info: Overriding samba module at
lower priority 100 with module at priority 400.
Failed to resolve typeattributeset statement at
/etc/selinux/targeted/tmp/modules/100/ksmtuned/cil:78
semodule:  Failed!
[root at centos-gig ~]# audit2allow -i ./allow -M samba-new
******************** IMPORTANT ***********************
To make this policy package active, execute:

semodule -i samba-new.pp

[root at centos-gig ~]# semodule -i ./samba-new.pp
[root at centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory
[root at centos-gig ~]# setenforce 1
[root at centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory
[root at centos-gig ~]# setenforce 1
[root at centos-gig ~]# systemctl enable smb.service
Failed to execute operation: No such file or directory
[root at centos-gig ~]#



More information about the samba mailing list