diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-07-23 13:14:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-07-23 13:30:56 +0200 |
commit | 11aa16bb359ded91d68ff5f48fecfafa2a15d3b0 (patch) | |
tree | 488f3ed1b2fdc8caad025cfb7cc1ca2c862fbfb2 /units | |
parent | 31ea9c89d49d16b912cd7c1f241f83402eb8c626 (diff) | |
download | systemd-11aa16bb359ded91d68ff5f48fecfafa2a15d3b0.tar.gz |
units: make sure logind can properly reference drm char class
Similar to the previous fix.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-logind.service.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 1b37290d4f..927f97e94e 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -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 |