Description of problem:
$ fakeroot authselect check; echo $?
Current configuration is valid.
That's confusing. The man page suggests that 2 means that there's no configuration, but the message contradicts that.
Version-Release number of selected component (if applicable):
Authselect configuration is not valid only if authselect configured the system but the file content is changed.
authselect check, $? == 0 => authselect configured the system and everything is fine
authselect check, $? == 2 => authselect was not used at all
Maybe the message and man page should be more descriptive in this case.
authselect check, $? == 3 => authselect was used but someone messed with the configuration
Zbigniew, can you please check the PR and tell me if this is sufficient? Or do you think some other wording would be better?
FEDORA-2019-e65b5be2c3 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e65b5be2c3
authselect-1.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e65b5be2c3
authselect-1.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.