Uploaded image for project: 'RHEL Documentation'
  1. RHEL Documentation
  2. RHELDOCS-18639

ipa-client-install fails to configure automount on RHEL8

XMLWordPrintable

    • sst_idm_ipa
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      I run

      ipa-client-install --no-ntp --automount-location default --principal=admin --password="xxxx"

      This works on RHEL7, i.e. the automount location is added to sssd config and autofs works afterwards.

      Running the same command on RHEL8, I get this error:

      Configuring automount:
      Automount configuration failed: CalledProcessError(Command ['/usr/sbin/ipa-client-automount', '--debug', '-U', '--location', 'default'] returned non-zero exit status 2: '')

      The overall ipa-client-install command thinks, it was sucessfull, though:

      The ipa-client-install command was successful

      Version-Release number of selected component (if applicable):
      ipa-client-install 4.9.6 on RHEL8
      (ipa-client-install 4.6.8 on RHEL7)

      How reproducible:

      Steps to Reproduce:
      1. run ipa-client-install command with --automount-location

      Actual results:
      Fails with "Automount configuration failed" as mentioned above

      Expected results:
      succeeds same as on RHEL7 systems and configures automount-location

      Additional info:
      If I run the ipa-client-automount separately after running ipa-client-install it does succeed:

      /usr/sbin/ipa-client-automount -U --location default

      Searching for IPA server...
      IPA server: DNS discovery
      Location: default
      Configured /etc/idmapd.conf
      Restarting sssd, waiting for it to become available.
      Started autofs

            frenaud@redhat.com Florence Renaud
            jira-bugzilla-migration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: