Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 23:35:15 +0100
From:      Noel McLoughlin <noel.mcloughlin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ctld and ucl question
Message-ID:  <CAPjmBc%2BsxgOFa6C7FvfwMMOujmus%2BtYcHiAapByspePQ8J8UEQ@mail.gmail.com>
In-Reply-To: <CAPjmBcLPeNwjjsx%2BOpc7Bc==BYKJm8KTus=mir24_yKy7f9C9g@mail.gmail.com>
References:  <CAPjmBcLPeNwjjsx%2BOpc7Bc==BYKJm8KTus=mir24_yKy7f9C9g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPjmBc%2BsxgOFa6C7FvfwMMOujmus%2BtYcHiAapByspePQ8J8UEQ>