From 596c9b68c83af70f2be6afede0df459846a78b7e Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Thu, 30 Apr 2015 12:34:08 +0200 Subject: [PATCH] ceph.spec.in: install ceph.limits.d limits.d expect the file to end with *.conf. Add the installed file to package list of the ceph package. Signed-off-by: Danny Al-Gaaf --- ceph.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 6dffda868fc..c15e41682b3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -592,7 +592,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' install -D src/rbdmap $RPM_BUILD_ROOT%{_sysconfdir}/ceph/rbdmap install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap -install -D ceph.limits.d $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/ceph +install -D ceph.limits.d $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/ceph.conf %if 0%{?_with_systemd} install -m 0644 -D systemd/ceph.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf install -m 0644 -D systemd/ceph-rgw.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}-rgw.conf @@ -794,6 +794,7 @@ mkdir -p %{_localstatedir}/run/ceph/ %{_libdir}/ceph/erasure-code/libec_*.so* %{_udevrulesdir}/60-ceph-partuuid-workaround.rules %{_udevrulesdir}/95-ceph-osd.rules +%config %{_sysconfdir}/security/limits.d/ceph.conf %config %{_sysconfdir}/bash_completion.d/ceph %config(noreplace) %{_sysconfdir}/logrotate.d/ceph %if 0%{?suse_version} -- 2.47.3