Is your log  run file actually in `udevd/log/run`  ?

also worth checking with ps that you actually have `s6-log` process
running, because you log script will fail if there is no 's6log' user
in the system

On 20 May 2016 at 14:07, Eric Vidal <e...@obarun.org> wrote:
> Hello,
>
> I try to have log about udevd. this is the run file for udevd service.
>
> #!/usr/local/bin/execlineb -P
> exec -c
> udevd
>
> I have files producer-for and pipeline-name declared.
>
> This is the run file for udevd-log
>
> #!/usr/local/bin/execlineb -P
> fdmove -c 2 1
> foreground {
>         if -n { s6-test -d /var/log/udevd }
>         if { s6-mkdir -p /var/log/udevd }
>         chown -R s6log:log /var/log/udevd
> }
> unexport ?
> s6-setuidgid s6log
> exec -c
> s6-log t s1000000 n3 /var/log/udevd
>
> I have a file consumer-for.
>
> So these two service start properly. But when i put an usb stick on a usb 
> port, udevd write on the console what it does but i have nothing on the log.
> Well, i don't understand correctly what happens here. Someone can explain me 
> my mistake, please?
>
> --
> Eric Vidal <e...@obarun.org>

Reply via email to