1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 Description=Test for PrivateNetwork= with mount namespacing
6 ExecStart=sh -x -c '! ip link show dummy-test-exec'
7 ExecStart=sh -x -c 'test ! -e /proc/sys/net/ipv4/conf/dummy-test-exec'
8 # With mount namespacing, we cannot access the dummy-test-exec interface through sysfs.
9 ExecStart=sh -x -c 'test ! -e /sys/class/net/dummy-test-exec'
12 # PrivateNetwork=yes implies PrivateMounts=yes