#7776 authselect 1.0.2 fails on unknown feature
Closed: fixed Opened by cheimes.

Issue

Since 1.0.2 authselect fails when invoked with an unknown or empty feature, see https://bugzilla.redhat.com/show_bug.cgi?id=1645708#c10

Steps to Reproduce

  1. install server or client
  2. uninstall a server or client

Actual behavior

WARNING: Unable to revert to the pre-installation state ('authconfig' tool has been deprecated in favor of 'authselect'). The default sssd profile will be used instead.
The authconfig arguments would have been: authconfig --disableldap --disablekrb5 --disablesssdauth --disablemkhomedir
Failed to remove krb5/LDAP configuration: CalledProcessError(Command ['/usr/bin/authselect', 'select', 'sssd', '', '--force'] returned non-zero exit status 1: '[error] Unknown profile feature []\n[error] Unable to activate profile [sssd] [22]: Invalid argument\nUnable to activate profile [22]: Invalid argument\n')

Expected behavior

no error

Version/Release/Distribution

authselect-1.0.2-1.fc28


Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2610
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1645708

Adam has created patch builds https://bodhi.fedoraproject.org/updates/FEDORA-2018-a7e4debd10 and https://bodhi.fedoraproject.org/updates/FEDORA-2018-892835660b for F28 and F29.

Metadata Update from @cheimes:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1654291 (was: https://bugzilla.redhat.com/show_bug.cgi?id=1645708)

master:

  • 7aceca2da4f4b68b942c796d6152706f12135502 Fix authselect invocations to work with 1.0.2

ipa-4-7:

  • 05c5be1b1c5ae63c5547d248d926b3411bff2733 Fix authselect invocations to work with 1.0.2

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

master:

  • 03a228aaf6418a93b2a59bef46a94c9bf7528077 ipatests: remove xfail in TestIpaClientAutomountFileRestore
  • 73f049c75f0b1ed269cb8ebcb5c2158d2bc8b614 authconfig.py: restore user-nsswitch.conf at uninstall time

ipa-4-8:

  • ffe9871e1f73a80ac092a5350bd80b78df52a9fd ipatests: remove xfail in TestIpaClientAutomountFileRestore
  • 7343504f976a726198b0c203702c87638d2b8636 authconfig.py: restore user-nsswitch.conf at uninstall time
Metadata