diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-11-22 14:52:09 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-11-22 14:52:09 -0500 |
commit | 861a0fdba9c07d612d6a220b6ec5cf5eb3c24e46 (patch) | |
tree | e94d0a1b7b76bf1d33e2fe24b4f20673847edf55 | |
parent | f6b094156d4ae84d9c50a86c3e78f928f0827235 (diff) | |
download | freeipa-861a0fdba9c07d612d6a220b6ec5cf5eb3c24e46.tar.gz freeipa-861a0fdba9c07d612d6a220b6ec5cf5eb3c24e46.tar.xz freeipa-861a0fdba9c07d612d6a220b6ec5cf5eb3c24e46.zip |
Don't use full pathnames for kerberos binaries, let PATH find them.
Kerberos binaries may be in /usr/kerberos/*bin or /usr/*bin, let PATH
sort it out.
-rw-r--r-- | ipaserver/install/krbinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py index 41c687897..8c22e6f41 100644 --- a/ipaserver/install/krbinstance.py +++ b/ipaserver/install/krbinstance.py @@ -367,7 +367,7 @@ class KrbInstance(service.Service): MIN_KRB5KDC_WITH_WORKERS = "1.9" cpus = os.sysconf('SC_NPROCESSORS_ONLN') workers = False - (stdout, stderr, rc) = ipautil.run(['/usr/bin/klist', '-V'], raiseonerr=False) + (stdout, stderr, rc) = ipautil.run(['klist', '-V'], raiseonerr=False) if rc == 0: verstr = stdout.split()[-1] ver = version.LooseVersion(verstr) |