unit: add AF_ALG to systemd-networkd.service

networkd uses khash, and khash requires AF_ALG.
This commit is contained in:
Yu Watanabe 2020-01-26 21:24:09 +09:00 committed by Lennart Poettering
parent 4523f1db0f
commit 1b3cccfdac

View file

@ -33,7 +33,7 @@ ProtectKernelLogs=yes
ProtectSystem=strict ProtectSystem=strict
Restart=on-failure Restart=on-failure
RestartSec=0 RestartSec=0
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 AF_PACKET RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 AF_PACKET AF_ALG
RestrictNamespaces=yes RestrictNamespaces=yes
RestrictRealtime=yes RestrictRealtime=yes
RestrictSUIDSGID=yes RestrictSUIDSGID=yes