Bug 650725 - ipa-server-install script broken - path /usr/kerberos not longer exists in Fedora 14
Summary: ipa-server-install script broken - path /usr/kerberos not longer exists in Fe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipa
Version: 14
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-07 22:06 UTC by Charles Leclerc
Modified: 2010-11-29 21:35 UTC (History)
3 users (show)

Fixed In Version: ipa-1.2.2-5.fc14
Clone Of:
Environment:
Last Closed: 2010-11-29 21:35:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
path patch for source package (6.28 KB, patch)
2010-11-07 22:08 UTC, Charles Leclerc
no flags Details | Diff
Use PATH in env to set where binaries are found (6.76 KB, patch)
2010-11-08 19:12 UTC, Rob Crittenden
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.