Skip to content

Commit

Permalink
INSTALL.md: Fedora 30: note about kernel lockdown (iovisor#2536)
Browse files Browse the repository at this point in the history
Add a note about the kernel lockdown challenge
to the "Fedora 30 and newer" section.

Motivation: Fedora 30 users are likely to follow
the instructions in the "Fedora 30 and newer"
section of INSTALL.md. They will run into the
kernel lockdown challenge.
  • Loading branch information
jgehrcke authored and yonghong-song committed Sep 30, 2019
1 parent c00d10d commit 4c2cb86
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ You can install them via
sudo dnf install bcc
```

**Note**: if you keep getting `Failed to load program: Operation not permitted` when
trying to run the `hello_world.py` example as root then you might need to lift
the so-called kernel lockdown (cf.
[FAQ](https://github.com/iovisor/bcc/blob/c00d10d4552f647491395e326d2e4400f3a0b6c5/FAQ.txt#L24),
[background article](https://gehrcke.de/2019/09/running-an-ebpf-program-may-require-lifting-the-kernel-lockdown)).


### Fedora 29 and older

Ensure that you are running a 4.2+ kernel with `uname -r`. If not, install a 4.2+ kernel from
Expand Down

0 comments on commit 4c2cb86

Please sign in to comment.