Date: Thu, 05 Sep 2019 14:53:07 +0000 From: bugzilla-noreply@freebsd.org To: rc@FreeBSD.org Subject: [Bug 239692] rc: Environment variables set via ${name}_env are not passed to ${rc_arg}_cmd (e.g., start_cmd) Message-ID: <bug-239692-20181-sR0ccpSRh1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-239692-20181@https.bugs.freebsd.org/bugzilla/> References: <bug-239692-20181@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239692 --- Comment #2 from commit-hook@freebsd.org --- A commit references this bug: Author: 0mp Date: Thu Sep 5 14:52:23 UTC 2019 New revision: 351863 URL: https://svnweb.freebsd.org/changeset/base/351863 Log: rc: Honor ${name}_env when a custom *_cmd is defined (e.g., start_cmd) A user may set ${name}_env variable in rc.conf(5) in order to set additio= nal environment variables for a service command. Unfortunately, at the moment this variable is only honored when the command is specified via the comma= nd variable. Those additional environment variables coming from ${name}_env are never set if the service is started via the ${rc_arg}_cmd variable (f= or example start_cmd). PR: 239692 Reviewed by: bcr, jilles Approved by: src (jilles) Differential Revision: https://reviews.freebsd.org/D21228 Changes: head/libexec/rc/rc.subr head/share/man/man8/rc.subr.8 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239692-20181-sR0ccpSRh1>