Bug 1822209

Summary: remove pam_console dependency in xorg-x11-server
Product: [Fedora] Fedora Reporter: Iker Pedrosa <ipedrosa>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: high    
Version: rawhideCC: bskeggs, caillon+fedoraproject, jglisse, john.j5live, ofourdan, rhughes, rstrode, sandmann, sergio, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-02 15:30:54 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:    
Bug Blocks: 2166692    

Description Iker Pedrosa 2020-04-08 13:52:59 UTC
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.

Comment 2 Adam Jackson 2020-07-08 19:59:23 UTC
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?

Comment 3 Iker Pedrosa 2020-07-15 09:43:21 UTC
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#

Comment 4 Ben Cotton 2020-08-11 13:16:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 5 Iker Pedrosa 2020-09-24 10:44:09 UTC
Assigning high priority since I'd like to get rid of the module in RHEL9.0 to reduce the maintenance effort.

Comment 6 Ben Cotton 2021-11-04 17:31:48 UTC
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.

Comment 7 Ben Cotton 2022-02-08 21:15:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 8 Iker Pedrosa 2023-03-02 15:30:54 UTC
Build is available at https://bodhi.fedoraproject.org/updates/FEDORA-2023-c5cf787102