freeipa/ipaclient/install
Florence Blanc-Renaud 97330785ad server install: remove error log about missing bkup file
The client installer code can be called in 3 different ways:
- from ipa-client-install CLI
- from ipa-replica-install CLI if the client is not already installed
- from ipa-server-install

In the last case, the client installer is called with
options.on_master=True
As a result, it's skipping the part that is creating the krb5
configuration:
    if not options.on_master:
        nolog = tuple()
        configure_krb5_conf(...)

The configure_krb5_conf method is the place where the krb5.conf file is
backup'ed with the extention ".ipabkp". For a master installation, this
code is not called and the ipabkp file does not exist => delete raises
an error.

When delete fails because the file does not exist, no need to log an
error message.

Fixes: https://pagure.io/freeipa/issue/9306
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2023-01-13 18:06:21 -05:00
..
__init__.py ipa-client-install: move client install to module 2016-11-11 12:13:56 +01:00
automount.py install: re-introduce option groups 2017-03-13 10:12:40 +01:00
client.py server install: remove error log about missing bkup file 2023-01-13 18:06:21 -05:00
ipa_certupdate.py ipa-certupdate: Update client certs before KDC/HTTPd restart 2022-12-01 18:05:28 -05:00
ipa_client_automount.py Remove the --no-sssd option from ipa-client-automount 2022-03-18 09:40:37 +01:00
ipa_client_install.py Drop list of return values to be ignored in AdminTool 2019-06-07 11:24:45 +02:00
ipa_client_samba.py pylint: Fix used-before-assignment 2023-01-10 08:30:58 +01:00
ipa_epn.py pylint: fix implicit-str-concat 2023-01-10 08:30:58 +01:00
ipachangeconf.py Move ipachangeconf from ipaclient.install to ipapython 2019-08-28 22:15:50 -04:00
ipadiscovery.py Make IPADiscovery available in PyPI packages 2019-03-01 11:44:27 +01:00
sssd.py ipaclient: Remove --no-sssd and --no-ac options 2018-08-13 12:23:53 +02:00
timeconf.py Retry chronyc waitsync only once 2020-09-30 17:01:01 +02:00