Fixing permission denied issue for openstack comp. log files
Issue:
When openstack components were started we observe permission denied issue
for /var/log/<comp>/<comp>.log
Reason:
On certain supervisor ini file for openstack components we have configured
the stdout and stderr to be redirected to the same /var/log/<comp>/<comp>.log
file used by the process. Due to which the logfiles were created with root uid
where as the components were started using their own uid hence they didnt have
permission to write to the logfile
Reviewed: https:/ /review. opencontrail. org/5872 github. org/Juniper/ contrail- packaging/ commit/ fcafd0238cd1efa 90250d217b44468 e058f02fa9
Committed: http://
Submitter: Zuul
Branch: master
commit fcafd0238cd1efa 90250d217b44468 e058f02fa9
Author: Senthilnathan Murugappan <email address hidden>
Date: Mon Dec 22 16:37:43 2014 -0800
Fixing permission denied issue for openstack comp. log files
Issue: <comp>/ <comp>. log
When openstack components were started we observe permission denied issue
for /var/log/
Reason: <comp>/ <comp>. log
On certain supervisor ini file for openstack components we have configured
the stdout and stderr to be redirected to the same /var/log/
file used by the process. Due to which the logfiles were created with root uid
where as the components were started using their own uid hence they didnt have
permission to write to the logfile
Change-Id: I6f6260fa68e9a6 9463293b1246281 477cd2170fe
Closes-Bug: #1404789