Bug 2056181 - the contents of "/etc/nologin" are displayed twice when logged in as "root"
Summary: the contents of "/etc/nologin" are displayed twice when logged in as "root"
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: 43
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Iker Pedrosa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-19 13:57 UTC by Rudolf E. Steiner
Modified: 2026-02-15 18:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SSSD-4345 0 None None None 2022-06-18 03:19:56 UTC

Description Rudolf E. Steiner 2022-02-19 13:57:40 UTC
Description of problem:

The contents of "/etc/nologin" are displayed twice when logged in as "root".

Version-Release number of selected component (if applicable):

pam-1.5.2-7.fc35;

How reproducible:

Login as "root" if "/etc/nologin" exists with content.

Actual results:

The content of "/etc/nologin" is displayed twice.

Expected results:

The contents of "/etc/nologin" should only be displayed once.

Comment 1 Ben Cotton 2022-11-29 17:55:47 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
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
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Edgar Hoch 2023-11-25 22:13:39 UTC
This occurs also on Fedora 39.

Comment 3 Aoife Moloney 2024-11-08 10:42:37 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
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
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Edgar Hoch 2024-11-08 11:04:46 UTC
The problem still exists on Fedora 40, both with /etc/nologin and /run/nologin.

Comment 5 Iker Pedrosa 2024-11-08 11:28:36 UTC
Yeah, and probably also on rawhide so I'm changing the version so that the ticket isn't lost

Comment 6 Aoife Moloney 2025-02-26 12:51:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


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