RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1847501 - pam_motd spews errors
Summary: pam_motd spews errors
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pam
Version: 8.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: 8.0
Assignee: Iker Pedrosa
QA Contact: Brian Ipsen
URL:
Whiteboard: sync-to-jira qetodo
Depends On: 1660935
Blocks: 1847992
TreeView+ depends on / blocked
 
Reported: 2020-06-16 14:01 UTC by Peter Robinson
Modified: 2022-06-03 22:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1660935
Environment:
Last Closed: 2020-11-05 14:12:18 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Peter Robinson 2020-06-16 14:01:14 UTC
+++ This bug was initially created as a clone of Bug #1660935 +++

Description of problem:

pam_motd spews errors:

sshd[18088]: pam_motd(sshd:session): pam_motd: error scanning directory /etc/motd.d
sshd[18088]: pam_motd(sshd:session): pam_motd: error scanning directory /run/motd.d
sshd[18088]: pam_motd(sshd:session): pam_motd: error scanning directory /usr/lib/motd.d

Version-Release number of selected component (if applicable):
pam-1.3.1-13.fc28.x86_64

Steps to Reproduce:
1. ssh into machine

Expected results:
No error messages in logs

Additional info:
I would suggest that pam provide empty /etc/motd.d, /run/motd.d, and /usr/lib/motd.d directories.

--- Additional comment from Fedora Update System on 2018-12-20 14:48:16 UTC ---

pam-1.3.1-15.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-93c745f2e2

--- Additional comment from Fedora Update System on 2018-12-20 14:48:19 UTC ---

pam-1.3.1-15.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a0472bc83b

--- Additional comment from Fedora Update System on 2018-12-21 05:47:17 UTC ---

pam-1.3.1-15.fc28 has been pushed to the Fedora 28 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-2018-93c745f2e2

--- Additional comment from Fedora Update System on 2018-12-21 21:06:08 UTC ---

pam-1.3.1-15.fc29 has been pushed to the Fedora 29 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-2018-a0472bc83b

--- Additional comment from Fedora Update System on 2018-12-23 02:52:58 UTC ---

pam-1.3.1-15.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

--- Additional comment from Fedora Update System on 2018-12-24 01:48:35 UTC ---

pam-1.3.1-15.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 2 Peter Robinson 2020-07-16 15:04:50 UTC
I've filed the following PR to back port the Fedora fix for this https://src.osci.redhat.com/rpms/pam/pull-request/6

Comment 4 Peter Robinson 2020-08-20 16:09:39 UTC
sgadekar: please comment

Comment 5 shridhar 2020-08-24 07:51:52 UTC
ack for rhel-8.4

Comment 6 shridhar 2020-08-24 09:27:45 UTC
Hello, it is bit late for inclusion of bugzilla for rhel-8.3. Thus I propose to set rhel-8.4 as target.
Thank you,
Shridhar

Comment 9 Iker Pedrosa 2020-11-05 14:12:18 UTC
As commit https://github.com/linux-pam/linux-pam/commit/f9c9c72121eada731e010ab3620762bcf63db08f has not been included in RHEL this bugzilla is not present in RHEL. Taking into account this information I'm closing it as notabug.

Comment 10 Tim Jackson 2022-06-03 21:49:39 UTC
This issue has made it into CentOS Stream 8; it's present in pam-1.3.1-18.el8.x86_64

Comment 11 Tim Jackson 2022-06-03 22:00:48 UTC
Created CentOS Stream 8 bug: bug #2093495


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