Page MenuHomeDevCentral

Move services to /var/service
ClosedPublic

Authored by dereckson on Feb 13 2022, 17:30.
Tags
None
Referenced Files
F6788362: D2525.id6369.diff
Wed, Apr 9, 21:19
Unknown Object (File)
Mon, Apr 7, 22:36
Unknown Object (File)
Sat, Apr 5, 00:54
Unknown Object (File)
Fri, Apr 4, 09:33
Unknown Object (File)
Thu, Apr 3, 10:17
Unknown Object (File)
Thu, Apr 3, 08:51
Unknown Object (File)
Thu, Apr 3, 05:01
Unknown Object (File)
Thu, Apr 3, 03:48
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.