- Rename motd.tmpfiles to pam.tmpfiles
- Add /run/faillock directory OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=249
This commit is contained in:
parent
b84cd6c705
commit
bdff5d34ca
@ -1,2 +0,0 @@
|
||||
#Type Path Mode User Group Age Argument
|
||||
d /run/motd.d 0755 root root - -
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 15 13:34:52 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Rename motd.tmpfiles to pam.tmpfiles
|
||||
- Add /run/faillock directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 10 10:08:28 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
8
pam.spec
8
pam.spec
@ -49,7 +49,7 @@ Source9: baselibs.conf
|
||||
Source10: unix2_chkpwd.c
|
||||
Source11: unix2_chkpwd.8
|
||||
Source12: pam-login_defs-check.sh
|
||||
Source13: motd.tmpfiles
|
||||
Source13: pam.tmpfiles
|
||||
Source14: Linux-PAM-%{version}-docs.tar.xz.asc
|
||||
Source15: Linux-PAM-%{version}.tar.xz.asc
|
||||
Patch2: pam-limit-nproc.patch
|
||||
@ -215,7 +215,7 @@ echo '.so man8/pam_motd.8' > %{buildroot}%{_mandir}/man5/motd.5
|
||||
# rpm macros
|
||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.pam
|
||||
# /run/motd.d
|
||||
install -Dm0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/motd.conf
|
||||
install -Dm0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/pam.conf
|
||||
# Create filelist with translations
|
||||
%find_lang Linux-PAM
|
||||
|
||||
@ -227,7 +227,7 @@ install -Dm0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/motd.conf
|
||||
/sbin/ldconfig
|
||||
%set_permissions %{_sbindir}/unix_chkpwd
|
||||
%set_permissions %{_sbindir}/unix2_chkpwd
|
||||
%tmpfiles_create %{_tmpfilesdir}/motd.conf
|
||||
%tmpfiles_create %{_tmpfilesdir}/pam.conf
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%pre
|
||||
@ -389,7 +389,7 @@ done
|
||||
%verify(not mode) %attr(4755,root,shadow) %{_sbindir}/unix2_chkpwd
|
||||
%attr(0700,root,root) %{_sbindir}/unix_update
|
||||
%{_unitdir}/pam_namespace.service
|
||||
%{_tmpfilesdir}/motd.conf
|
||||
%{_tmpfilesdir}/pam.conf
|
||||
|
||||
%files -n pam_unix
|
||||
%defattr(-,root,root,755)
|
||||
|
3
pam.tmpfiles
Normal file
3
pam.tmpfiles
Normal file
@ -0,0 +1,3 @@
|
||||
#Type Path Mode User Group Age Argument
|
||||
d /run/faillock 0755 root root - -
|
||||
d /run/motd.d 0755 root root - -
|
Loading…
Reference in New Issue
Block a user