From owner-freebsd-ports-bugs@freebsd.org Tue Feb 16 17:03:17 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4E44854007C for ; Tue, 16 Feb 2021 17:03:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dg6jx1ZGqz4k78 for ; Tue, 16 Feb 2021 17:03:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 35F09540196; Tue, 16 Feb 2021 17:03:17 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35BA95400BF for ; Tue, 16 Feb 2021 17:03:17 +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 4Dg6jx0xgMz4kG0 for ; Tue, 16 Feb 2021 17:03:17 +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 0D9B014CFA for ; Tue, 16 Feb 2021 17:03:17 +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 11GH3GJm011668 for ; Tue, 16 Feb 2021 17:03:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 11GH3G2L011667 for ports-bugs@FreeBSD.org; Tue, 16 Feb 2021 17:03:16 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: ports-bugs@FreeBSD.org Subject: [Bug 236393] sysutils/sg3_utils After update to 1.44 relative path of device is no longer accepted Date: Tue, 16 Feb 2021 17:03:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: amdmi3@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status assigned_to resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 17:03:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236393 Dmitry Marakasov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Assignee|ports-bugs@FreeBSD.org |amdmi3@FreeBSD.org Resolution|--- |Works As Intended --- Comment #3 from Dmitry Marakasov --- Judging by the code, this behavior is at least explainable, as there's stat= (2) call on device name passed as-is: https://github.com/hreinecke/sg3_utils/blob/d82f040c69689305ca1d318d3dc0e1e= 42ab6ffa3/lib/sg_pt_freebsd.c#L185 This behavior was likely introduced in this commit: https://github.com/hreinecke/sg3_utils/commit/d44a4b8fa5fe56394c4299b5af714= 409ff64f13b#diff-c606bb382809d352875315e606f67881c0ef7a277a51c9a67b7523f897= ad3a9aR150 It worked before because there was no stat(2) call and device name was pass= ed right to cam_get_device(3) which performs additional parsing. This may be an upstream bug, reported as https://github.com/hreinecke/sg3_utils/issues/65. Since it's not really related to the port, submitter is no longer intereste= d in a fix and there's no maintainer, closing this PR. --=20 You are receiving this mail because: You are the assignee for the bug.=