Red Hat Bugzilla – Bug 191854
krb5-config is not in the path, but is referenced as if it was
Last modified: 2008-03-18 12:09:13 EDT
Description of problem:
++ krb5-config --prefix
/var/tmp/rpm-tmp.82348: line 43: krb5-config: command not found
error: Bad exit status from /var/tmp/rpm-tmp.82348 (%build)
Either should /usr/kerberos/bin be in the path, or the
cyrus-sasl .spec should add it.
Version-Release number of selected component (if applicable):
The scriptlet which krb5-devel drops into /etc/profile.d should have been
sourced either by the invoking shell or one of its ancestors, which means that
this is not the normal behavior of things.
So far as I can tell, you should only ever see this error if the krb5-devel
package had been installed after you had logged in, and I don't see a way to
solve that case except for hard-coding the location of the script everywhere it
might be used, which generally isn't favored (hence the use of profile.d).
I'm going to mark this as won't-fix because I don't currently plan to make
changes to the package to try to address the case where the package was
installed after the user logged in. If you're seeing this behavior crop up in a
different scenario, though, please reopen this bug.