From a28e10a15ad7f634d0ec0ae9ac8ab8d06233785b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 22 Nov 2019 11:28:58 -0600 Subject: [PATCH] ceph-daemon: fix logrotate su line 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 --- src/ceph-daemon/ceph-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-daemon/ceph-daemon b/src/ceph-daemon/ceph-daemon index 36a8989e1ccdc..0d74dd7b13380 100755 --- a/src/ceph-daemon/ceph-daemon +++ b/src/ceph-daemon/ceph-daemon @@ -693,7 +693,7 @@ def install_base_units(fsid): endscript missingok notifempty - su root ceph + su root root } """ % fsid) -- 2.39.5