From nobody Fri Jun 23 12:41:25 2023 X-Original-To: ports-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 4QncLF6qyPz4gVZc for ; Fri, 23 Jun 2023 12:41:25 +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 4QncLF5qGbz4FcN for ; Fri, 23 Jun 2023 12:41:25 +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=1687524085; 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=r+lFT+kKG2HX2eQPEkzCik+77y0FZdOxsW9Tycdd5vM=; b=HZs4SZ6syZm2E8h031n/3lUolpNj+YlQKFLY3Xhi+exwnzO3kZS2q4+HJARL8kNeo2WcOy VqI6PA1wZf34xBFDt1z1GpQV3zQNMBKRUx6k5G98A2BtjpGWHSwIIwI3xJhSmhvaekXJXB KEdYiWqz2y/Ca7gqH+sTq0lK5FeZDd8rWDDTz6B3Kq7ne1W8Wbe4SGzcBu4YX8O6s9FIr7 3B0e8ceKDlXy9KhZrHPUDNi5RJWvTeCcrSYeUBmH4hSIjhK4CzbTALqBjMLwr3YkY3p5LI TIDQnK2okqy0VBzf9EWe87bujX8MOErtktoJ3sPFS2w/qtHBBF0TIXHGRDzb6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687524085; a=rsa-sha256; cv=none; b=faxZnpGj/kLWdfMHCy3m0WNzE5OtrGfV59YYRVOio/GIJjwEK+dXzTF0Ec4zx9o3ntT/XS pP2CYhGu5Ruqi0PEMJqiG7xJFMYClvluCpCARq/A5Pq26lZIRu5drq6X5gR/fD13o8DTMO 6Bf37gpXC9JdmFD0lJGgQSonYcExXlmSBxkttNpqhZBALj7JVXh3309m95H6NXRew0NLps hhyuKMZSP9Id/bDqDVOYQn9JlcCkqovn1MeQz6Bjmz8Ll72fe3AMcZp15KjHtMP5Fd7eLx LV6bUOHWzXfBPSwFzXvAdItXjPDwJjGVxEmJRfFyOF69qzU51+vaDe5aBRHSow== 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 4QncLF4vBQz150Q for ; Fri, 23 Jun 2023 12:41:25 +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 35NCfP0s083415 for ; Fri, 23 Jun 2023 12:41:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35NCfP5j083414 for ports-bugs@FreeBSD.org; Fri, 23 Jun 2023 12:41:25 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: ports-bugs@FreeBSD.org Subject: [Bug 272162] sysutils/nomad: nomad is ignoring the etc directory Date: Fri, 23 Jun 2023 12:41:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: p.mousavizadeh@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhixson@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272162 Bug ID: 272162 Summary: sysutils/nomad: nomad is ignoring the etc directory Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jhixson@FreeBSD.org Reporter: p.mousavizadeh@protonmail.com Assignee: jhixson@FreeBSD.org Flags: maintainer-feedback?(jhixson@FreeBSD.org) Hi, it seems like Nomad does not read the `/usr/local/etc/nomad/` directory for= its configuration or using it as its '-config' flag. So by default nomad will not run/start with `service nomad start` command a= nd we have to edit the rc.d/nomad file read its etc config files. I see various options to correct this: 1. Make it to read files inside /usr/local/etc/nomad/ directory as its conf= ig files. 2. Add a ${nomad_config} variable to use it as -config flag if available. 3. Add a ${nomad_mode} variable to determine whether it's a server, client,= or dev mode. furthermore completely ignore etc directory and make users to use= the ${nomad_args} variable for hcl config files if they want. IMHO, the first option will be compatible with the principle of least surpr= ise (POLA). --=20 You are receiving this mail because: You are the assignee for the bug.=