
我的 ovirt 節點上缺少一些工具,這些工具是透過 ovirt node ng 安裝程式安裝的。
我的想法是yum install epel-release
。但我不想將 ovirt 軟體包的版本與 epel-release 儲存庫混淆...
增加安全嗎?
答案1
回答我自己的問題:
不要啟用所有 epel-release。 oVirt 4.2.5版本的發行說明非常清楚:
EPEL
TL;DR 不要在 oVirt 機器上啟用所有 EPEL。
ovirt-release 軟體包啟用 EPEL 儲存庫,並包含其中所需的幾個特定軟體包。它還為其他軟體包啟用和使用 CentOS SIG 存儲庫。
如果您想使用 EPEL 中的其他軟體包,您應該確保使用 includepkgs 並僅添加您需要的軟體包,避免覆蓋其他儲存庫中的軟體包。
如果您確實需要啟用 EPEL(或任何其他)儲存庫,請將 includepkgs 新增至您的儲存庫配置中。這將過濾掉所有其他套件,因此不會污染您的依賴項。
[epel]
...
includepkgs = desired_package
若要實際安裝 EPEL 版本,您必須下載儲存庫 rpm:
cd /tmp
curl -L https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm >epel-release-latest-7.noarch.rpm
yum install epel-release-latest-7.noarch.rpm