无法打开内核策略/etc/selinux/targeted/active/policy.kern进行读取

时间:2019-03-08 13:55:50

标签: linux centos selinux erpnext frappe

使用“简易安装”通过以下命令安装Frappe ERPNext:

sudo python install.py --production --user frappe

我收到此错误:

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

我正在使用root帐户。

我已经搜索了policy.kern文件,它甚至不存在于整个磁盘中。

有什么帮助吗?

0 个答案:

没有答案