units: make sure logind can properly reference drm char class

Similar to the previous fix.
This commit is contained in:
Lennart Poettering 2019-07-23 13:14:53 +02:00
parent 31ea9c89d4
commit 11aa16bb35

View file

@ -27,6 +27,8 @@ DeviceAllow=char-drm rw
DeviceAllow=char-input rw
DeviceAllow=char-tty rw
DeviceAllow=char-vcs rw
# Make sure the DeviceAllow= lines above can work correctly when referenceing char-drm
ExecStartPre=-/sbin/modprobe -abq drm
ExecStart=@rootlibexecdir@/systemd-logind
FileDescriptorStoreMax=512
IPAddressDeny=any