systemd/test/test-execute/exec-restrictnamespaces-merge-and.service
2018-06-22 13:38:31 +02:00

10 lines
204 B
Desktop File

[Unit]
Description=Test merging RestrictNamespaces= with AND
[Service]
RestrictNamespaces=mnt pid
RestrictNamespaces=~mnt usr
ExecStart=unshare -p -f
ExecStart=sh -c '! unshare -m -u -i -n'
Type=oneshot