Page MenuHomeDevCentral

Move services to /var/service
ClosedPublic

Authored by dereckson on Feb 13 2022, 17:30.
Tags
None
Referenced Files
F57124844: D2525.diff
Sun, Nov 15, 01:42
F56997561: D2525.diff
Thu, Nov 12, 18:44
F56971555: D2525.id6370.diff
Thu, Nov 12, 03:19
F56920042: D2525.id6369.diff
Tue, Nov 10, 21:03
F56881451: D2525.diff
Tue, Nov 10, 09:33
F56793153: D2525.diff
Mon, Nov 9, 10:08
F56618337: D2525.id6370.diff
Sat, Nov 7, 18:02
F56445140: D2525.diff
Fri, Nov 6, 05:59
Subscribers
None

Details

Summary

In Debian Bullseye, the Debian package creates /etc/service as a symlink to
/etc/runit/runsvdir/current. The /etc/runit folder is a byzantine complex
construction with for example a "current" and "default" set of services.

This change switches to an independent /var/service folder, where images
can maintain a simpler structure.

This fixes issue to build the image using BuildKit, as this mechanism
doesn't allow to replace a symlink by a directory.

Ref T1679.

Test Plan

Build image with environment variable DOCKER_BUILDKIT set to 1.

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.
This revision is now accepted and ready to land.Feb 13 2022, 17:31
This revision was automatically updated to reflect the committed changes.