systemd/test/test-execute/exec-inaccessiblepaths-sys.service
2021-12-20 22:20:52 +01:00

9 lines
273 B
Desktop File

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test to make sure that mount namespace setup works properly with the 'InaccessiblePaths=/proc' option
[Service]
InaccessiblePaths=/sys
ExecStart=/bin/sh -x -c 'test "$$(stat -c %%a /sys)" = "0"'
Type=oneshot