mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
cdfbd1fb26
Better safe.
8 lines
323 B
Desktop File
8 lines
323 B
Desktop File
[Unit]
|
|
Description=Test to make sure that passing ReadWritePaths= disconnect mount propagation
|
|
|
|
[Service]
|
|
ReadWritePaths=-/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
|