ClusterLabs / resource-agents

Combined repository of OCF agents from the RHCS and Linux-HA projects
GNU General Public License v2.0
493 stars 579 forks source link

nothing provides /bin/ps needed by resource-agents-4.11.0 #1845

Open ashore1992 opened 1 year ago

ashore1992 commented 1 year ago

Hi,I make rpm of resource-agents from sourcecode,the version of resource-agents is 4.11.0,it succeed.

When I execute the following command [root@192 Packages]# rpm -ivh resource-agents-4.11.0-1.a.ky10.loongarch64.rpm Verifying... ################################# [100%] 准备中... ################################# [100%] 正在升级/安装... 1:resource-agents-4.11.0-1.a.ky10 ################################# [100%] /usr/lib/tmpfiles.d/net-snmp.conf:1: Line references path below legacy directory /var/run/, updating /var/run/net-snmp → /run/net-snmp; please update the tmpfiles.d/ drop-in file accordingly. /usr/lib/tmpfiles.d/slapd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/openldap → /run/openldap; please update the tmpfiles.d/ drop-in file accordingly. /usr/lib/tmpfiles.d/spice-vdagentd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/spice-vdagentd → /run/spice-vdagentd; please update the tmpfiles.d/ drop-in file accordingly. /usr/lib/tmpfiles.d/subscription-manager.conf:1: Line references path below legacy directory /var/run/, updating /var/run/rhsm → /run/rhsm; please update the tmpfiles.d/ drop-in file accordingly.

when i make it into yum source,I execute the following command [root@192 Packages]# yum install resource-agents Last metadata expiration check: 0:56:58 ago on 2023年03月06日 星期一 15时21分44秒. Error: Problem: conflicting requests

my system already has ps. [root@192 Packages]# ps --version ps from procps-ng 3.3.16

Do you have any suggestions?

oalbrigt commented 1 year ago

You can update the path in the spec file if your distro doesnt have it in the expected path (it's probably in /usr/bin/). Or you can add --nodeps to ignore the error, as the agents doesnt seem to call it with full path.