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
; service config just check:
systemctl show templated@something
--
Tomasz Pala
:
EAI_AGAIN
EAI_MEMORY
EAI_SYSTEM
Note, that DNS temporary errors might be interpreted as "not-so-online yet".
--
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 Protect* family might "break" gracefuly
in the same manner).
--
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
.link files are processed by udev?
No networkctl verb can reread this, use udevadm trigger.
--
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
i start
to be explicitly enabled as a last-resort solution.
--
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
10 matches
Mail list logo