Skip to content

Commit

Permalink
setup-testlab: doc for workarounds
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
  • Loading branch information
netoptimizer committed Mar 14, 2019
1 parent 717b8b5 commit 3485f28
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions setup-testlab/workarounds.org
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

0 comments on commit 3485f28

Please sign in to comment.