From nobody Sat May 06 16:06:17 2023 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 4QDC8n3mXcz49mRy for ; Sat, 6 May 2023 16:06: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 4QDC8n1GVPz4Xml for ; Sat, 6 May 2023 16:06:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683389177; 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=S4MRLTPaRnz1mmX/Wlv1cr6PFdBSQC1g5W1t2hW/HFc=; b=NAeB8puZLbV19gNeoNUPfBgQBEvSpWRDNHqJkEkbffAN97dInxfjiuPYInC9v5TIXxliZZ eZHf8e5LWuatgU31d0FXf3veAEWXAcXwDUHDD27oIqAbmmPF15aQGMCi5xUwZB4FoXsKGe mQFW02g4vRtgGEWfPdwB13gVZqST8SPnA51KxmJjoqpUR0IaQOyA2po9Jh06UGdQXX0758 CtmaAy0sVhlZNHRoOTu1NyDgft1X12qCqB7gqJEWZzwzOUG+DL9hH5fLFalVP4SnnzpCEk ee1/C0PM9i5nzdyUJCaICssooc/H2io0Y6MbUq+8OlLpo1TbCofIMeRertY0Wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683389177; a=rsa-sha256; cv=none; b=Yg3vwPbBDLVVTyKt2JGZSh1Gl9PKw5pQIlyduD1NikOhF6gSYycJ4+9zqg5M3AF1w2AyLA DTTtW8kWWhAEYUU3jNlLnmkt4aJCyvnHQH5qV5qqsJcrtTsGZKJ9BgJs6Bn73H1c+bUNIF MUIJUBnKbQVj1yxeVp6+V4ZwotYnIsq4ItWU1mVhs/loAEcv2GsXiwerAq9r4aEnWKSOQk 0XasJuLJlI1ZBRN7eD974q9lPPISoUYJMUkCLCeOW+xTBIrsy639ADF6Xy7Pjj/WDudqTi CHrv4qq5NC1GGufolhPWLyaKxOEDcP+E2010f16ydlIOj5cnCqNrV90vj1plHg== 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 4QDC8n0GNNzjty for ; Sat, 6 May 2023 16:06: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 346G6GaC067899 for ; Sat, 6 May 2023 16:06:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 346G6GZg067898 for bugs@FreeBSD.org; Sat, 6 May 2023 16:06: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: bugs@FreeBSD.org Subject: [Bug 271281] gpart: wrong and useless error message "Invalid argument" when gpart fails due to internal bugs Date: Sat, 06 May 2023 16:06:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sblachmann@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271281 Bug ID: 271281 Summary: gpart: wrong and useless error message "Invalid argument" when gpart fails due to internal bugs Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sblachmann@gmail.com One longstanding hassle with setting up FreeBSD is gpart and its bugs. For example, gpart frequently fails to create partitions for unknown reason= s. It then always prints "Invalid argument" when the arguments are perfectly correct, and some bug makes it fail. It is highly annoying and embarassing to see that FreeBSD has deteriorated = that much that it is not even capable to set up partitions, and the need to have= a Linux live CD handy, just for setting up drives. Suggested solution: So, in case of failure in spite of valid arguments please have gpart print diagnostics information instead of "Invalid argument" and ask the user to f= ile a bug report against gpart. --=20 You are receiving this mail because: You are the assignee for the bug.=