Date: Mon, 27 May 2024 10:02:17 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279116] sysutils/s6-rc update to 0.5.4.2 Message-ID: <bug-279116-7788-3Pg4ZLOGgZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279116-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-279116-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279116 --- Comment #3 from crest@rlwinm.de --- Afaik only FreeBSD tracks the login class in the kernel via setloginclass(2= ). Sadly the FreeBSD base system lacks a chain-loadable command that just calls setloginclass(2) and execs into its remaining arguments. Every command that's available to shell (or execline) scripts (e.g. su) doe= sn't exec(), but fork()+exec() which is a problem for reliable process supervisi= on without using operating system specific APIs (e.g. sub-reapers). Do you want to have the inner nodes of the supervision tree (s6-svscan, s6-supervise) modify their login class or only the run/finish/check/up/down scripts? In the latter case adding the "missing chain-loader" as its own ti= ny should solve the problem and avoid the hassle of maintaining a FreeBSD spec= ific feature patch even if it's small. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279116-7788-3Pg4ZLOGgZ>