From: Alyssa Ross <hi@alyssa.is>
To: devel@spectrum-os.org
Cc: Yureka Lilian <yureka@cyberchaos.dev>,
Demi Marie Obenour <demiobenour@gmail.com>
Subject: [PATCH] host/rootfs: reap sd-notify-adapter
Date: Mon, 24 Nov 2025 21:36:31 +0100 [thread overview]
Message-ID: <20251124203631.668692-1-hi@alyssa.is> (raw)
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
next reply other threads:[~2025-11-24 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-24 20:36 Alyssa Ross [this message]
2025-11-29 18:07 ` [PATCH] host/rootfs: reap sd-notify-adapter Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251124203631.668692-1-hi@alyssa.is \
--to=hi@alyssa.is \
--cc=demiobenour@gmail.com \
--cc=devel@spectrum-os.org \
--cc=yureka@cyberchaos.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).