]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add "su root root" to cephadm.log logrotate config 47314/head
authorAdam King <adking@redhat.com>
Tue, 19 Jul 2022 19:02:47 +0000 (15:02 -0400)
committerAdam King <adking@redhat.com>
Thu, 28 Jul 2022 00:14:29 +0000 (20:14 -0400)
Fixes: https://tracker.ceph.com/issues/56639
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit c0929e7e3ea14b0f8bfc71dc8ff74efddafb3ffc)

src/cephadm/cephadm

index ecdc6fc5d48b89e64428749c052926217cd4c527..9ee7f148f1aefd7abb0eee2259f7f1f5427ab996 100755 (executable)
@@ -9248,6 +9248,7 @@ def cephadm_init_logging(ctx: CephadmContext, args: List[str]) -> None:
     compress
     missingok
     notifempty
+    su root root
 }
 """)