[openssh] Add tmpfiles.d entries (#1196807)
Jakub Jelen
jjelen at fedoraproject.org
Mon Mar 2 07:29:49 UTC 2015
commit 766438b1d56e66643cbd25b854de0614c30b369b
Author: Jakub Jelen <jjelen at redhat.com>
Date: Sun Mar 1 21:35:30 2015 +0100
Add tmpfiles.d entries (#1196807)
openssh-tmpfiles.conf | 1 +
openssh.spec | 3 +++
2 files changed, 4 insertions(+)
---
diff --git a/openssh-tmpfiles.conf b/openssh-tmpfiles.conf
new file mode 100644
index 0000000..c35a2b8
--- /dev/null
+++ b/openssh-tmpfiles.conf
@@ -0,0 +1 @@
+d /var/empty/sshd 711 root root -
diff --git a/openssh.spec b/openssh.spec
index 8fb274b..7df8e33 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -89,6 +89,7 @@ Source10: sshd.socket
Source11: sshd.service
Source12: sshd-keygen.service
Source13: sshd-keygen
+Source14: openssh-tmpfiles.conf
# Internal debug
Patch0: openssh-5.9p1-wIm.patch
@@ -603,6 +604,7 @@ install -m644 %{SOURCE11} $RPM_BUILD_ROOT/%{_unitdir}/sshd.service
install -m644 %{SOURCE12} $RPM_BUILD_ROOT/%{_unitdir}/sshd-keygen.service
install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT%{_bindir}/
install contrib/ssh-copy-id.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+install -m644 -D %{SOURCE14} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
%if ! %{no_gnome_askpass}
install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
@@ -716,6 +718,7 @@ getent passwd sshd >/dev/null || \
%attr(0644,root,root) %{_unitdir}/sshd at .service
%attr(0644,root,root) %{_unitdir}/sshd.socket
%attr(0644,root,root) %{_unitdir}/sshd-keygen.service
+%attr(0644,root,root) %{_tmpfilesdir}/openssh.conf
%endif
%if %{ldap}
More information about the scm-commits
mailing list