Dear Maintainer,
The client-server autopkgtest for isc-dhcp fails when run in an 'unshare' 'container'
as it can't create a netns:
Removing autopkgtest-satdep (0) ...
autopkgtest [20:39:58]: test client-server: [-----------------------
+ nsserver=server
+ nsclient=client
+ ip_addr_server=10.42.42.1/24
+ ifaceserver=veth-server
+ ifaceclient=veth-client
+ ip netns add server
setns: Operation not permitted
autopkgtest [20:39:59]: test client-server: -----------------------]
autopkgtest [20:39:59]: test client-server: - - - - - - - - - - results - - - - - - - - - -
client-server FAIL non-zero exit status 1
im running this with gbp and sbuild, so something like:
'gbp buildpackage --git-builder=sbuild --run-autopkgtest -d unstable'
(it is allowed to do 'unshare --net' in the unshared 'container', so i expect there might be a way to make
this work? i tried 'unshare --net debian/tests/client-server' but that didnt work for me
-- i was hoping to copy the approach in a different package's tests, so im hoping this is solvable without
adding 'isolation-machine' to the test restrictions)