Re: Converting ctl.conf to UCL
Ryan Stone <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.scsi |
|---|---|
| Message-ID | <CAFMmRNy_yXTR9Drd7kuBJnnYcFs1PwhWBSK7tUO-Yz4uxvAhMw@mail.gmail.com> |
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.