Drop seccomp system call filter for udev
authorMichael Biebl <biebl@debian.org>
Wed, 18 Jul 2018 21:49:16 +0000 (23:49 +0200)
committerMichael Biebl <biebl@debian.org>
Thu, 18 Jul 2019 17:38:23 +0000 (18:38 +0100)
The seccomp based system call whitelist requires at least systemd 239 to
be the active init and during a dist-upgrade we can't guarantee that
systemd has been fully configured before udev is restarted.

This partially reverts upstream commit
ee8f26180d01e3ddd4e5f20b03b81e5e737657ae.

Once buster is released, this patch can be dropped.

Closes: #903224
Gbp-Pq: Topic debian
Gbp-Pq: Name Drop-seccomp-system-call-filter-for-udev.patch

units/systemd-udevd.service.in

index 6a3814e5d92607a397b88bb55015a6be47bc75ff..2b9fa69d9b1f530abef7115d4673c78950cc0e18 100644 (file)
@@ -29,8 +29,6 @@ PrivateMounts=yes
 MemoryDenyWriteExecute=yes
 RestrictRealtime=yes
 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
-SystemCallFilter=@system-service @module @raw-io
-SystemCallErrorNumber=EPERM
 SystemCallArchitectures=native
 LockPersonality=yes
 IPAddressDeny=any