Description of problem: pam_console is mostly broken and needs to be deleted. This package has some dependencies with it that have to be removed beforehand. I have found that at least xserver.pamd depends on pam_console but please check for any other hidden dependency.
How in the modern world does one prevent a non-console user from launching Xorg? What API do I query to discover whether this should be allowed?
From my limited point of view you could use systemd APIs. I think that the one you are looking for is called sd-login[1], but I'm not completely sure since I've never used it. Links: [1] https://www.freedesktop.org/software/systemd/man/sd-login.html#
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
Assigning high priority since I'd like to get rid of the module in RHEL9.0 to reduce the maintenance effort.
This message is a reminder that Fedora 33 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '33'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 33 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Build is available at https://bodhi.fedoraproject.org/updates/FEDORA-2023-c5cf787102