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.
Reviewed: https:/ /review. openstack. org/16324 github. com/stackforge/ libra/commit/ dbda529e81fbdd4 952570f0762315e d1288433f0
Committed: http://
Submitter: Jenkins
Branch: master
commit dbda529e81fbdd4 952570f0762315e d1288433f0
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: Ia35e44bf9c891c e85a66e64989f97 d3195520891