From nobody Mon Dec 06 02:46:37 2021 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 1BD481890C50 for ; Mon, 6 Dec 2021 02:46:38 +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 4J6nrF5xnvz4vjd for ; Mon, 6 Dec 2021 02:46:37 +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 A8E2023AA6 for ; Mon, 6 Dec 2021 02:46:37 +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 1B62kb9e005468 for ; Mon, 6 Dec 2021 02:46:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B62kb9u005467 for bugs@FreeBSD.org; Mon, 6 Dec 2021 02:46:37 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 260248] jails: depend parameter does not work in modular jail files (conf.d) Date: Mon, 06 Dec 2021 02:46:37 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: v_bachvarov@mail.bg 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638758797; 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=4UdkOd5M823i2LyMVpMo2qLKgh1Efax4pzjMB0kiO8w=; b=k+9Tu87i/Yr1SdMN3pFVHvb/HBizGZeLEf9XisgWHPIGQo0oC8MOlS6F2BGVihnn1T3ye4 Edw7xrmH7aj1utpTAE6+0lTD/C/P7fhNCWYkBaPitis2i1BFnUWGOdmi4bw7wS6QhkHL0P DnU6tPgFUX9lN2TbO0yuTeR+380L34a1SE8MBKFTxpDPCoAx8FAGGvfBDkI/yE5pg+c6eT iS70jgos8SXJCKWlDhmRiaE9wzryZGca0wFzpqfluu11NVVkKoYSQuSK7GE5DGwUiBGpVr gxLh3E3NeuyKGYj8tMethqSF+dKpfij3dTTS4y3gpJDUxVuC4IPHETX+hyV6xQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638758797; a=rsa-sha256; cv=none; b=FWoKBpZQ8vLsAKhegbhzYcJ3tG0HLj55hx8v9afc8MvvKmMtqb7f1ImK+l6x49u94Mou0i oNB5Glw1DxhCU6ok0CSJd3ijkCk1jsGuJ8uEIpQvoOaFTcw6MI57938wIDTnBXql2was4B xIG7URmEP6tmUQ6EEMsQaJeiV/bJGdUIODRD5D54h7qoLNgGhiwhLQLcACEF/fQVyerQAx LmyZd6ZPudiFSz8KZBUAefegj212Ctf6gSoiDA6fQ0TpL5I0MtLme2Ax9qTa9QMbh1OU2G RXViBO899fZbjWJ+BJG6gj1vQnPRl1LX30IdokzFclMiajRyMqvAWpdeZqyDjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260248 Bug ID: 260248 Summary: jails: depend parameter does not work in modular jail files (conf.d) Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: v_bachvarov@mail.bg When using multiple modular jail.conf files under /etc/jail.conf.d it is not possible at the moment to make one jail depend on another. The depend param= eter does not work across the different jail.conf files. How to reproduce: - Create two jails in separate files: /etc/jail.conf.d/j1.conf and /etc/jail.conf.d/j2.conf - Make one of the jails (j1) depend on the other (j2) - Call "service jail start j1" Expected output: - The jails are started in the correct order: j2, then j1. Actual output: - The command fails with the error that jail "j2" is not found. Workaround: The sysrc variable "jail_list" can be used to define in which o= rder the jails should be started and stopped. It would be better though to let j= ail calculate the order. --=20 You are receiving this mail because: You are the assignee for the bug.=