I'm not sure whether to consider this a bug or a feature request... It's
certainly just a minor fix at any rate...
If using a RHEL base with Satellite/Spacewalk for repository management the
yum install to a host that SCM does failes if using sudo (non-root) rather
The specific reason for this is that requesting any package information via
yum-rhn-plugin requires privileged access whereas regular users are allowed
to carry out yum search etc against regular repositories.
The SCM installation does the check to see if the packages exist without
using sudo on the yum command (and only uses sudo on the package install
itself) and consequently can't find the packages and then fails....
If the SCM code is adjusted on the sudo route to include sudo on the
package search as well as the package install this would then work - and
would eliminate the root ssh requirement and allow for proper auditing of
packages via satellite/spacewalk - without any side effect overall.
I recognise this is no longer required when using the CM package support
for rolling upgrades but suspect that RPM/yum managed instances will still
be a valid use case for some time to come.