This change seems to improve error messages with the EventLog we have been seeing for quite a while: before opening the file descriptor to the EventLog lock file (either the statically defined on or the one created according to local locking rules), switch to Condor user priviledges. Also do in fact use the indicated EventLog rotation lock if so defined. In tests I didn't see any error messages at all anymore -- which indicates that this changes solves the problem (related to all-singing locking ticket #1310)  .
This change seems to improve error messages with the EventLog we have been
seeing for quite a while: before opening the file descriptor to the EventLog
lock file (either the statically defined on or the one created according to
local locking rules), switch to Condor user priviledges. Also do in fact use
the indicated EventLog rotation lock if so defined.
In tests I didn't see any error messages at all anymore -- which indicates
that this changes solves the problem (related to all-singing locking ticket #1310)  .

zhangzhehust/htcondor,djw8605/condor,clalancette/condor-dcloud,bbockelm/condor-network-accounting,djw8605/htcondor,mambelli/osg-bosco-marco,djw8605/condor,htcondor/htcondor,djw8605/htcondor,djw8605/htcondor,neurodebian/htcondor,htcondor/htcondor,neurodebian/htcondor,djw8605/htcondor,mambelli/osg-bosco-marco,djw8605/htcondor,djw8605/htcondor,neurodebian/htcondor,mambelli/osg-bosco-marco,htcondor/htcondor,htcondor/htcondor,djw8605/condor,zhangzhehust/htcondor,neurodebian/htcondor,zhangzhehust/htcondor,htcondor/htcondor,mambelli/osg-bosco-marco,djw8605/htcondor,mambelli/osg-bosco-marco,djw8605/condor,neurodebian/htcondor,htcondor/htcondor,djw8605/condor,clalancette/condor-dcloud,bbockelm/condor-network-accounting,htcondor/htcondor,clalancette/condor-dcloud,clalancette/condor-dcloud,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,djw8605/condor,bbockelm/condor-network-accounting,zhangzhehust/htcondor,neurodebian/htcondor,neurodebian/htcondor,djw8605/condor,djw8605/condor,bbockelm/condor-network-accounting,neurodebian/htcondor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,clalancette/condor-dcloud,zhangzhehust/htcondor,clalancette/condor-dcloud,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,zhangzhehust/htcondor,clalancette/condor-dcloud,zhangzhehust/htcondor,neurodebian/htcondor,bbockelm/condor-network-accounting,zhangzhehust/htcondor,djw8605/htcondor,htcondor/htcondor,zhangzhehust/htcondor,djw8605/htcondor