system-networkd: Failed to increase receive buffer size in unprivileged container

sthames42

New Member
Jan 4, 2025
2
0
1
Seeing this warning when starting `system-networkd` in an unprivileged container:

systemd-networkd[000]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted

This appears to be referring to the sysctl net.core.rmem_max property which, AFAICT, is not a namespaced property. I'm assuming because it's a kernel property that can't be changed for an unprivileged container. This warning does not appear in a privileged container.
  • The `rmem_default` property is the same as `rmem_max` so why is it trying to change the value?

  • Is it trying to adjust the buffer size dynamically based on the request?

  • Am I losing any functionality in the container because of this restriction?

  • If so, is there another tunable I can set to alleviate the issue?