Skip to content

fix: nomad unable to start#9

Open
pnivlek wants to merge 1 commit intostenh0use:mainfrom
pnivlek:fix/nomad-permission-denied
Open

fix: nomad unable to start#9
pnivlek wants to merge 1 commit intostenh0use:mainfrom
pnivlek:fix/nomad-permission-denied

Conversation

@pnivlek
Copy link
Copy Markdown
Contributor

@pnivlek pnivlek commented Feb 5, 2026

Nomad is unable to start because the nomad user doesn't have access to read /etc/nomad.d/nomad.hcl. This adds the exec permission to the directory, needed to list files inside of it so Nomad can see its config.

Nomad is unable to start because the nomad user doesn't have access to
read /etc/nomad.d/nomad.hcl. This adds the exec permission to the
directory, needed to list files inside of it so Nomad can see its
config.
Copy link
Copy Markdown
Owner

@stenh0use stenh0use left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this.. I think I found this issue the other day but couldn't figure out how I broke it.

&& adduser --system --group nomad \
&& mkdir -p /nomad/data \
&& mkdir -p /etc/nomad.d \
&& chmod 0744 /etc/nomad.d \
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be 0755 for a directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants