1 2 3 4 5 6 7 8
# SPDX-License-Identifier: LGPL-2.1-or-later [Unit] Description=Test for PrivateDevices=yes [Service] ExecStart=/bin/sh -c 'test ! -c /dev/kmsg' Type=oneshot PrivateDevices=yes