Nomad creates tmpfs mounts with invalid options for the kernel version
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
### 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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.