Skip to content

main/ipset: add netns support

Thomas Liske requested to merge liske/aports:ipset-add-netns-support into master

Background: openrc got patched to support running services in netns namespaces !51670 (merged)

This MR adds netns support for the ipset initd script. It also makes the DIR variable configurable so it is possible to use a different ipset config in netns namespaces.

Example /etc/conf.d/ipset.tenant1:

# enable netns support
netns=tenant1

# use custom ipset config dir
DIR=/etc/ipset.tenant1.d
Edited by Thomas Liske

Merge request reports