Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1197972
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.glibc |
| Subject | Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines |
| Date | 2024-05-19 23:20 +0200 |
| Message-ID | <IFW6J-eulg-9@gated-at.bofh.it> (permalink) |
| References | <IFRTr-erIf-3@gated-at.bofh.it> <IFRTr-erIf-3@gated-at.bofh.it> <IFScN-es3P-11@gated-at.bofh.it> <IFRTr-erIf-3@gated-at.bofh.it> <IFScN-es3P-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Hi Luca, On Sun, May 19, 2024 at 06:04:38PM +0100, Luca Boccassi wrote: > On Sun, 19 May 2024 18:42:17 +0200 Helmut Grohne <helmut@subdivi.de> > wrote: > > the init process should handle SIGTERM more like an init system would > handle that > > This seems the obvious answer to me. sbuild is setting up a system such > that its component runs as pid1, so it needs to behave like a pid1. We > know this is special and requires supporting a number of interfaces. If > a program doesn't, then it shouldn't be running as pid1 in a namespace. Die you mean "... so it needs to behave like a systemd"? sysvinit does not document SIGTERM as a supported signal. https://manpages.debian.org/bookworm/sysvinit-core/init.8.en.html Neither does runit. https://manpages.debian.org/bookworm/runit/runit.8.en.html#SIGNALS Nor did upstart. https://sources.debian.org/src/upstart/0.6.6-1/init/main.c/#L249 Or dumb-init (forwards all signals to its children). Or tini (forwards all signals to its children). https://github.com/krallin/tini/blob/master/src/tini.c#L525 Or busybox (see busybox init --help). But openrc-init and it then performs a shutdown. https://sources.debian.org/src/openrc/0.54-2/src/openrc-init/openrc-init.c/#L210 As far as my research goes, this handling of SIGTERM is specific to systemd and not a generic assumption of pid1. Helmut
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Helmut Grohne <helmut@subdivi.de> - 2024-05-19 18:50 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Luca Boccassi <bluca@debian.org> - 2024-05-19 19:10 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Helmut Grohne <helmut@subdivi.de> - 2024-05-19 23:20 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Chris Hofstaedtler <zeha@debian.org> - 2024-05-20 01:10 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Helmut Grohne <helmut@subdivi.de> - 2024-05-20 07:30 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-05-20 07:40 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Chris Hofstaedtler <zeha@debian.org> - 2024-05-20 10:50 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-05-20 11:30 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Luca Boccassi <bluca@debian.org> - 2024-05-20 11:30 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Aurelien Jarno <aurel32@debian.org> - 2024-05-20 11:40 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Luca Boccassi <bluca@debian.org> - 2024-05-20 11:50 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Aurelien Jarno <aurel32@debian.org> - 2024-05-20 12:00 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Luca Boccassi <bluca@debian.org> - 2024-05-20 12:10 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-05-20 16:20 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Luca Boccassi <bluca@debian.org> - 2024-05-20 16:20 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Aurelien Jarno <aurel32@debian.org> - 2024-05-20 11:50 +0200
Bug#1071462: installing/upgrading libc6 does not work in sbuild when systemd is installed as ischroot declines Luca Boccassi <bluca@debian.org> - 2024-05-20 16:00 +0200
csiph-web