Bug 1746557 - ipa-client-install calls "authselect select sssd --force" at uninstall time before restoring user-nsswitch.conf
Summary: ipa-client-install calls "authselect select sssd --force" at uninstall time b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: IPA Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1746558
TreeView+ depends on / blocked
 
Reported: 2019-08-28 18:31 UTC by François Cami
Modified: 2019-11-20 01:02 UTC (History)
9 users (show)

Fixed In Version: freeipa-4.8.2-1.fc31
Clone Of:
: 1746558 (view as bug list)
Environment:
Last Closed: 2019-11-20 01:02:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description François Cami 2019-08-28 18:31:27 UTC
Description of problem:
ipa-client-install calls "authselect select sssd --force" at uninstall time before restoring user-nsswitch.conf
user-nsswitch.conf still contains the sudoers line so nsswitch.conf is not identical post-uninstall to previous state.


Version-Release number of selected component (if applicable):
freeipa-4.8.1-1.fc30

How reproducible:
Always


Steps to Reproduce:
0. grep sudoers /etc/nsswitch.conf => Nothing
1. ipa-client-install (...) -U
2. ipa-client-install --uninstall -U
3. grep sudoers /etc/nsswitch.conf

Actual results:
sudoers: files sss

Expected results:
Nothing

Additional info:
This is visible by setting a breakpoint:
* in ipaplatform/redhat/authconfig.py::RedHatAuthSelect::unconfigure()
* before ipautil.run(cmd)
Run ipa-client-install --uninstall
and when Pdb stops execution, examine the content of user-nsswitch.conf.

Comment 1 François Cami 2019-08-28 18:39:13 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8054

Comment 2 François Cami 2019-08-29 14:08:46 UTC
PR: https://github.com/freeipa/freeipa/pull/3593

Comment 5 Fedora Update System 2019-11-12 20:48:17 UTC
FEDORA-2019-75a963e4cb has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-75a963e4cb

Comment 6 Fedora Update System 2019-11-13 10:53:03 UTC
freeipa-4.8.2-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-75a963e4cb

Comment 7 Fedora Update System 2019-11-20 01:02:08 UTC
freeipa-4.8.2-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.