]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add "su root root" to cephadm.log logrotate config 47319/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:35:38 +0000 (20:35 -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 c24400278e4dbea200b8d0b1baf0093f63dffa66..746ab8feebca5861e48f967e2fa8cf061dbe65eb 100755 (executable)
@@ -9112,6 +9112,7 @@ def cephadm_init_logging(ctx: CephadmContext, args: List[str]) -> None:
     compress
     missingok
     notifempty
+    su root root
 }
 """)