udevd log

From: Eric Vidal <eric_at_obarun.org>
Date: Fri, 20 May 2016 17:07:12 +0400

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:07:12 UTC

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