* [PATCH] host/rootfs: reap sd-notify-adapter
@ 2025-11-24 20:36 Alyssa Ross
2025-11-29 18:07 ` Alyssa Ross
0 siblings, 1 reply; 2+ messages in thread
From: Alyssa Ross @ 2025-11-24 20:36 UTC (permalink / raw)
To: devel; +Cc: Yureka Lilian, Demi Marie Obenour
systemd-udevd won't reap children, so we double fork so that pid 1
reaps sd-notify-adapter when it exits.
Link: https://matrix.to/#/!xSysqhzbOZImdvGpix:fairydust.space/$QL6VucG9rlw_H9iQY9K9Bp7Iy0B5LrdW7JJ7Cwp11mc?via=fairydust.space&via=matrix.org&via=dataaturservice.se
Fixes: ced08f7 ("host/rootfs: Switch to systemd-udevd")
Signed-off-by: Alyssa Ross <hi@alyssa.is>
---
host/rootfs/image/etc/s6-rc/systemd-udevd/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/host/rootfs/image/etc/s6-rc/systemd-udevd/run b/host/rootfs/image/etc/s6-rc/systemd-udevd/run
index fff0d47..2d28d02 100644
--- a/host/rootfs/image/etc/s6-rc/systemd-udevd/run
+++ b/host/rootfs/image/etc/s6-rc/systemd-udevd/run
@@ -3,7 +3,7 @@
# SPDX-FileCopyrightText: 2025 Demi Marie Obenour <demiobenour@gmail.com>
s6-setlock /run/sd-notify-wrapper/systemd-udevd.lock
s6-ipcserver-socketbinder -b0 -m -a 0600 /run/sd-notify-wrapper/systemd-udevd.sock
-background {
+background -d {
fdmove 1 3
sd-notify-adapter
}
base-commit: aa5ab817d6eb990683a88893a6375acef7a585aa
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] host/rootfs: reap sd-notify-adapter
2025-11-24 20:36 [PATCH] host/rootfs: reap sd-notify-adapter Alyssa Ross
@ 2025-11-29 18:07 ` Alyssa Ross
0 siblings, 0 replies; 2+ messages in thread
From: Alyssa Ross @ 2025-11-29 18:07 UTC (permalink / raw)
To: Alyssa Ross, devel; +Cc: Yureka Lilian, Demi Marie Obenour
This patch has been committed as 965f5706764edb1b4fea147683b5ab803dd6df5e,
which can be viewed online at
https://spectrum-os.org/git/spectrum/commit/?id=965f5706764edb1b4fea147683b5ab803dd6df5e.
This is an automated message. Send comments/questions/requests to:
Alyssa Ross <hi@alyssa.is>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-29 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-24 20:36 [PATCH] host/rootfs: reap sd-notify-adapter Alyssa Ross
2025-11-29 18:07 ` Alyssa Ross
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).