#7776 authselect 1.0.2 fails on unknown feature
Closed: fixed 5 years ago Opened 5 years ago 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

5 years ago
5 years ago

master:

  • 7aceca2 Fix authselect invocations to work with 1.0.2

ipa-4-7:

  • 05c5be1 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)

5 years ago

master:

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

ipa-4-8:

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

Login to comment on this ticket.

Metadata