by using “Easy Install” to install Frappe ERPNext with this command:
sudo python install.py --production --user frappe
I am getting this error:
TASK [frappe_selinux : Check enabled SELinux modules] *************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “semanage module -l”, “delta”: “0:00:02.254885”, “end”: “2019-03-08 10:07:33.398287”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-03-08 10:07:31.143402”, “stderr”: “libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).\nOSError: No such file or directory”, “stderr_lines”: [“libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).”, “OSError: No such file or directory”], “stdout”: “”, “stdout_lines”: []}
to retry, use: --limit @/tmp/.bench/playbooks/site.retry
I am using root account.
I have searched for policy.kern file and it does not even exist in the whole disk.
Any help, please?
The file /etc/selinux/targeted/active/policy.kern
is provided by the package selinux-policy-targeted. Try installing it.
yum install selinux-policy-targeted