和往常一样,我在启动时收到了看似无害但仍然令人讨厌的“无法启动应用内核变量”消息。所以我当然继续操作,
systemctl status systemd-sysctl.service
并得到了以下信息:
哦,我正在使用 Xubuntu 18.04 和 i3 作为我的 WM。
systemd-sysctl.service - Apply Kernel Variables
Loaded: loaded (/lib/systemd/system/systemd-sysctl.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-08-12 18:08:38 PDT; 18min ago
Docs: man:systemd-sysctl.service(8)
man:sysctl.d(5)
Main PID: 352 (code=exited, status=1/FAILURE)
Aug 12 18:08:38 agartha systemd-sysctl[352]: Couldn't write '0' to 'vm/dirty_background_bytes': Invalid argument
Aug 12 18:08:38 agartha systemd-sysctl[352]: Couldn't write '0' to 'vm/dirty_bytes': Invalid argument
Aug 12 18:08:38 agartha systemd-sysctl[352]: Couldn't write '6' to 'kernel/rr_interval', ignoring: No such file or directory
Aug 12 18:08:38 agartha systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Aug 12 18:08:38 agartha systemd[1]: systemd-sysctl.service: Failed with result 'exit-code'.
Aug 12 18:08:38 agartha systemd[1]: Failed to start Apply Kernel Variables.
不知道从哪里开始。我真的不明白 dirty-bytes 与这一切有什么关系。