Bug 2091710 - authselect create-profile doesn't recognize --custom, -c option
Summary: authselect create-profile doesn't recognize --custom, -c option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: authselect
Version: 36
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Pavel Březina
QA Contact: Dan Lavu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-30 19:49 UTC by Reid Wahl
Modified: 2022-12-09 01:31 UTC (History)
3 users (show)

Fixed In Version: authselect-1.4.2-1.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-09 01:31:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github authselect authselect pull 316 0 None Merged man: remove --custom from create-profile which does not exist 2022-07-19 07:02:13 UTC
Red Hat Issue Tracker SSSD-4701 0 None None None 2022-06-18 01:39:25 UTC

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.


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