mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
Merge pull request #31746 from yuwata/network-unit-hide-boot-and-efi
unit: do not trigger automount for /boot and/or /efi
This commit is contained in:
commit
dd48b6c38f
@ -26,6 +26,8 @@ CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_N
|
||||
DeviceAllow=char-* rw
|
||||
ExecStart=!!{{LIBEXECDIR}}/systemd-networkd
|
||||
FileDescriptorStoreMax=512
|
||||
ImportCredential=network.wireguard.*
|
||||
InaccessiblePaths=-/boot -/efi
|
||||
LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
NoNewPrivileges=yes
|
||||
@ -50,7 +52,6 @@ SystemCallErrorNumber=EPERM
|
||||
SystemCallFilter=@system-service
|
||||
Type=notify-reload
|
||||
User=systemd-network
|
||||
ImportCredential=network.wireguard.*
|
||||
{{SERVICE_WATCHDOG}}
|
||||
|
||||
[Install]
|
||||
|
Loading…
Reference in New Issue
Block a user