From 036fa2bf07f49dcb028e42a2578052a61a50c2d9 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Dec 20 2018 13:47:50 +0000 Subject: Add the motd.d directories (empty) - to silence warnings and to provide proper ownership for them (#1660935) --- diff --git a/pam.spec b/pam.spec index f2bed06..33b0463 100644 --- a/pam.spec +++ b/pam.spec @@ -3,7 +3,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.3.1 -Release: 13%{?dist} +Release: 15%{?dist} # The library is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+. @@ -204,6 +204,9 @@ install -m 600 /dev/null $RPM_BUILD_ROOT%{_secconfdir}/opasswd install -d -m 755 $RPM_BUILD_ROOT/var/log install -m 600 /dev/null $RPM_BUILD_ROOT/var/log/tallylog install -d -m 755 $RPM_BUILD_ROOT/var/run/faillock +install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/motd.d +install -d -m 755 $RPM_BUILD_ROOT/usr/lib/motd.d +install -d -m 755 $RPM_BUILD_ROOT/run/motd.d # Install man pages. install -m 644 %{SOURCE12} %{SOURCE13} %{SOURCE17} $RPM_BUILD_ROOT%{_mandir}/man5/ @@ -379,6 +382,9 @@ done %endif %ghost %verify(not md5 size mtime) /var/log/tallylog %dir /var/run/faillock +%dir %{_sysconfdir}/motd.d +%dir /run/motd.d +%dir /usr/lib/motd.d %{_prefix}/lib/tmpfiles.d/pam.conf %{_mandir}/man5/* %{_mandir}/man8/* @@ -394,6 +400,10 @@ done %doc doc/specs/rfc86.0.txt %changelog +* Thu Dec 20 2018 Tomáš Mráz 1.3.1-15 +- Add the motd.d directories (empty) to silence warnings and to + provide proper ownership for them (#1660935) + * Sun Dec 02 2018 Björn Esser - 1.3.1-13 - Backport upstream commit reporting disabled or invalid hashes to syslog - Backport upstream commit fixing syslog for disabled or invalid hashes diff --git a/pamtmp.conf b/pamtmp.conf index f980a4a..ab2237f 100644 --- a/pamtmp.conf +++ b/pamtmp.conf @@ -1,4 +1,5 @@ d /run/console 0755 root root - d /run/faillock 0755 root root - d /run/sepermit 0755 root root - +d /run/motd.d 0755 root root - f /var/log/tallylog 0600 root root -