On Няд, 26 сту 2025, Dmitry Krasov via FreeIPA-users wrote:
could you type commands here apply this patch

This is purely for test purposes.

Something like:

- download the patch:
  cd /tmp
  wget -O temp-fix.patch 
https://pagure.io/freeipa/issue/raw/files/4a84840cc82bfb2680aa12410fcadd6a9411c6cc96f4f5c4bcd511e8bd91b5e3-freeipa-9736-temp-fix.patch?raw=1

- install 'patch' utility:
  sudo dnf install patch

- patch the files from python3-ipaserver package:

  sudo -i
  cd /usr/lib/python3.12/site-packages
  patch -p1 < /tmp/temp-fix.patch

The last step would look something like

# patch -p1 < /tmp/temp-fix.patch
patching file ipaserver/install/ipa_migrate.py
Hunk #1 succeeded at 1085 (offset -21 lines).
Hunk #2 succeeded at 1099 (offset -21 lines).
Hunk #3 succeeded at 1322 (offset -43 lines).
patching file ipaserver/install/ipa_migrate.py
Hunk #1 succeeded at 1510 (offset -118 lines).

Now you can try ipa-migrate again.

Note that it is not going to survive any upgrade until the fix is
available in Fedora.

--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland

--
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to