Question about s6-svscanboot (s6 examples)

From: Guillermo <gdiazhartusch_at_gmail.com>
Date: Sun, 23 Jul 2017 14:33:36 -0300

Hello,

I don't understand the changes made to this script in commit
3bcbbe18f9a60c0743c30d391c7878034e4b1274 (just before the release of
version 2.3.0.0). Previously, the 'exec -c' invocation came first, and
the 's6-envdir -I /service/.s6-svscan/env' invocation, just before
exec...()'ing into s6-svscan, so that the /service/.s6-svscan/env
environment directory would become the supervision tree's complete
environment.

But then the order was inverted. So now /service/.s6-svscan/env seems
useless, and the supervision tree starts with an empty environment,
including an undefined PATH? It looks wrong to me...

* http://git.skarnet.org/cgi-bin/cgit.cgi/s6/commit/examples/s6-svscanboot?id=3bcbbe18f9a60c0743c30d391c7878034e4b1274

Thanks,
G.
Received on Sun Jul 23 2017 - 17:33:36 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC