From: Sage Weil Date: Fri, 22 Nov 2019 17:28:58 +0000 (-0600) Subject: ceph-daemon: fix logrotate su line X-Git-Tag: v15.1.0~763^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F31823%2Fhead;p=ceph.git 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 --- diff --git a/src/ceph-daemon/ceph-daemon b/src/ceph-daemon/ceph-daemon index 36a8989e1ccd..0d74dd7b1338 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)