You are not logged in.
I'm getting a failed service for systemd-sysctl on boot. Bellow are some outputs.
sudo systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● systemd-sysctl.service loaded failed failed Apply Kernel Variables
sudo systemctl status systemd-sysctl.service
● systemd-sysctl.service - Apply Kernel Variables
Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2018-02-10 12:39:08 CET; 2h 50min ago
Docs: man:systemd-sysctl.service(8)
man:sysctl.d(5)
Process: 30009 ExecStart=/usr/lib/systemd/systemd-sysctl (code=exited, status=1/FAILURE)
Main PID: 30009 (code=exited, status=1/FAILURE)
Feb 10 12:39:08 foo systemd[1]: Starting Apply Kernel Variables...
Feb 10 12:39:08 foo systemd-sysctl[30009]: Couldn't write '0' to 'net/core/bpf_jit_enable': Invalid argument
Feb 10 12:39:08 foo systemd-sysctl[30009]: Couldn't write '1' to 'bpf_jit_enable', ignoring: No such file or di
Feb 10 12:39:08 foo systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 12:39:08 foo systemd[1]: systemd-sysctl.service: Failed with result 'exit-code'.
Feb 10 12:39:08 foo systemd[1]: Failed to start Apply Kernel Variables.
lines 1-14/14 (END)
sudo journalctl -xe
systemd[1]: Starting Apply Kernel Variables...
-- Subject: Unit systemd-sysctl.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-sysctl.service has begun starting up.
Feb 10 15:36:48 foo systemd-sysctl[30749]: Couldn't write '0' to 'net/core/bpf_jit_enable': Invalid argument
Feb 10 15:36:48 foo systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 15:36:48 foo systemd[1]: systemd-sysctl.service: Failed with result 'exit-code'.
Feb 10 15:36:48 foo systemd[1]: Failed to start Apply Kernel Variables.
-- Subject: Unit systemd-sysctl.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-sysctl.service has failed.
--
-- The result is RESULT.
Feb 10 15:36:48 foo sudo[30746]: pam_unix(sudo:session): session closed for user root
lines 1668-1696/1696 (END)
There seems to be a some problem with writing 0 to bpf_jit_enable. I've tried to echo the value manually with echo 0 >/proc/sys/net/core/bpf_jit_enable but get "bash: echo: write error: Invalid argument" in terminal. Has anyone else come across this.
Thanks
Last edited by voltarex (2018-02-10 14:54:13)
Offline
Offline