ctld and ucl question

Noel McLoughlin noel.mcloughlin at gmail.com
Mon Jul 16 22:35:56 UTC 2018


Nevermind, I found the answer in rc.subr(8) where ${name}_env is
mentioned.  Appending 'ctld_env="-u"' to /etc/rc.conf done the trick.
On Mon, Jul 16, 2018 at 5:07 PM Noel McLoughlin
<noel.mcloughlin at gmail.com> wrote:
>
> Hey guys,
>
> I have a question regarding ctl.conf(5), ctld(8) and UCL configuration
> file format.  According to docs, the UCL format is supported and can
> be read by ctld when '-u' flag is passed. Trying to implement this
> feature raises few questions.
>
> Since /etc/rc.d/ctd and cltd(8) do not reference any (say)
> CTLD_RUNTIME_ARGS environment variables, its not clear where I
> configure daemon to use UCL format on startup?  Unless I'm missing
> something, the rc script needs support for daemon options?
>
> /etc/rc.d/ctld: WARNING: run_rc_command: cannot run /usr/sbin/ctld -u
>
>
> Where are issues traced for FreeBSD, and more specifically the ctld packages.
>
> Thank you.
> Noel


More information about the freebsd-questions mailing list