From: Jelle Licht <jlicht@fsfe.org>
To: 74534@debbugs.gnu.org
Cc: "Tomas Volf" <~@wolfsden.cz>,
"Ludovic Courtès" <ludovic.courtes@inria.fr>
Subject: bug#74534: [shepherd] guix-home managed shepherd shares process group with shell
Date: Mon, 25 Nov 2024 19:42:55 +0100 [thread overview]
Message-ID: <874j3vi28g.fsf@fsfe.org> (raw)
Cc'ing Tomas and Ludo, as they actually diagnosed the issue [0].
The user shepherd, as configured using guix home, runs under the same
process group as the shell that initially triggered guix home's
"$HOME/.guix-home/on-first-login" script.
This leads to the user shepherd receiving signals that are sent to the
shell, such as a SIGINT/^C, and subsequently stopping entirely.
If I understand the fine folks on IRC correctly, the daemonize action of
the root-service in shepherd is missing a call to (setsid). I am
uncertain whether this setsid call should be made conditional or not.
Kind regards,
Jelle Licht
[0]: https://logs.guix.gnu.org/guix/2024-11-25.log#172506
next reply other threads:[~2024-11-25 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-25 18:42 Jelle Licht [this message]
2024-11-25 18:52 ` bug#74534: [shepherd] guix-home managed shepherd shares process group with shell Jelle Licht
2024-11-25 20:26 ` Tomas Volf
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874j3vi28g.fsf@fsfe.org \
--to=jlicht@fsfe.org \
--cc=74534@debbugs.gnu.org \
--cc=ludovic.courtes@inria.fr \
--cc=~@wolfsden.cz \
/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://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).