Re: udevd log

From: Max Ivanov <ivanov.maxim_at_gmail.com>
Date: Fri, 20 May 2016 14:26:27 +0100

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 <eric_at_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 <eric_at_obarun.org>
Received on Fri May 20 2016 - 13:26:27 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC