因此,我尝试使用systemd运行node.js脚本,但出现以下错误:
File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
我真的不知道该如何解决,我发现this,但它似乎对我不起作用。
unsupported IP firewalling
中有关systemd-journald.service
的警告与您的node.js需求无关。
但是如果您真的想摆脱此消息,则需要启用以下内核选项:
CONFIG_BPF_SYSCALL
CONFIG_CGROUP_BPF