Date: Tue, 10 Nov 2020 10:20:02 +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-SDRMYDfj5d@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 #4 from commit-hook@FreeBSD.org --- A commit references this bug: Author: 0mp Date: Tue Nov 10 10:19:55 UTC 2020 New revision: 367550 URL: https://svnweb.freebsd.org/changeset/base/367550 Log: MFC r351863: 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) Requested by: koobs Changes: _U stable/12/ stable/12/libexec/rc/rc.subr stable/12/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-SDRMYDfj5d>