mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
8 lines
321 B
SYSTEMD
8 lines
321 B
SYSTEMD
|
[Unit]
|
||
|
Description=Test to make sure that InaccessiblePaths= disconnect mount propagation
|
||
|
|
||
|
[Service]
|
||
|
InaccessiblePaths=-/i-dont-exist
|
||
|
ExecStart=/bin/sh -x -c 'mkdir -p /TEST; mount -t tmpfs tmpfs /TEST; grep TEST /proc/self/mountinfo && ! grep TEST /proc/$${PPID}/mountinfo && ! grep TEST /proc/1/mountinfo'
|
||
|
Type=oneshot
|