Hi,

i have a strange error message on catch-all logger when my "rc" service start, 
i have this following line amount :

@400000005745b6800cfc8fe4 s6-log: fatal: unable to lock_exnb 
/var/log/syslogds6/error/lock: Resource temporarily unavailable

the service is only bringing up with a full operational system is ready, so 
/var/log/syslogds6/* is mounted rw before the "start" of the service.
this service is managed by s6-rc. 
this is the run script used for syslogds6-log :

#!/usr/local/bin/execlineb -P
#fdmove -c 2 1
forx -p dir { error auth  daemon messages user misc mail }
import -ui dir
foreground { 
        if -n { s6-test -d /var/log/syslogds6/${dir} }
        if { s6-mkdir -p -m 0755 /var/log/syslogds6/${dir} }
        chown -R s6log:log /var/log/syslogds6/${dir}
}       
unexport ?
s6-setuidgid s6log
s6-envdir -f env
import -Cs LOGSCRIPT
exec -c
s6-log $LOGSCRIPT

the service syslogds6 bring up without error only the logger can't start.

note : s6-svc zsh completion bug was fixed
https://github.com/Obarun/s6-boot/blob/master/_s6-svc

-- 
Eric Vidal <[email protected]>

Reply via email to