Bug 191854

Summary: krb5-config is not in the path, but is referenced as if it was
Product: [Fedora] Fedora Reporter: Zenon Panoussis <redhatbugs>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-18 12:09:13 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Zenon Panoussis 2006-05-15 23:31:27 EDT
Description of problem:

++ krb5-config --prefix
/var/tmp/rpm-tmp.82348: line 43: krb5-config: command not found
+ krb5_prefix=
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):
Comment 1 Nalin Dahyabhai 2008-03-18 12:09:13 EDT
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.