Re: [systemd-devel] How to stop child cgroup caused by PAMName=

2025-02-06 Thread Tomasz Pala
ctl -n1 -o export status \"$MAINPID\" | grep _SYSTEMD_SESSION | cut -f2 -d=`" This would be much easier if systemd provided $_SYSTEMD_SESSION variable directly: ExecStop=loginctl kill-session --signal SIGTERM $_SYSTEMD_SESSION or made this directly accessibe via some kind of: KillMode=session -- Tomasz Pala

Re: [systemd-devel] Template unit : specifier validity

2025-01-17 Thread Tomasz Pala
; service config just check: systemctl show templated@something -- Tomasz Pala

Re: [systemd-devel] Only run service with network connection

2025-01-06 Thread Tomasz Pala
: EAI_AGAIN EAI_MEMORY EAI_SYSTEM Note, that DNS temporary errors might be interpreted as "not-so-online yet". -- Tomasz Pala

Re: [systemd-devel] Making /run respect Container Memory Limits

2024-09-28 Thread Tomasz Pala
er -t [...] -U -F sysctl -w user.max_user_namespaces=0 to reduce kernel attack surface from within not-so-trusted containers. -- Tomasz Pala

Re: [systemd-devel] Credentials: what I am doing wrong?

2024-07-13 Thread Tomasz Pala
re Protect* family might "break" gracefuly in the same manner). -- Tomasz Pala

Re: [systemd-devel] How can I set timeout limits on root device searching when booting?

2023-11-28 Thread Tomasz Pala
warn you it is very peculiar and interferes with documented expectations. I personally have dozens of changes to it's scripts just to make it behave correctly. And so you should ask these questions on your initrd maillist first. -- Tomasz Pala

Re: [systemd-devel] TCPSegmentationOffload seem to be ignored in link-file

2023-08-08 Thread Tomasz Pala
.link files are processed by udev? No networkctl verb can reread this, use udevadm trigger. -- Tomasz Pala

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Tomasz Pala
E silent). No matter when it's going to happen, it should be end-user VISIBLE before that date and _some_ drop-in salvation should be available for them, buying some time for updating inits. Anyway, that's just my 2 cents hoping the road ahead to be less bumpy. -- Tomasz Pala

Re: [systemd-devel] Dropping SysV init script support? (was: systemd prerelease 254-rc3)

2023-08-07 Thread Tomasz Pala
i start to be explicitly enabled as a last-resort solution. -- Tomasz Pala

Re: [systemd-devel] PAMName=login, systemctl stop

2023-08-04 Thread Tomasz Pala
elp somehow, e.g. exposing $_SYSTEMD_SESSION variable directly; ExecStop=loginctl kill-session --signal SIGTERM $_SYSTEMD_SESSION doesn't look so scary anymore. Another idea was to ask for new feature: KillMode=session which could do exactly this. -- Tomasz Pala