On 11/02/2012 05:01 PM, Miroslav Suchý wrote:
Indeed.
We have in %post this:
CFG=/etc/rhsm/rhsm.conf
CFG_BACKUP=$CFG.kat-backup
# exit on non-RHEL systems or when rhsm.conf is not found
test -f $CFG || exit
type -P subscription-manager >/dev/null || exit
But exit [n] returns (when n is not specified exit code of previous
command which is non zero. So this scriplet fails.
Fixed:
https://github.com/Katello/katello/pull/993
--
Miroslav Suchy
Red Hat Systems Management Engineering