]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
init-radosgw.sysv: set ulimit -n before starting daemon 3577/head
authorSage Weil <sage@redhat.com>
Wed, 22 Oct 2014 00:59:30 +0000 (17:59 -0700)
committerLoic Dachary <ldachary@redhat.com>
Mon, 2 Feb 2015 15:02:10 +0000 (16:02 +0100)
commitd21f4e326eb4821cc9bd38a1b62a0210272277d4
treef57a918e095f777b7f56b46d10e48e09fe64f664
parent1ccd73a16e1829b5519ec5b83b2554af173ad052
init-radosgw.sysv: set ulimit -n before starting daemon

If we do the ulimit inside the daemon command we will have already
dropped privs and will fail.

Fixes: #9587
Backport: giant, firefly
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 9803cedf54a7baff45ccd0e0f65d2bc220958a46)
src/init-radosgw.sysv