Bug 1676981
| Summary: | ipa-client-automount exception backing up /etc/sysconfig/nfs | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Scott Poore <spoore> |
| Component: | ipa | Assignee: | François Cami <fcami> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | abokovoy, contribs, dpal, fcami, frenaud, jwboyer, ksiddiqu, mmcgrath, pvoborni, rcritten, spoore, tscherf |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.7.1-11.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-14 01:45:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Scott Poore
2019-02-13 17:38:33 UTC
FYI, I think this is related to the fix in bug #1673685 We should backup /etc/nfs.conf instead if I remember correctly. Cloned upstream: https://pagure.io/freeipa/issue/7868 Upstream ticket: https://pagure.io/freeipa/issue/7868 nfs-utils-2.3.3-5.rc2.fc30 ( https://koji.fedoraproject.org/koji/buildinfo?buildID=1208012 ) introduced that change for Fedora: * Mon Feb 11 2019 Steve Dickson <steved> 2.3.3-5.rc2 - Do not install /etc/sysconfig/nfs (bz 1668836) - Change nfsconvert.sh not to set the immutable bit (bz 1668836) - Change nfsconvert.py not to create the new dummy /etc/sysconfig/nfs (bz 1668836) Fixed upstream master: https://pagure.io/freeipa/c/c69875c8afdd877baf7139c0cd5241f70105cbd4 Fixed upstream ipa-4-7: https://pagure.io/freeipa/c/2ee160d189042a356c1ba9bb91214f2a495cc10d Verified
Version::
ipa-client-4.7.1-11.module+el8+2843+a16c4825.x86_64
Results::
# ipa-client-install --principal admin --password Secret123 -U
This program will set up IPA client.
Version 4.7.1
Discovery was successful!
Client hostname: rhel8-2.example.com
Realm: EXAMPLE.COM
DNS Domain: example.com
IPA Server: rhel8-1.example.com
BaseDN: dc=example,dc=com
Synchronizing time
No SRV records of NTP servers found and no NTP server or pool address was provided.
Using default chrony configuration.
Attempting to sync time with chronyc.
Time synchronization was successful.
Successfully retrieved CA cert
Subject: CN=Certificate Authority,O=EXAMPLE.COM
Issuer: CN=Certificate Authority,O=EXAMPLE.COM
Valid From: 2019-02-27 23:34:18
Valid Until: 2039-02-27 23:34:18
Enrolled in IPA realm EXAMPLE.COM
Created /etc/ipa/default.conf
Configured sudoers in /etc/nsswitch.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm EXAMPLE.COM
Systemwide CA database updated.
Hostname (rhel8-2.example.com) does not have A/AAAA record.
Missing reverse record(s) for address(es): 192.168.122.82.
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
WARNING: The configuration pre-client installation is not managed by authselect and cannot be backed up. Uninstallation may not be able to revert to the original state.
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring example.com as NIS domain.
Client configuration complete.
The ipa-client-install command was successful
# ipa automountlocation-find
----------------------------
1 automount location matched
----------------------------
Location: default
----------------------------
Number of entries returned 1
----------------------------
# ipa-client-automount --location=default --server=rhel8-1.example.com
IPA server: rhel8-1.example.com
Location: default
Continue to configure the system with these values? [no]: yes
Configured /etc/idmapd.conf
Restarting sssd, waiting for it to become available.
Started autofs
# file /etc/sysconfig/nfs
/etc/sysconfig/nfs: cannot open `/etc/sysconfig/nfs' (No such file or directory)
|