From nobody Fri Mar 22 16:00:12 2024 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 4V1Rqc6lLnz5FDlM for ; Fri, 22 Mar 2024 16:00:12 +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 4V1Rqc2dp6z4TbW for ; Fri, 22 Mar 2024 16:00:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711123212; a=rsa-sha256; cv=none; b=r5BP/7yKe0ZtWqw2foiiYRHba0iNCgmVtP4ChOa4P+giO++7zKfgLDzn2EQl5IOq4TGA5P itenN0dSjv7OI2L/wtaNDrN1aZv1uXV9YFQ7dAQeTBpKGkvatI3XiQ8UQepX2vC856LUs7 xnEIEZkwvZpzkhHOD2Tjbx4QHnoncQULA5N0ZH6IY+yxsvA+DfRUa+TWGV/DmVqTLalgT8 k3hoJ++S6B1xxb4oWJyg8wtbnWemhuD39y4MrLR4pml+Np9IkF4wRJFBgw6qB8FQyZG+ne lKW9VWPf2qeeHUbjejyyOdmuTErYA6UD0smKyeXiYIPwexlI86yVZrj9kel1AQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711123212; 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=S95NW/kfqAw/LquifH+p07caJO5d7VlG2nlHeLuOPPA=; b=iJ8G/TQvFVk3EUCbklitWarzgxfZW7XLEyilocVUydXkGA58sVx10A8kWosxLszXoHfYFC xLy3PZkb2m9x1jgmHrPNA2CjxP/lWOLm2DgysVhS18Xddd60fc6zfTjE2svxFPOsnZkyZB u4AI+DPfussz93ymWOuxvxeXCrIc2dkfMxESAGtLPCPfaDFJea2l/49TpAzq24hfpVakr4 HUmrQLvn+q0qXZpVRMT2ZHyyLd4UUm1htjE24YBIJn1TUZzzme0rWKh/nkgRk7bfRWSCiU bgGYNQC5TEei+Qjkk0U5twJRpoazUtuOgs5ymO4MR90D1OU0X22bvG9ChEQNHw== 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 4V1Rqc26yRz1Ppl for ; Fri, 22 Mar 2024 16:00:12 +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 42MG0CC0052474 for ; Fri, 22 Mar 2024 16:00:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42MG0CJ1052473 for bugs@FreeBSD.org; Fri, 22 Mar 2024 16:00:12 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 277893] rc_subr setting of variables breaks if rc name variable contains minus sign Date: Fri, 22 Mar 2024 16:00:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: awalker@ixsystems.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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277893 Bug ID: 277893 Summary: rc_subr setting of variables breaks if rc name variable contains minus sign Product: Base System Version: 13.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: awalker@ixsystems.com If the name variable for an rc script contains a minus sign, rc_subr will basically corrupt variables related to the script. Was observed because rc_= subr was attempting to run "umask -kinit" for a script with name "ix-kinit" rath= er than just "umask". This may indicate further undiagnosed problems with hand= ling edge-cases with handling of rc script name variables. --=20 You are receiving this mail because: You are the assignee for the bug.=