Red Hat Bugzilla – Bug 1285275
Selinux does not allow to start smbd
Last modified: 2016-01-21 10:17:07 EST
Created attachment 1098696 [details]
systemctl start smb.service fails
Job for smb.service failed because the control process exited with error code. See "systemctl status smb.service" and "journalctl -xe" for details.
Output of journalctl -xe command is attached to the bug report.
It seems that several directories under /var are mislabeled. Following command shows you which ones:
# restorecon -Rvn /var
Following command should fix them:
# restorecon -Rv /var
Indeed, output of restorecon -Rvn /var showed that may files from /var/lib/samba were mislabeled.
Running another command did fix the problem. Thank you.
I suppose you may close this report as NOTABUG :)