[Bug 293076] ctld regression in FreeBSD 15: multiple physical ports per target rejected and ports not enabled automatically

[email protected] Mon, 09 Mar 2026 15:47:05 +0000
Newsgroups gmane.os.freebsd.devel.scsi
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293076

John Baldwin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |[email protected]

--- Comment #3 from John Baldwin <[email protected]> ---
I have a patch to support multiple ports per target.  It compiles, but I ha=
ve
no way to test it.  The patch is available here:

https://reviews.freebsd.org/D55767

The lack of enabling the port I'm a bit more puzzled by.  In theory,
conf::apply should call port::kernel_add which should bring the port up.  My
guess is that for some reason conf::apply thinks the port already exists in=
 the
old configuration.  Can you please run ctld with syslog enabled to log all
messages (including debug) for ctld to a log file?  For example:

```
!ctld
*.* /var/log/ctld.log
```

in /etc/syslog.d/ctld.log.

--=20
You are receiving this mail because:
You are the assignee for the bug.=