[Unit]
Description=Test for PrivateDevices=yes
[Service]
ExecStart=/bin/sh -c 'test ! -c /dev/kmsg'
Type=oneshot
PrivateDevices=yes