Stanislav Levin
5a00882eab
pylint: Fix useless-suppression
...
Cleanup up no longer used Pylint's disables where possible.
Fixes: https://pagure.io/freeipa/issue/9117
Signed-off-by: Stanislav Levin <slev@altlinux.org >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2022-03-11 13:37:08 -05:00
Rob Crittenden
1870c93354
Ensure IPA is running (ideally) before uninstalling the KRA
...
The KRA attempts to unregister itself from the security domain
which requires that IPA be running for this to succeed.
1. Move the KRA uninstall call prior to stopping all IPA
services
2. Try to start IPA if it isn't running and a KRA is configured
It isn't mandatory that IPA be running for the KRA uninstall to
succeed but it will suppress a pretty scary backtrace and error
message.
https://pagure.io/freeipa/issue/8550
Signed-off-by: Rob Crittenden <rcritten@redhat.com >
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com >
2021-02-04 01:29:53 +01:00
Rob Crittenden
928ab51be6
ipactl: support script status 3, program is not running
...
Return status 3 if ipactl status can't start 389-ds or if
any of the expected services is not running.
https://pagure.io/freeipa/issue/8588
Signed-off-by: Rob Crittenden <rcritten@redhat.com >
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com >
2021-02-04 01:29:53 +01:00
Rob Crittenden
d7a4756dac
Create a common place to retrieve facts about an IPA installation
...
This is common to both client and server. Start with whether the
client or server is configured.
https://pagure.io/freeipa/issue/8384
Signed-off-by: Rob Crittenden <rcritten@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
Reviewed-By: Francois Cami <fcami@redhat.com >
2020-08-06 14:11:27 +02:00
François Cami
b49c627aa6
ipa_client_automount.py and ipactl.py: fix codestyle
...
Updating ipa_client_automount.py and ipactl.py's codestyle is
mandatory to make pylint pass as these are considered new files.
Fixes: https://pagure.io/freeipa/issue/7984
Signed-off-by: François Cami <fcami@redhat.com >
Reviewed-By: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2019-06-28 10:53:07 +02:00
François Cami
c0cf65c4f7
Move ipa-client-automount.in and ipactl into modules
...
Fixes: https://pagure.io/freeipa/issue/7984
Signed-off-by: François Cami <fcami@redhat.com >
Reviewed-By: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2019-06-28 10:53:07 +02:00