Issue #569 has been reported by Bartłomiej B..

----------------------------------------
Bug #569: Start script sets bad /var/run/* ownership
http://tools.lsc-project.org/issues/569

Author: Bartłomiej B.
Status: New
Priority: Normal
Assigned to: 
Category: Administration
Target version: 
Problem in version: 2.0.1


/etc/init.d/lsc:

LSC_PID_FILE="/var/run/lsc.pid"

...

piddir=`dirname "$LSC_PID_FILE"`
if [ ! -d "$piddir" ]; then
        mkdir -p "$piddir"
fi

touch $LSC_PID_FILE
[ -z "$LSC_USER" ] || chown -R "$LSC_USER" "$piddir"
[ -z "$LSC_GROUP" ] || chgrp -R "$LSC_GROUP" "$piddir"

Finally the script sets ownership to lsc.lsc on whole /var/run/ directory, 
possibly preventing other daemons to start.
Tested on Centos 6.3


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to