From: Lennart Poettering Date: Tue, 23 Jul 2019 11:14:53 +0000 (+0200) Subject: units: make sure logind can properly reference drm char class X-Git-Tag: v243-rc1~39^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11aa16bb359ded91d68ff5f48fecfafa2a15d3b0;p=thirdparty%2Fsystemd.git units: make sure logind can properly reference drm char class Similar to the previous fix. --- diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 1b37290d4f5..927f97e94e8 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