Bug 2091710

Summary: authselect create-profile doesn't recognize --custom, -c option
Product: [Fedora] Fedora Reporter: Reid Wahl <nwahl>
Component: authselectAssignee: Pavel Březina <pbrezina>
Status: CLOSED ERRATA QA Contact: Dan Lavu <dlavu>
Severity: low Docs Contact:
Priority: unspecified    
Version: 36CC: aboscatt, jhrozek, pbrezina
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: authselect-1.4.2-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-09 01:31:49 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 Reid Wahl 2022-05-30 19:49:59 UTC
Description of problem:

[reid@laptop ~]$ sudo authselect create-profile my_profile --custom
Invalid option --custom: unknown option

[reid@laptop ~]$ sudo authselect create-profile my_profile -c
Invalid option -c: unknown option


From authselect(8) man page:

       create-profile NAME [--custom,-c|--vendor,-v] [options]
           Create a new custom profile named NAME. The profile can be based on an existing profile in which case the new profile templates are either copied from the base profile or symbolic links to these
           files are created if such option is selected.

-----

Version-Release number of selected component (if applicable):

authselect-1.4.0-1.fc36.x86_64

-----

How reproducible:

Always

-----

Steps to Reproduce:

sudo authselect create-profile my_profile --custom

-----

Actual results:

Invalid option --custom: unknown option

-----

Expected results:

Profile created

-----

Additional info:

It's not clear that this option actually needs to exist (seems that custom is the default), but it should be removed from the man page if it's not a valid option.

Comment 1 Pavel Březina 2022-05-31 08:28:25 UTC
Thank you for reporting this bug. It is a mistake in manual page, the option --custom does not exist and should not be mentioned there.

Comment 2 Pavel Březina 2022-07-18 10:25:04 UTC
Upstream PR: https://github.com/authselect/authselect/pull/316

Comment 3 Fedora Update System 2022-12-01 14:01:43 UTC
FEDORA-2022-9b9adb4d6d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9b9adb4d6d

Comment 4 Fedora Update System 2022-12-02 02:28:53 UTC
FEDORA-2022-9b9adb4d6d has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-9b9adb4d6d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9b9adb4d6d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-12-05 15:46:04 UTC
FEDORA-2022-3905763e94 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3905763e94

Comment 6 Fedora Update System 2022-12-06 01:32:19 UTC
FEDORA-2022-3905763e94 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-3905763e94`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3905763e94

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-12-09 01:31:49 UTC
FEDORA-2022-3905763e94 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.