iovisor / iovisor/bcc

fedora 25 install instructions currently lead to fail

Open
#1,430 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
5d 13h
Merged PRs (30d)
3

Description

As far as I can tell, install instructions
https://github.com/iovisor/bcc/blob/master/INSTALL.md#fedora---binary
for FC25 suggest running
``` sudo dnf update```

The problem is that this will currently update the kernel to 4.13 resulting in the same fail as in #1429.

```
$ sudo /usr/share/bcc/tools/offcputime
In file included from /virtual/main.c:3:
...
/lib/modules/4.13.8-100.fc25.x86_64/build/include/linux/string.h:21:27: error: arguments to BPF program definition must be named
extern char * strcpy(char *,const char *);
```

This probably didn't happen when the instructions were written but the update is open ended so it might fail in the future.

sadly downgrading doesn't work as we hit
```
raise ValueError('NEVRA was already removed: %s' % old_nevra)
ValueError: NEVRA was already removed: lz4-0:r131-2.fc24.x86_64
```
https://bugzilla.redhat.com/show_bug.cgi?id=1478632

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with INSTALL.md#fedora---binary and review the Fedora 25 instructions, then reproduce the reported failure with /usr/share/bcc/tools/offcputime if that environment is available. Check issue #1429 and the linked Red Hat bug for context. Done means the Fedora 25 instructions no longer lead users into the reported kernel-related failure and accurately reflect the available downgrade path.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora, linux
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.