-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0
-
ipa-4.11.0-5.el9
-
None
-
None
-
1
-
rhel-sst-idm-ipa
-
ssg_idm
-
21
-
22
-
None
-
QE ack, Dev ack
-
False
-
-
No
-
2024-Q1-Bravo-S2
-
Pass
-
Automated
-
None
Cloned from: https://pagure.io/freeipa/issue/9487 ### Issue `ipa-client-install --automount-location=location` should configure a host for automount of e.g. NFS home directories. However the option does not work. Automount configuration always fails because the automount tool thinks that the system is not (yet) an IPA client. #### Steps to Reproduce 1. Install an IPA client with `ipa-client-install --automount-location=default` #### Actual behavior System is not configured for automount. `ipa-client-install` does not fail either. Instead it ignores the error and logs the error to the ipaclient install log. ``` Configuring automount: 2023-11-28T12:24:12Z DEBUG Starting external process 2023-11-28T12:24:12Z DEBUG args=['/usr/sbin/ipa-client-automount', '--debug', '-U', '--location', 'default'] 2023-11-28T12:24:13Z DEBUG Process finished, return code=2 2023-11-28T12:24:13Z DEBUG stdout=IPA client is not configured on this system 2023-11-28T12:24:13Z DEBUG stderr= 2023-11-28T12:24:13Z ERROR Automount configuration failed: CalledProcessError(Command ['/usr/sbin/ipa-client-automount', '--debug', '-U', '--location', 'default'] returned non-zero exit status 2: '') ``` #### Expected behavior `ipa-client-install` successfully configures a system for automount. #### Version/Release/Distribution ipa-client-4.10.2-4.el9_3.1.x86_64 #### Additional info: Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue. Log file locations: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/config-files-logs.html Troubleshooting guide: https://www.freeipa.org/page/Troubleshooting
- links to
-
RHSA-2023:121880 ipa bug fix and enhancement update
- mentioned on