Re: Converting ctl.conf to UCL
- In reply to: Ryan Stone : "Converting ctl.conf to UCL"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Jun 2021 17:37:46 UTC
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.