diff --git a/pam.spec b/pam.spec index 467dfcf..711bfd8 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: 14%{?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+. @@ -190,6 +190,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/ @@ -364,6 +367,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/* @@ -379,6 +385,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) + * Tue Dec 4 2018 Tomáš Mráz 1.3.1-14 - Update Red Hat PAM modules to version 1.0.0 which includes pam_faillock - Drop also pam_tally2 which was obsoleted and deprecated long time ago 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 -