Files
guix-mirror/guix
Johannes Christ 78053b9004 home: Run child as pid 2.
To test, use a sample home configuration and a command such as:

    guix home container home.scm -- sleep 10

Before this commit, hitting `^C` would not have any effect, as `sleep`
does not explicitly register a signal handler for `SIGINT`. With this
commit, `guix home container` forwards the signal to `sleep`, which
then exits.

* guix/scripts/home.scm (spawn-home-container): Instruct
  `eval/container` to not run our child directly as pid 1 in the spawned
  container, as it may not expect to run as an init process.

Change-Id: Ib997a0386d0851978d197fbd2dfb139141d13065
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #8051
2026-04-27 10:03:05 +02:00
..
2026-04-15 23:10:25 +02:00
2025-01-25 01:05:22 +08:00
2026-04-27 10:03:05 +02:00
2026-03-24 14:21:49 +01:00
2025-04-14 17:31:49 +02:00
2024-04-15 22:36:42 +02:00
2025-12-03 14:38:09 +09:00
2026-01-14 09:16:46 +01:00
2025-11-27 14:22:24 +01:00
2024-04-15 22:36:42 +02:00
2026-01-14 09:16:46 +01:00
2024-04-15 22:36:42 +02:00
2026-02-24 09:17:45 +09:00