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

[email protected] Wed, 01 Apr 2026 20:11:09 +0000
Newsgroups gmane.os.freebsd.devel.scsi
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293076

--- Comment #9 from John Baldwin <[email protected]> ---
Ah, try this fix (though I'm not currently sure why an iscsi port is created
now):

diff --git a/usr.sbin/ctld/ctld.hh b/usr.sbin/ctld/ctld.hh
index 7ff6a0bc6d5f..7eb86e6cc535 100644
--- a/usr.sbin/ctld/ctld.hh
+++ b/usr.sbin/ctld/ctld.hh
@@ -269,7 +269,7 @@ struct port {
        virtual struct auth_group *auth_group() const { return nullptr; }
        virtual struct portal_group *portal_group() const { return nullptr;=
 }

-       virtual bool is_dummy() const { return true; }
+       virtual bool is_dummy() const { return false; }

        virtual void clear_references();


Please let me see the output of ctladm portliest -v after trying this.

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