こんにちは、私は私たちの組織のCentos 7システムで宇宙遊泳を構築しようとしています。
私はこのガイドに従っています。 https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall#installing-spacewalk
spacewalk-selinux-2.3.2-1.el7.noarch
インストール中に2つの問題が発生しました。 osa-dispatcher-selinux-5.11.74-1.el7.noarch
エラーが発生します。
Installing : spacewalk-selinux-2.3.2-1.el7.noarch Failed to resolve roletype statement at
/etc/selinux/mls/tmp/modules/400/spacewalk/cil:2
/usr/sbin/semodule: Failed!
Failed to resolve roletype statement at
/etc/selinux/strict/tmp/modules/400/spacewalk/cil:2
/usr/sbin/semodule: Failed! Verifying : spacewalk-selinux-2.3.2-1.el7.noarch
そして;
Installing : osa-dispatcher-selinux-5.11.74-1.el7.noarch
Failed to resolve roletype statement at
/etc/selinux/mls/tmp/modules/400/osa-dispatcher/cil:2
/usr/sbin/semodule: Failed!
Failed to resolve roletype statement at /etc/selinux/strict/tmp/modules/400/osa-dispatcher/cil:2
/usr/sbin/semodule: Failed!
Verifying : osa-dispatcher-selinux-5.11.74-1.el7.noarch
その中にはとが/etc/selinux/config
あります。結果は次のとおりです。SELINUX=enforcing
SELINUXTYPE=targeted
rpm -qa | grep selinux-policy
selinux-policy-3.13.1-102.el7_3.16.noarch
selinux-policy-targeted-3.13.1-102.el7_3.16.noarch
インストール中にhttp-parser依存関係がないという初期エラーを解決するために、CentOS-CRリポジトリを有効にしました。
また、SeLinuxを許可に設定しようとしましたが、役に立ちませんでした。
これらのselinuxエラーを解決する方法を知っている人はいますか?ありがとうございます。
ベストアンサー1
SeLinuxエラーを無視し、c3p0をバージョン9.5から9.1にダウングレードして実行したrhn-satellite restart
後、spacewalkにログインしました。私もviに行って項目/etc/sysconfig/network
を追加しましたHOSTNAME=my.spacewalk.server
。