Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 8): Bug 1676981
Description of problem: When running ipa-client-automount, I see failures. In debug mode I see this: Backing up system configuration file '/etc/sysconfig/nfs' -> Not backing up - '/etc/sysconfig/nfs' doesn't exist Raised exception [Errno 2] No such file or directory: '/etc/sysconfig/nfs' Loading StateFile from '/var/lib/ipa-client/sysrestore/sysrestore.state' Loading StateFile from '/var/lib/ipa-client/sysrestore/sysrestore.state' IPA server: host-8-252-16.testrelm.test Location: nis Installation failed. Rolling back changes. IPA automount is not configured on this system If I touch /etc/sysconfig/nfs beforehand, it works. Version-Release number of selected component (if applicable): ipa-client-4.7.1-7.module+el8+2554+7a4ca32b.x86_64 nfs-utils-2.3.3-13.el8.x86_64 How reproducible: Always. At least in some test environments. Steps to Reproduce: 1. Setup IPA server and some automount map entries 2. ipa-client-automount --debug --server=$SERVER --location=$LOCATION -U Actual results: Fails Expected results: Works and sets up client properly. Additional info:
/etc/sysconfig/nfs is deprecated, we should adapt ipa-client-automount.
Metadata Update from @fcami: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1676981
Metadata Update from @frenaud: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1676981, https://bugzilla.redhat.com/show_bug.cgi?id=1676981 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1676981)
Issue linked to Bugzilla: Bug 1676981
master:
Metadata Update from @fcami: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-7:
Login to comment on this ticket.