1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

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