NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.94k stars 13.96k forks source link

Error work systemd-sysctl service with kernel 5.5 and hardened profile #79294

Open Izorkin opened 4 years ago

Izorkin commented 4 years ago

Steps to reproduce the behavior:

  1. Enable hardened profile
  2. Use kernel 5.5

Error:

systemd-sysctl[25177]: Couldn't write '0' to 'net/core/bpf_jit_enable': Invalid argument
systemd-sysctl[25177]: Couldn't write '16' to 'vm/mmap_rnd_compat_bits', ignoring: No such file or directory

Metadata:

сс @joachifm

stale[bot] commented 4 years ago

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

Artturin commented 2 years ago

maybe something to do with security.lockKernelModules = mkDefault true;