What need to properly detect java driver? driver=java health=undetected description="Driver must run as root"

Java driver cannot be detected when using the nomad user for service runner?

[DEBUG] client.driver_mgr: initial driver fingerprint: driver=java health=undetected description=“Driver must run as root”

nomad.service:

User=nomad
Group=nomad

Hi @vmptk ,

Thanks for using Nomad!

The docs state that

“On Linux, Nomad will use cgroups, and a chroot to isolate the resources of a process and as such the Nomad agent must be run as root.”

You’ll have to run Nomad as root, so that it can manage process isolation itself.

Hope that helps,

  • Derek and the Nomad Team
1 Like