Bug 650725

Summary: ipa-server-install script broken - path /usr/kerberos not longer exists in Fedora 14
Product: [Fedora] Fedora Reporter: Charles Leclerc <charles>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: nagy.martin, rcritten, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-1.2.2-5.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-29 21:35:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
path patch for source package
none
Use PATH in env to set where binaries are found none

Description Charles Leclerc 2010-11-07 22:06:50 UTC
On a fresh install of Fedora 14, after installing ipa-server 1.2.2-4 and trying to launch ipa-server-install script, it fails in KDC setup ([5/13] configuring KDC) with a [Errno 2] No such file or directory.

After analysing log file, it turned out that the source files krbinstance.py and installutils.py contained references to the path "/usr/kerberos" which doesn't exist (I suppose anymore, compared to previous versions of Fedora). Anyway I've written a patch for the package, which corrects values in the source files where the wrong path was found. Eventually it solved the installation issue.

The file "ipa-server/ipa-install/share/krb5.ini.template" contains the path also, for krb4_config and krb4_realms configuration options. I didn't change them, I'm not sure if it is necessary.

Comment 1 Charles Leclerc 2010-11-07 22:08:26 UTC
Created attachment 458515 [details]
path patch for source package

Comment 2 Rob Crittenden 2010-11-08 19:12:21 UTC
Created attachment 458855 [details]
Use PATH in env to set where binaries are found

This is a more generic fix that will work across distributions.

Comment 3 Charles Leclerc 2010-11-08 19:35:20 UTC
That is indeed a better way ... Until a package update I created a link to artificially re-create the path in /usr . It works fine and will smoothly survive a yum update.

Comment 4 Fedora Update System 2010-11-17 21:28:32 UTC
ipa-1.2.2-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ipa-1.2.2-5.fc14

Comment 5 Fedora Update System 2010-11-18 23:59:22 UTC
ipa-1.2.2-5.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ipa'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ipa-1.2.2-5.fc14

Comment 6 Fedora Update System 2010-11-29 21:35:27 UTC
ipa-1.2.2-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.