Solved Raw sockets for unprivileged process in jail

Hello!

I've successfully set up net-mgmt/icinga2 in a jail. The service runs as the user icinga, which is unable to use ping.

From what I can gather, it's my understanding that allow.raw_sockets; allows the use of raw sockets for the root user of the jail only.

Is there a way to allow raw sockets for unprivileged users in a jail?

Thanks!
 
they are not allowed on the host for non root (unless maybe special policy / mac) but on "classic" unix they are not allowed
thats why ping is suid root
 
they are not allowed on the host for non root (unless maybe special policy / mac) but on "classic" unix they are not allowed
thats why ping is suid root
Ah, I see.

Setting the setuid bit using chmod u+s ${JAIL_ROOT}/sbin/ping fixed it, thanks mate!
 
Back
Top