Page MenuHomeDevCentral

Allow PATH in rc service environment
ClosedPublic

Authored by dereckson on Jun 12 2024, 23:53.
Tags
None
Referenced Files
F57285969: D3333.diff
Tue, Nov 17, 03:13
F57236782: D3333.diff
Mon, Nov 16, 15:05
F56997777: D3333.diff
Thu, Nov 12, 18:46
F56881727: D3333.diff
Tue, Nov 10, 09:36
F56793399: D3333.diff
Mon, Nov 9, 10:09
F56751858: D3333.id8573.diff
Mon, Nov 9, 00:01
F56747981: D3333.id8572.diff
Sun, Nov 8, 22:51
F56445362: D3333.diff
Fri, Nov 6, 06:00
Subscribers
None

Details

Summary

FreeBSD rc service allows to use <service name>_env variable to modify
environment, and already call env for that, so there is no need
to call a second time env.

This fixes an issue where $PATH wasn't defined, and so any command not
called with absolute path failed when called from a HTTP request.

Fixes T1968.

Test Plan

Tested on Hervil, git is now found

Diff Detail

Repository
rALK Alkane
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
T1968-env
Build Status
Buildable 5274
Build 5555: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jun 12 2024, 23:54
This revision was automatically updated to reflect the committed changes.