forked from xdp-project/xdp-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
- Loading branch information
1 parent
717b8b5
commit 3485f28
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# -*- fill-column: 76; -*- | ||
#+TITLE: Setup workarounds | ||
#+OPTIONS: ^:nil | ||
|
||
This files contains notes about needed setup workarounds. | ||
|
||
* SElinux workaround | ||
|
||
In current Fedora 29, SElinux deny bpftool access to listing maps via e.g. | ||
commands: | ||
|
||
#+begin_example | ||
# bpftool map | ||
# bpftool map list | ||
#+end_example | ||
|
||
Users see this error: | ||
|
||
#+begin_example | ||
$ sudo bpftool map | ||
Error: can't get map by id (13): Permission denied | ||
#+end_example | ||
|
||
Other part of the bpftool command do work, like listing BPF-prog running: | ||
|
||
#+begin_example | ||
# bpftool prog | ||
# bpftool prog list | ||
#+end_example | ||
|
||
Filed: Red Hat [[https://bugzilla.redhat.com/show_bug.cgi?id=1688668][Bug 1688668]] - SElinux conflict with bpftool map listing | ||
- As of this writing it is already resolved | ||
- But not fully rolled out, so use below workaround | ||
- Fixed in selinux-policy version 3.14.2-51.fc29 | ||
|
||
Using the proposed workaround: | ||
- https://bodhi.fedoraproject.org/updates/FEDORA-2019-4cc36fafbb | ||
- sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2019-4cc36fafbb | ||
|