Bug 1651637
| Summary: | authselect enable-features should error on unknown features | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Pavel Březina <pbrezina> |
| Component: | authselect | Assignee: | Pavel Březina <pbrezina> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Steeve Goveas <sgoveas> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | cpelland, extras-qa, mniranja, orion, pbrezina, tscherf |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1645708 | Environment: | |
| Last Closed: | 2019-06-14 01:30:08 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: | |||
| Bug Depends On: | 1645708 | ||
| Bug Blocks: | 1623566 | ||
|
Description
Pavel Březina
2018-11-20 13:05:39 UTC
*** Bug 1654674 has been marked as a duplicate of this bug. *** Versions: authselect-libs-1.0-9.el8.x86_64 authselect-1.0-9.el8.x86_64 authselect-compat-1.0-9.el8.x86_64 authselect select sssd with-smartcards [error] Unknown profile feature [with-smartcards], did you mean [with-smartcard]? [error] Unable to activate profile [sssd] [22]: Invalid argument Unable to activate profile [22]: Invalid argument [root@host-8-250-14 ~]# authselect select sssd with-smartcard Profile "sssd" was selected. The following nsswitch maps are overwritten by the profile: - passwd - group - netgroup - automount - services Make sure that SSSD service is configured and enabled. See SSSD documentation for more information. - with-smartcard is selected, make sure smartcard authentication is enabled in sssd.conf: - set "pam_cert_auth = True" in [pam] section Reproducing the issue: [root@client-4948 ~]# rpm -qa | grep authselect authselect-1.0.1-2.fc28.x86_64 authselect-devel-1.0.1-2.fc28.x86_64 authselect-libs-1.0.1-2.fc28.x86_64 authselect-compat-1.0.1-2.fc28.x86_64 [root@client-4948 ~]# authselect select sssd with-smartcards [error] [/etc/authselect/nsswitch.conf] has unexpected content! [error] Unexpected changes to the configuration were detected. [error] Refusing to activate profile unless those changes are removed or overwrite is requested. Some unexpected changes to the configuration were detected. Use --force parameter if you want to overwrite these changes. The above error is fixed with below version: Versions: authselect-libs-1.0-9.el8.x86_64 authselect-1.0-9.el8.x86_64 authselect-compat-1.0-9.el8.x86_64 authselect select sssd with-smartcards [error] Unknown profile feature [with-smartcards], did you mean [with-smartcard]? [error] Unable to activate profile [sssd] [22]: Invalid argument Unable to activate profile [22]: Invalid argument [root@host-8-250-14 ~]# authselect select sssd with-smartcard Profile "sssd" was selected. The following nsswitch maps are overwritten by the profile: - passwd - group - netgroup - automount - services Make sure that SSSD service is configured and enabled. See SSSD documentation for more information. - with-smartcard is selected, make sure smartcard authentication is enabled in sssd.conf: - set "pam_cert_auth = True" in [pam] section |