From nobody Sat Jan 08 16:26:59 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 E0514192B68E for ; Sat, 8 Jan 2022 16:26:59 +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 4JWQTb4TNkz4pCZ for ; Sat, 8 Jan 2022 16:26:59 +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 798B0220A7 for ; Sat, 8 Jan 2022 16:26:59 +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 208GQxpR030934 for ; Sat, 8 Jan 2022 16:26:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 208GQxdW030933 for bugs@FreeBSD.org; Sat, 8 Jan 2022 16:26:59 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 261036] [patch] rc.d/jail: Support multiple _startN and _stopN variables Date: Sat, 08 Jan 2022 16:26:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: thomas@gibfest.dk 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 attachments.created 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=1641659219; 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=5M+oIdOjVMUqNxFnSIz73eqDX7IeYsTS8+hY6wYVLj8=; b=PKrxFRdMPLDs3tPGqM442+WSZMjch0A+dFnT8gXSjQReDZKh6uxDpotlON6Vwr1JNN6u0g J1fiKRqMLbGXx9ZhMjYF0Nzp9NLwd42K3eq9Z4kMAXAxRwIrqmJ//eFtGXy60kWUOlPrEq WcQuS4/lK+8qQoKeZWowHjCaRKqlTxlQ4lGafJXSVkGcPLOOIIhcmvkRi1sqMyO7PgPdMr vYWq5JImBOpfXUkg6fcrOnEgN6vqdQvhBrGFUgoriaGQeNCgR3h8VuLvTeDFtJ3gKqIizV AaK2ZIRgJnTI9K8bTpZ/CJcn31UHjQDZQUASScVILB6P5E+qrM3syrsLaHVB4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641659219; a=rsa-sha256; cv=none; b=MvoTzEFdeWHDPB2uaRuLMGyAilAsY44PXIBIJ2HqKxGjWD0PGbuzCFbPY9+L7PEetE5IFg OsmQbtxQoEFR7pp+xYsFBks91QAcWn724FIs8a9X2EGb6+BfKY1ekcXwOvQSx8SzWvsKTB 40/JNxDRxgriEJd1QOfeeZKWKaAAndlWyMJwXns1YO7rM1Ils+h4kXip81eraPFeXIz4yQ pAeA3rvw6B74gMucWmAxtpJc8wfTI/UlEba2StWvSVH1SFPngTKfS08050O9roBLNjQ/0S umm3cBj3xhvTMFV23kB6TKX3yAm2/BtAxmEkw7BJYKJB/cps7KrOS5OIH54upQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261036 Bug ID: 261036 Summary: [patch] rc.d/jail: Support multiple _startN and _stopN variables Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: thomas@gibfest.dk Created attachment 230822 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230822&action= =3Dedit A patch to support having multiple jail _startN and _stopN commands Hello, I've been running with the attached patch for /etc/rc.d/jail for a few years now.=20 It enables having multiple "jail_jailname_start0" "jail_jailname_start1" "jail_jailname_start2" etc (and the same for stop) variables when using leg= acy variables to configure jails. This is already supported for _prestart, _poststart, _prestop, and _poststop, but for some reason _start and _stop w= ere left out. In case I missed something and the patch isn't as trivial as I thought then please let me know or just close this as wontfix and I will keep running wi= th the patch locally :) Thanks! :) ps. I care about this because I use /etc/rc.conf.d/jail files written by ansible to configure jails. I prefer it to jail.conf because they can be written by sysrc and they are easier to maintain from configuration managem= ent compared to jail.conf(.d). --=20 You are receiving this mail because: You are the assignee for the bug.=