]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
logrotate: Run as root/ceph 11201/head
authorBoris Ranto <branto@redhat.com>
Fri, 5 Aug 2016 09:14:53 +0000 (11:14 +0200)
committerBoris Ranto <branto@redhat.com>
Wed, 28 Sep 2016 07:52:22 +0000 (09:52 +0200)
commitde672a09f1e2b29de1e0e6e15d26be99315c41b9
tree07f43b66d2be627f44be2d3aaf355ce2865d0139
parent4e61538d9f1b372f28e61ad94c368c782be09d92
logrotate: Run as root/ceph

Currently, we run the logrotate scripts as ceph/ceph but that way we
cannot rotate the scripts created by qemu (they are root/ceph and 644).
The original su line was introduced in commit 73d7bed9 because logrotate
complained that the directory was writable by a non-root group and it
needed a su line to supress that error. This way, we keep the group
settings and we can access and rotate the qemu logs as well.

Signed-off-by: Boris Ranto <branto@redhat.com>
src/logrotate.conf