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

[email protected] Wed, 27 May 2026 21:05:51 +0000
Newsgroups gmane.os.freebsd.devel.scsi
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293076

--- Comment #28 from John Baldwin <[email protected]> ---
I was able to do more testing today using ioctl ports and was able (I think=
) to
reproduce the outstanding issue with the pport "linking" and verified that =
my
patch to address that worked, so I've merged the various changes (as well as
the kernel change to fix the panic) to main.  I think if you pull from comm=
it
887841731be60a958e471b9fd79261169b67b7ad that everything should work for yo=
u?

The one thing I did still notice in my testing with ioctl ports is that when
ctld exits, it always marks any pre-existing kernel port that was assigned =
to a
target as offline as part of exiting, even if the port was online before ct=
ld
started.  Possibly this is ok since listing a port in ctl.conf does imply t=
hat
the user wants ctld to manage it?  I do think ctld should be ignoring exist=
ing
ports that are never mentioned in the config file.

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