Hi,
For authconfig, I found the old package and I just did some modifications.
You may find all the files needed on this repo : https://github.com/EoleDev/archlinux-authconfig
With this you may build freeipa and use it. I tried successfully.
Git Clone URL: | https://aur.archlinux.org/freeipa.git (read-only, click to copy) |
---|---|
Package Base: | freeipa |
Description: | Python libraries used by IPA client |
Upstream URL: | http://www.freeipa.org/ |
Keywords: | freeipa identity management policy trusts |
Licenses: | GPL3 |
Submitter: | chenxiaolong |
Maintainer: | patlefort |
Last Packager: | patlefort |
Votes: | 24 |
Popularity: | 0.20 |
First Submitted: | 2012-11-15 23:50 (UTC) |
Last Updated: | 2025-01-09 00:05 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
Hi,
For authconfig, I found the old package and I just did some modifications.
You may find all the files needed on this repo : https://github.com/EoleDev/archlinux-authconfig
With this you may build freeipa and use it. I tried successfully.
If trying to build on Antergos edit the PKGBUILD and add --with-ipaplatform=arch\ to the ./configure calls (there's two).
The python error No module named ipaplatform.tasks appears to be seems to be caused by python version mismatches. Editing /usr/bin/ipa-client-install post install and changing python2 to python3 seems to resolve the issue. Not sure how to fix in the PKGBUILD so the right Python version is in the executables.
You could modify the pkgbuild upfront when using AUR helper, e.g. trizen.
I managed to complete build w/o authconfig, however the program ipa-client-install
is not working:
[admin@pc7-cubi3 pkg]$ ipa-client-install --help
Traceback (most recent call last):
File "/usr/bin/ipa-client-install", line 22, in <module>
from ipaclient.install import ipa_client_install
File "/usr/lib/python2.7/site-packages/ipaclient/install/ipa_client_install.py", line 5, in <module>
from ipaclient.install import client
File "/usr/lib/python2.7/site-packages/ipaclient/install/client.py", line 35, in <module>
from ipalib import api, errors, x509
File "/usr/lib/python2.7/site-packages/ipalib/__init__.py", line 919, in <module>
from ipalib import plugable
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 42, in <module>
from ipalib.config import Env
File "/usr/lib/python2.7/site-packages/ipalib/config.py", line 43, in <module>
from ipaplatform.tasks import tasks
ImportError: No module named ipaplatform.tasks
Hmm, it looks like one of the dependencies (authconfig) is no longer available on AUR. Does anyone have a workaround (or a copy of the old pkgbuild?)
Building this package doesn't seem to create the file /usr/lib/pythonX.Y/site-packages/ipaplatform/init.py, and so anything using that module crashes. eg. I'm getting the below traceback on running ipa-client-install after installing this package:
Traceback (most recent call last):
File "/usr/bin/ipa-client-install", line 22, in <module>
from ipaclient.install import ipa_client_install
File "/usr/lib/python2.7/site-packages/ipaclient/install/ipa_client_install.py", line 5, in <module>
from ipaclient.install import client
File "/usr/lib/python2.7/site-packages/ipaclient/install/client.py", line 35, in <module>
from ipalib import api, errors, x509
File "/usr/lib/python2.7/site-packages/ipalib/__init__.py", line 919, in <module>
from ipalib import plugable
File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 42, in <module>
from ipalib.config import Env
File "/usr/lib/python2.7/site-packages/ipalib/config.py", line 43, in <module>
from ipaplatform.tasks import tasks
ImportError: No module named ipaplatform.tasks
When trying to install on Antagos i get the following error, is there anyway to fix this?
checking supported IPA platform... configure: error: IPA platform antergos is not supported
Pinned Comments
patlefort commented on 2024-07-23 11:37 (UTC)
Keys are in
keys/pgp
of this package.