HomeFreeBSD

service: Use explicit path for /usr/bin/env

Description

service: Use explicit path for /usr/bin/env

A reddit thread[1] reported an error from env(1) invoked by service(8),
wwhen GNU coreutils utilities were installed without g prefixes.

[1] https://www.reddit.com/r/freebsd/comments/1kfzh78/service_command_changed_between_freebsd11_and/

Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50195

(cherry picked from commit 81449fb2c044a85ecd9c5a15c6b470cdbcacacfc)

Details

Provenance
emasteAuthored on May 6 2025, 3:28 PM
Reviewer
kevans
Differential Revision
D50195: service: Use explicit path for /usr/bin/env
Parents
rGc02b45a75b73: flua.1: Add xref to style.lua(9)
Branches
Unknown
Tags
Unknown