Nomad creates tmpfs mounts with invalid options for the kernel version
Author: akamenskyCreated Jul 14, 2026Updated Sep 9, 2026
Labelstype/bughcc/jira
Nomad version
1.9.5
Operating system and Environment details
Centos 8 (kernel 4.18)
Issue
For internal reasons we are required to use old kernels for some systems running legacy applications. This is one of those systems (using kernel 4.18). After deploying applications on the server we see spam in kernel messages like:
[12501231.085360] tmpfs: No value for mount option 'noswap'
[12501231.086722] tmpfs: No value for mount option 'noswap'
[12501231.092809] tmpfs: No value for mount option 'noswap'
[12501231.093503] tmpfs: No value for mount option 'noswap'Reproduction steps
Use a system with kernel older than newer tmpfs implementation (pre 5.3 i think), which does not have noswap option.
Expected Result
No unnecessary kernel log spam
Actual Result
Unnecessary kernel log spam
Job file (if appropriate)
Not applicable
Source: hashicorp/nomad