Page MenuHomeDevCentral

Sync novolume image
ClosedPublic

Authored by dereckson on Feb 12 2022, 22:40.
Tags
None
Referenced Files
F3161127: D2523.id6367.diff
Wed, Jun 26, 05:59
F3158730: D2523.id6364.diff
Wed, Jun 26, 00:38
F3158715: D2523.id6366.diff
Wed, Jun 26, 00:38
Unknown Object (File)
Tue, Jun 25, 08:10
Unknown Object (File)
Tue, Jun 25, 07:47
Unknown Object (File)
Tue, Jun 25, 02:03
Unknown Object (File)
Mon, Jun 24, 21:35
Unknown Object (File)
Mon, Jun 24, 17:39
Subscribers
None

Details

Summary

Offer OS upgrade to applications dependent images.

Ref T1679.

Image entry point

The runsvdir-init script, used for images based on Debian Jessie, controls
how this image run runit.

On Jessie, it saved environment, then call a script added by the Debian package
maintainer, runsvdir-start. That start script cleared environment and then
launch runit with /etc/service as services directory.

On Buster and Bullseye, runsvdir-start isn't available anymore. The first idea
was to ask images to directly call runit themselves. Yet, to ease maintenance,
it's clearly more efficient to have an unique entry point and be able to tweak
how we run the services. As such, we still provide runsvdir-init.

Test Plan

Rebuild PHP applications images

Diff Detail

Repository
rDPHPVIIFPM Docker image to install nginx, PHP 7 and fpm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Restore /usr/local/sbin/runsvdir-init: applications container calls that file

Address runsvdir-init deprecation

Don't deprecate runsvdir-init, even if runsvdir-start isn't shipped by runit, we can maintain how we launch runit

This revision is now accepted and ready to land.Feb 13 2022, 16:35
This revision was automatically updated to reflect the committed changes.