]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kill /etc/security/limits.d/ceph
authorSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 14:51:33 +0000 (10:51 -0400)
committerSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 16:04:50 +0000 (12:04 -0400)
This only affects login shells; not useful.

Signed-off-by: Sage Weil <sage@redhat.com>
Makefile.am
ceph.spec.in
debian/ceph-common.install
debian/rules
etc/ceph.limits.d [deleted file]

index 2508278d31d865dbfee9c42721099d48f44a6e9e..7ff3cf7f1221f6ca8e57373b3f499f82183c874c 100644 (file)
@@ -10,7 +10,6 @@ EXTRA_DIST += \
        src/test/cli \
        src/test/downloads \
        systemd/ceph.tmpfiles.d \
-       etc/ceph.limits.d \
        etc/default/ceph \
        etc/sysconfig/ceph \
        etc/sysconfig/SuSEfirewall2.d/services/ceph-mon \
index a2fda78f2f165f9d0925b275ad19f931160dc227..45fc06eadc204d5be38b96dcec81ceece15bd946 100644 (file)
@@ -592,7 +592,6 @@ 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 etc/ceph.limits.d $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/ceph.conf
 install -m 0644 -D etc/sysconfig/ceph $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ceph
 %if 0%{?_with_systemd}
   install -m 0644 -D systemd/ceph.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
@@ -790,7 +789,6 @@ 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
 %config(noreplace) %{_sysconfdir}/sysconfig/ceph
index 1fa4c1309f0869bc6e52dcf661051c207d133b0d..4e21adff9c47439dd7b177892b4603f0b1e8489b 100644 (file)
@@ -25,6 +25,5 @@ usr/share/ceph/id_dsa_drop.ceph.com
 usr/share/ceph/id_dsa_drop.ceph.com.pub
 etc/ceph/rbdmap
 etc/init.d/rbdmap
-etc/security/limits.d/ceph
 lib/udev/rules.d/50-rbd.rules
 usr/lib/python*/dist-packages/ceph_argparse.py*
index 251eb42d37b615c5742b33a2aad15ef723338500..c81036a471951b1774cc2005823be0ba0266946c 100755 (executable)
@@ -85,7 +85,6 @@ install: build
        install -D -m 644 udev/95-ceph-osd.rules $(DESTDIR)/lib/udev/rules.d/95-ceph-osd.rules
        install -D -m 644 src/rbdmap $(DESTDIR)/etc/ceph/rbdmap
        install -D -m 755 src/init-rbdmap $(DESTDIR)/etc/init.d/rbdmap
-       install -D -m 644 etc/ceph.limits.d $(DESTDIR)/etc/security/limits.d/ceph
 
 # Add here commands to install the package into debian/testpack.
 # Build architecture-independent files here.
diff --git a/etc/ceph.limits.d b/etc/ceph.limits.d
deleted file mode 100644 (file)
index 702aa03..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# /etc/security/limits.d/ceph
-#
-#<domain>        <type>  <item>  <value>
-#
-
-# We want a very large value for nofile for the ceph user as the ceph
-# clients and daemons consume lots and lots of file descriptors.
-
-ceph     -           nofile  4194304