After some tests I found out that I have not run LSC with root and the
issue appeared only on reboot.

The cause :
My /etc/init.d/lsc :


> LSC_PID_FILE="/var/run/lsc.pid"
> [...]
> touch $LSC_PID_FILE
> [ -z "$LSC_USER" ] || chown -R "$LSC_USER" "$piddir"
> [ -z "$LSC_GROUP" ] || chgrp -R "$LSC_GROUP" "$piddir"
>
So, change the LSC_PID_FILE to a LSC directory or comment the chown.

2012/11/20 Emeric Million <[email protected]>

> Damned, I have indeed run LSC with root twice. It was probably that :s
>
> Thanks Clément :)
>
>  2012/11/20 Clément OUDOT <[email protected]>
>
>>
>>
>>  2012/11/20 Emeric Million <[email protected]>
>>
>>> Hello.
>>>
>>> When I came back to my office today, I found that most of directories
>>> owner in my /var/run/ have change to lsc:lsc (not all). It's not the first
>>> time. I thought at first, that it was a bug during the installation. I
>>> checked after runing an lsc command but it's not immediate. I don't know
>>> when it happened or why...
>>> No lsc process is running in background.
>>>
>>> Any ideas ? :s
>>>
>>>
>> Only root can change the owner of a file, do you run LSC as root?
>>
>> Clément.
>>
>
>
>
> --
> MILLION Emeric
>
>


-- 
MILLION Emeric
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

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

Reply via email to