Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 12:41:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272162] sysutils/nomad: nomad is ignoring the etc directory
Message-ID:  <bug-272162-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272162-7788>