Toolbox: Unable to update sysctl key. Permission denied.

Created on 1 Dec 2020  ·  3Comments  ·  Source: containers/toolbox

Describe the bug
I was facing #214 and following this I added this line in /etc/sysctl.conf:

net.ipv4.ping_group_range = 0 2147483647

Now when I run sysctl -p, it returns:

sysctl: permission denied on key 'net.ipv4.ping_group_range'

65534 65534 is returned when I run sysctl -n net.ipv4.ping_group_range

Output of toolbox --version (v0.0.90+)
toolbox: unrecognized option '--version'

Toolbox package info (rpm -q toolbox)
package toolbox is not installed

Podman package info (rpm -q podman)
package podman is not installed

Info about your OS
Endless OS 3.9.0 (201109-141440)

Even this did not help.

1. Bug

All 3 comments

@debarshiray can you help me with this?

net.ipv4.ping_group_range needs to be set on the host.

I think this can be closed now, but feel free to leave a comment if you have reason to believe otherwise. Thanks for stopping by.

Was this page helpful?
0 / 5 - 0 ratings