]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
[ceph-fuse] fix ceph-fuse writing to stale log file after log rotation 7110/head
authorZhi Zhang <willzzhang@tencent.com>
Mon, 1 Feb 2016 03:03:30 +0000 (11:03 +0800)
committerZhi Zhang <willzzhang@tencent.com>
Mon, 1 Feb 2016 03:03:30 +0000 (11:03 +0800)
commitf209819fb676eadf099cc764e3ed3b20fd17b688
tree4597d9f4c34a1d4f2fe0e8bf9dc82c1eab725fd8
parent9739d4de49f8167866eda556b2f1581c068ec8a7
[ceph-fuse] fix ceph-fuse writing to stale log file after log rotation

This fix should be applied to hammer branch. It can't be directly applied to master branch, because logrotate.conf is changed on matser since ceph-osd, ceph-mon, etc, is controlled by systemd with user/group as 'ceph' by default, while ceph-fuse might be started as root privilege by external users.

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
src/ceph_fuse.cc
src/logrotate.conf