e2fc0bfa33
update to latest skaware: v1.14.0 *WARNING*: s6-notifywhenup no longer exists in s6 package so consequently with-notifywhenup was removed from overlay.
Gorka Lerchundi Osa2015-07-28 12:16:07 +02:00
8829138b61
update to latest skaware. use notification-fd instead of s6-notifywhenup, s6-supervise includes it in its core. Preserve with-notifywhenup utility until s6-notifywhenup is effectively removed from s6 package.
Gorka Lerchundi Osa2015-06-18 13:44:38 +02:00
76530a8b19
add -f option in logutil-service to use fifo as input or default to stdin also prefix fifoname in fdholder with the path provided by the user
Gorka Lerchundi Osa2015-06-12 13:29:46 +02:00
ba423076d7
remove import-from-envdir in the wake of printcontenv also, create and use logutil-service as a default logging service utility
Gorka Lerchundi Osa2015-05-17 18:42:17 +02:00
945d1558f9
fix(*): try deleting fifos before creating them (#43) it seems like docker is behaving different in 1.6 and persists data (files) between executions.
Gorka Lerchundi Osa2015-04-23 11:32:47 +02:00
573971e8d4
merge both stage2 versions (catchall and no-catchall) also, S6_USE_CATCHALL_LOGGER is changed for S6_LOGGING, it seems to be easier to understand
Gorka Lerchundi Osa2015-03-24 23:38:59 +01:00
8b16232d05
implement how s6 behaves if stage2 fails S6_BEHAVIOUR_IF_STAGE2_FAILS: - 0: Continue silently even if any script has failed - 1: Continue but warn with an annoying error message - 2: Stop and send termination signal to supervision tree
Gorka Lerchundi Osa2015-03-22 16:08:35 +01:00
74e05992ca
fixes/implements #13 - S6_USE_CATCHALL_LOGGER=0 prints everything to the standard outputs - there are two different init trees, one for catchall another for no-catchall - why not duplicate /etc/s6/services too? because i wanted to have just one entrypoint for the people. For example, if we want to activate fdholder we need to rm /etc/s6/services/fdholded/down, and don't care about if it's outputting to the catchall or the standard outputs.
Gorka Lerchundi Osa2015-03-18 08:56:52 +01:00
1d7c4ff9c9
fix issues in distros with nobody/nogrouo with id != -2 - new release: 1.7.1 - it includes debugging tools, for now just strace. - protect from having incorrect attributes for /var/log/s6-uncaught-logs deleting/creating/fixing its ownership&perms in runtime - put fdholderd down by default - log fdholder directly s6-uncaught-logs: https://github.com/just-containers/s6-overlay-builder/pull/10#issuecomment-78454809Gorka Lerchundi Osa2015-03-12 12:21:19 +01:00
144b048017
- make a fix-attrs binary (it reads the fix descriptions on stdin) - modify init-stage2 to use it properly, by reading everything in /etc/fix-attrs.d - the original fix descriptions are now a file in /etc/fix-attrs.d - minor fixes/changes to init-stage2 - make /usr/bin/with-* executable (!)
Laurent Bercot2015-03-08 04:54:37 +00:00
008f87e988
- Initial changes discussed with Gorka - Dependencies: latest execline/s6/s6-portable-utils at this time - Interactive CMDs should now work properly with or without terminals. If not, play with s6-setsid a bit more. - The scandir is now in /var/run/s6/service, because it gets written into at run-time - User service directories are now listed in /etc/services.d and will be *copied* to /var/run/s6/service during init-stage2 - Yeah, I really hate writing to /, and you should hate it, too. - Init order: * our own services in /etc/s6/service are copied to /var/run/s6/service (stage 1) * s6-svscan is run * scripts in /etc/cont-init.d are run (stage 2) * services in /etc/services.d are copied to /var/run/s6/service and picked up by s6-svscan * If a CMD was given, it is run. i.e. the whole stage 2 is executed whether a CMD was given or not, so CMDs are always executed in a properly initted environment. - Since all the user stuff is started in stage 2, we can guarantee all the dependencies for stage 1, so no fix-attrs in stage 1. Stage 1 is now extremely short, as it should be. - Can't escape the fix-attrs in stage 2 though, but provided a chunk of execline to do the functionality. (Probably very slow.) - Plus a bunch of tiny fixes, mostly cosmetic.
Laurent Bercot2015-03-07 10:24:12 +00:00
51b7ef77bc
fixes: * copy overlay, forgotten! * point to github organization 'just-containers' instead of my own * force to include /etc/cont-init.d directory because github doesn't feel comfortable with empty dirs :-)
Gorka Lerchundi Osa2015-03-04 19:00:07 +01:00