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

Resolves: rhbz#2099670

src/cephadm/cephadm

index 2353e7b1e74b28607f8b4f75e2bb8af48d81a77d..e7dddd33bae5388a1561633a39066a36bead1750 100755 (executable)
@@ -9225,6 +9225,7 @@ def cephadm_init_logging(ctx: CephadmContext, args: List[str]) -> None:
     compress
     missingok
     notifempty
+    su root root
 }
 """)