Re: [systemd-devel] systemd-udevd -any way to list triggered rules with their files etc ?

2022-10-02 Thread Greg KH
On Mon, Oct 03, 2022 at 02:17:04AM +, Branko wrote: > > cat /etc/udev/rules.d/99-zz-network.rules: > ACTION=="add", DRIVERS=="?*", ATTR{address}=="11:22:33:44:55:66", > NAME="wlan17", OWNER="chosen_user", GROUP="chosen_group", MODE="0666" Network devices do not have a group/owner/mode at

[systemd-devel] systemd-udevd -any way to list triggered rules with their files etc ?

2022-10-02 Thread Branko
I have heap of problems with udev on systemd. How is one supposed to troubleshoot rule processing ? I did do "udevadm control --log-level=debug" and tried to modify systemd-udevd.service, so that it forks-off just one chiled ( so tha the log is easier to read), but that still doesn't tell me

Re: [systemd-devel] Connect /usr/bin/init to docker container's STDOUT/STDIN

2022-10-02 Thread Barry
> On 30 Sep 2022, at 14:30, Nicola Mori wrote: > > # Save the long-running PID on file > ps aux | grep "sleep infinity" | head -n 1 | awk '{ print $2 }' > > /container-pipes-pid echo $! >/container-pipes-pid See man bash for $! definition. Barry

Re: [systemd-devel] Connect /usr/bin/init to docker container's STDOUT/STDIN

2022-10-02 Thread Nicola Mori
Nice tip, thank you! Nicola On 02/10/22 09:43, Barry wrote: On 30 Sep 2022, at 14:30, Nicola Mori wrote: # Save the long-running PID on file ps aux | grep "sleep infinity" | head -n 1 | awk '{ print $2 }' > /container-pipes-pid echo $! >/container-pipes-pid See man bash for $!