From nobody Wed May 22 02:45:28 2024 X-Original-To: dev-commits-src-all@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 4VkbJT01XRz5LNKy; Wed, 22 May 2024 02:45:28 +0000 (UTC) (envelope-from git@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 4VkbJS6KZVz41VV; Wed, 22 May 2024 02:45:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716345928; 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=ezMmhhSUKujljubfTad+p/EoX+lZ6UVW2s+GmrWuta0=; b=nSCeKZ0LkIDq1rDlOJwesVE/nVVakB38PcC/HZ8aypby6GWP4u8xck5Cp4AStcrs6xOTLN VK5Lo55AxJ+inOL7UIG2BZUMgtpCgDKQwHO6Z0EXbKGIVFduNLX2e+GLdBefIfxIm/LDkk l1MfwBgJAlx4evcYYhEpTNodR3cDY+m7r8wQngtvFXa+ecWsUwiZpiJg5AY1BJlqn8SKDu hPJscEmeCkuHR8Nhcpbhpa+Pd6QKgbO8BgqSUZ5C/qhljuWQ6teczqCTZYsTmUjS3Gt5eo ygeVOKUGM+yA9i2DPcX1SUegZ/kE9p/moHvsBuaFdFWe5J9bSN4yxGDr6ehEkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716345928; a=rsa-sha256; cv=none; b=tSw+NN5lO5SYtnTPlMxY2HX1aRc0A/PHxTTeAzYUS6KJLHw4OtjItfKeCGRwWpspQuwAEv gMQi5bMcPhyRxpZO9k6TsHx1qcNXf7vc6RduLspjV9iUg2PnO5leAItBA7MHdLnyEbvQaU onsaByW26RceIkGYy2h0/H/tgdhsaNr02iHJwZBMG6RzwVXQ51m/1XOwp3OiZddE1hzpZ9 yrQAHCHepfy+Sw7okzWLaHwhNAmfWdGPRvdj10FaajDLDUGX63s76xyKrSkWNVwSPrKLzK L+l/Nuo6efQNGiLY/iUHI1Hxi7tsBPOXOkltphwxvGyCUlmIw4GrGBetJ+CSJQ== 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=1716345928; 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=ezMmhhSUKujljubfTad+p/EoX+lZ6UVW2s+GmrWuta0=; b=PsM3lMKpnwiv4SXPkscpCYZONpsTMNggemc/ZnLuLUH/i+5K/2Mjyb9fLMe5MlXO1yHZJr Xd5lgjE3CxiuW3w47YKoDM62ubYd1CDEXMtmh4fdKR9YVUndjWGGbP2n6mDUEitBs9Spw6 ikM83TfeXdU2Te30VV2bdK/a6/mZQxW8O0ktDMSgfVMk83M57mg0WSFB3KKlEqTrXk8Ska OxMhwHrtVrSljB9vM648Mpk3AZLEH1awJkjqjeTrS3NvSHoj2rqUol9fPuRRYA/nNOXd6e 4ewC1AnuraQCoydTZAk5hGvObHAjbr3670N+taBQOb6Xs00M2iiclwcVAcrn3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4VkbJS5nrjznRy; Wed, 22 May 2024 02:45:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44M2jSCa017820; Wed, 22 May 2024 02:45:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44M2jSQp017817; Wed, 22 May 2024 02:45:28 GMT (envelope-from git) Date: Wed, 22 May 2024 02:45:28 GMT Message-Id: <202405220245.44M2jSQp017817@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Simon J. Gerraty" Subject: git: dc501a9ec093 - main - Allow DEBUG_SH=rc:all to debug all rc.d List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dc501a9ec093f73d9cbff666df4bf16cd5a358fd Auto-Submitted: auto-generated The branch main has been updated by sjg: URL: https://cgit.FreeBSD.org/src/commit/?id=dc501a9ec093f73d9cbff666df4bf16cd5a358fd commit dc501a9ec093f73d9cbff666df4bf16cd5a358fd Author: Simon J. Gerraty AuthorDate: 2024-05-22 02:44:20 +0000 Commit: Simon J. Gerraty CommitDate: 2024-05-22 02:44:20 +0000 Allow DEBUG_SH=rc:all to debug all rc.d Usually a bad idea but there are exceptions to every rule. Allso debugging all rc.d scripts or all with a given arg. --- libexec/rc/rc.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 16b2c9fc5e88..6ed9d24fdf5c 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -1076,7 +1076,7 @@ run_rc_command() err 3 'run_rc_command: $name is not set.' fi - DebugOn rc:$name rc:$name:$rc_arg $name:$rc_arg + DebugOn rc:all rc:all:$rc_arg rc:$name rc:$name:$rc_arg $name:$rc_arg # Don't repeat the first argument when passing additional command- # line arguments to the command subroutines.