Comment 3 for bug 1079743

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to libra (master)

Reviewed: https://review.openstack.org/16324
Committed: http://github.com/stackforge/libra/commit/dbda529e81fbdd4952570f0762315ed1288433f0
Submitter: Jenkins
Branch: master

commit dbda529e81fbdd4952570f0762315ed1288433f0
Author: Andrew Hutchings <email address hidden>
Date: Fri Nov 16 18:50:23 2012 +0000

    Fix log rotation in daemon mode

    When daemon mode is started as root and the user is changed to a lower
    privilege user the log rotation breaks. This is because the log file is still
    owned by root.

    Now just before we switch user the log file user is changed to the new user.

    Fixes bug# 1079743

    Change-Id: Ia35e44bf9c891ce85a66e64989f97d3195520891