Re: Converting ctl.conf to UCL

From: Ryan Stone <rysto32_at_gmail.com>
Date: Thu, 24 Jun 2021 13:37:46 -0400
I found the problem.  My configuration falls into this special case
for the target port config:

https://cgit.freebsd.org/src/tree/usr.sbin/ctld/uclparse.c#n841

The early return in that block means that the lun property is never
parsed.  Moving the port property to the end fixes the issue, but this
looks like a bug to me.  I think that a continue is probably more
appropriate here than a return 0.
Received on Thu Jun 24 2021 - 17:37:46 UTC

Original text of this message