Page MenuHomeDevCentral

Move services to /var/service
ClosedPublic

Authored by dereckson on Feb 13 2022, 17:30.
Tags
None
Referenced Files
F52559979: D2525.id6368.diff
Sat, Oct 3, 07:47
F52545754: D2525.id6369.diff
Sat, Oct 3, 06:03
F52521210: D2525.id6369.diff
Sat, Oct 3, 02:59
F52521168: D2525.id6370.diff
Sat, Oct 3, 02:58
F52488006: D2525.id6370.diff
Fri, Oct 2, 22:33
F52485895: D2525.id6368.diff
Fri, Oct 2, 22:17
Unknown Object (File)
Fri, Oct 2, 10:56
Unknown Object (File)
Fri, Oct 2, 06:03
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
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 3941
Build 4192: arc lint + arc unit

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.