From nobody Tue Jan 11 02:55:14 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0716F193E7BD for ; Tue, 11 Jan 2022 02:55:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JXwKZ4j0Bz4bfF for ; Tue, 11 Jan 2022 02:55:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E1E0111E3 for ; Tue, 11 Jan 2022 02:55:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20B2tETR004211 for ; Tue, 11 Jan 2022 02:55:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20B2tEAd004210 for bugs@FreeBSD.org; Tue, 11 Jan 2022 02:55:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261097] ctld fails to start on boot after upgrade to 12.3-RELEASE Date: Tue, 11 Jan 2022 02:55:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pascal.guitierrez@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641869714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SytbI7O8JUZ/zEIjqEPDCLsSkREgOEcvbd3wbF9iEBg=; b=RGLHx5rW8o8EWpTgOL23qLurRTlTILGC9QlMlizeFpOAi+fp1szywapI1CIfvA9V2u7kgc O/TD/HfqXLPWVdjLzc08pZ59q9NLgILck/ZWfZRVojIL79pfYg7PcNy1KhP4+T/WAZuAww 053ChRAGpc+qsFMcgkO2e2hSGZXDfOwSWjMBTbdLrnpVbPGliPybAoYO/GGDzfwQDacSdo UsnVJsPgRA+VGHfIFUhp3I0KiU02Sp5RveKtUqjLuF2PVQAvl7GQL8GLfrnu6Yggc7he1P oPdCxcrzRWIkOMo1gfjBE3LRcFirVWnRONlQXnuwlFseasIKmaqFFcHjczxNNQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641869714; a=rsa-sha256; cv=none; b=udU4RH+HXEyTca8zkD5Or5AB9+IDluhB6XXKlC3CsCZYSTX/zAsrXq2gW8gw5wHc5unfCn jeeMxHXoSyKdAWS4DvF0QR+ZUEqeiF8QkUIST8OQ3ZqDNC4z90AaGkaA3LLRIW2sJ/GRs/ 3Oyew+3fTIJyTNDfuXPRDjTEPqB9EddcL+IvzxaKrSz+sMa6hq8ng1Y7e3aG5feHWhfAiE 96TOikboX/WburYshaPNm9NVTz8nhzjC7shbdomHNU8vI/CuqllaShar+GTOWn5HTwZbko 3YfCoZ/xONtcl6FEB0TLkWqGxRmsa29jCkBnjuIuelWh4Cs8wUYmEyh3SOVvOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261097 Bug ID: 261097 Summary: ctld fails to start on boot after upgrade to 12.3-RELEASE Product: Base System Version: 12.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pascal.guitierrez@gmail.com i have a basic ctl.conf iscsi target running that was working fine on 12.1-R and 12.2-R, however since upgrading to 12.3-R the userland ctld does not st= art on boot anymore. /etc/rc.conf contains: ctld_enable=3DYES there are no error messages in /var/log/messages that relate to ctld. the kernel has the device loaded, here's ctladm devlist: LUN Backend Size (Blocks) BS Serial Number Device ID=20=20=20=20= =20=20=20 0 block 402653184 4096 MYSERIAL0000 lun0 but there is no ctld process running... the workaround is to simply service ctld restart after boot, which results = in the following output: ctld not running? (check /var/run/ctld.pid). Starting ctld. ctld: error returned from port creation request: target "iqn.2021-11.com.my:target0" for portal group tag 257 already exists ctld: failed to update port pg0-iqn.2021-11.com.my:target0 the iscsi target then proceeds to work correctly. here's the ctl.conf for reference: auth-group ag0 { auth-type none initiator-portal 172.16.56.10 } portal-group pg0 { discovery-auth-group no-authentication listen 172.16.56.20 } target iqn.2021-11.com.my:target0 { auth-group ag0 portal-group pg0 lun 0 { path /dev/zvol/tank/luns/lun0 device-id lun0 blocksize 4096 } } i believe i also observed this problem on 13.0-R, however the system i'm working on now is 12.3 and is 100% reproduceable, so i'll submit this bug f= or 12.3. --=20 You are receiving this mail because: You are the assignee for the bug.=