Bug 1822209 - remove pam_console dependency in xorg-x11-server
Summary: remove pam_console dependency in xorg-x11-server
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2166692
TreeView+ depends on / blocked
 
Reported: 2020-04-08 13:52 UTC by Iker Pedrosa
Modified: 2023-03-02 15:30 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-02 15:30:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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