mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
ae7482b994
The read-only bit is flipped after setting up all the mounts, so that bind mounts can be added. Remove the early config, and add a unit test. Fixes https://github.com/systemd/systemd/issues/30372
11 lines
262 B
Desktop File
11 lines
262 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Test for PrivateDevices=yes with a bind mounted device
|
|
|
|
[Service]
|
|
ExecStart=/bin/sh -c 'test -c /dev/kmsg'
|
|
ExecStart=/bin/sh -c 'test ! -w /dev/'
|
|
Type=oneshot
|
|
PrivateDevices=yes
|
|
BindPaths=/dev/kmsg
|