]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix sysctl.d location FHS compliance
authorwindgmbh <49904312+windgmbh@users.noreply.github.com>
Wed, 3 Nov 2021 17:16:53 +0000 (18:16 +0100)
committerAdam King <adking@redhat.com>
Sun, 17 Apr 2022 01:41:16 +0000 (21:41 -0400)
This fixes #53130
Containers should not write to '/usr/lib'.
That location could be read-only or overwritten.
Signed-off-by: Lukas Mayer <lmayer@wind.gmbh>
(cherry picked from commit 77afa812ea8b7e1e802246e4aa3a31e7b644a502)

src/cephadm/cephadm

index c82a880dcdf9c173aa722a38dfa157f0c2e6fec4..8681db2493ca9fe56bca01312ef270d884dd74ab 100755 (executable)
@@ -66,7 +66,7 @@ DATA_DIR = '/var/lib/ceph'
 LOG_DIR = '/var/log/ceph'
 LOCK_DIR = '/run/cephadm'
 LOGROTATE_DIR = '/etc/logrotate.d'
-SYSCTL_DIR = '/usr/lib/sysctl.d'
+SYSCTL_DIR = '/etc/sysctl.d'
 UNIT_DIR = '/etc/systemd/system'
 LOG_DIR_MODE = 0o770
 DATA_DIR_MODE = 0o700