]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-daemon: fix logrotate su line
authorSage Weil <sage@redhat.com>
Fri, 22 Nov 2019 17:28:58 +0000 (11:28 -0600)
committerSage Weil <sage@redhat.com>
Fri, 22 Nov 2019 20:14:23 +0000 (14:14 -0600)
The ceph group usually won't exist; rotate as root.root.

(If we leave this off, logrotate complains about directory ownership
and permissions and doesn't do anything.)

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon/ceph-daemon

index 36a8989e1ccdc0e2cd765c7bf611197c5e757d34..0d74dd7b13380220aff3c2b8a842abceda6a5479 100755 (executable)
@@ -693,7 +693,7 @@ def install_base_units(fsid):
     endscript
     missingok
     notifempty
-    su root ceph
+    su root root
 }
 """ % fsid)