[systemd-devel] Q: When will WorkingDirectory be checked?

2021-12-16 Thread Ulrich Windl
Hi! I have a simple question: When will WorkingDirectory be checked? Specifically: Will it be checked before ExecStartPre? I could not get it form the manual page. Regards, Ulrich Windl

[systemd-devel] varlink external client

2021-12-16 Thread Vishwanath Chandapur
Hi, We have developed a varlink client as part of systemd source code,But we would like to have the same client outside of systemd source code. For that I guess we need to make below necessary changes like sd_* interface. varlink.c from src/shared to src/libsystemd varlink.h from src/shared to

[systemd-devel] How to disable user@UID.service when starting gdm user

2021-12-16 Thread 赵成义
Hi guys, When systemd starts gdm user, user@UID.service is executed, and all services are started in the folder /lib/system/user. In fact, gdm user doesn't need these services, so I think systemd doesn't need to start user@UID.service for gdm user. Would you please tell me how I disable

Re: [systemd-devel] Predictable Network Interface Name Bug?

2021-12-16 Thread Tim Safe
thanks! $ udevadm info /sys/class/net/* P: /devices/pci:00/:00:1f.6/net/eno1 L: 0 E: DEVPATH=/devices/pci:00/:00:1f.6/net/eno1 E: INTERFACE=eno1 E: IFINDEX=3 E: SUBSYSTEM=net E: USEC_INITIALIZED=1182514 E: ID_MM_CANDIDATE=1 E: ID_NET_NAMING_SCHEME=v245 E:

Re: [systemd-devel] Predictable Network Interface Name Bug?

2021-12-16 Thread Lennart Poettering
On Mi, 15.12.21 21:37, Tim Safe (timsafeem...@gmail.com) wrote: > Hello- > > I have an Ubuntu Server 20.04 (systemd 245 (245.4-4ubuntu3.13)) box that I > recently installed a Intel quad-port Gigabit ethernet adapter (E1G44ETBLK). > > It appears that the predictable interface naming is only

Re: [systemd-devel] Predictable Network Interface Name Bug?

2021-12-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 16, 2021 at 07:27:44AM -0500, Tim Safe wrote: > Thanks for the reply! Here's the output: > > $ udevadm test-builtin net_id /sys/class/net/ens8f0 > ID_NET_NAME_SLOT=ens8f0 > > $ udevadm test-builtin net_id /sys/class/net/ens8f1 > ID_NET_NAME_SLOT=ens8f1 > > $ udevadm test-builtin

Re: [systemd-devel] Predictable Network Interface Name Bug?

2021-12-16 Thread Tim Safe
Thanks for the reply! Here's the output: $ udevadm test-builtin net_id /sys/class/net/ens8f0 Load module index Parsed configuration file /usr/lib/systemd/network/99-default.link Parsed configuration file /usr/lib/systemd/network/73-usb-net-by-mac.link Created link configuration context. Using

Re: [systemd-devel] Predictable Network Interface Name Bug?

2021-12-16 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 15, 2021 at 09:37:41PM -0500, Tim Safe wrote: > Hello- > > I have an Ubuntu Server 20.04 (systemd 245 (245.4-4ubuntu3.13)) box that I > recently installed a Intel quad-port Gigabit ethernet adapter (E1G44ETBLK). > > It appears that the predictable interface naming is only renaming