Bug 2270096 - Utility ksgrd_network_helper missing CAP_NET_RAW capability
Summary: Utility ksgrd_network_helper missing CAP_NET_RAW capability
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libksysguard
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-18 13:22 UTC by Yaroslav Sidlovsky
Modified: 2024-11-30 05:23 UTC (History)
5 users (show)

Fixed In Version: libksysguard-6.2.3-2.fc42 libksysguard-6.2.4-1.fc41 libksysguard-6.2.4-1.fc40
Clone Of:
Environment:
Last Closed: 2024-11-18 16:23:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Yaroslav Sidlovsky 2024-03-18 13:22:35 UTC
Warning in the console when starting `plasma-systemmonitor`:
```
org.kde.ksysguard.plugin.network: Helper process terminated abnormally: "The process doesn't have permission to open the capture source"
```

Reproducible: Always

Steps to Reproduce:
1. Run `plasma-systemmonitor`
Actual Results:  
No network stats has been shown.

Expected Results:  
Network stats should be shown.

This could be fixed with `sudo setcap cap_net_raw=ep /usr/libexec/ksysguard/ksgrd_network_helper`.

Comment 1 Yaroslav Sidlovsky 2024-03-18 13:23:58 UTC
Similar old bug: https://bugzilla.redhat.com/show_bug.cgi?id=2020138

Comment 2 Yaroslav Sidlovsky 2024-04-01 09:57:45 UTC
Still not fixed in libksysguard-6.0.3-1.fc40.x86_64:
```
org.kde.ksysguard.plugin.network: Helper process terminated abnormally: "The process doesn't have permission to open the capture source"
```

Comment 3 Thomas Duckworth 2024-05-27 12:08:02 UTC
This would also be fixed in the specfile by adding:
`%caps(cap_net_raw=pe) %{_libexecdir}/ksysguard/ksgrd_network_helper`

Comment 4 Fedora Update System 2024-11-18 14:46:44 UTC
FEDORA-2024-db2f674f3c (libksysguard-6.2.3-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-db2f674f3c

Comment 5 Fedora Update System 2024-11-18 16:23:27 UTC
FEDORA-2024-db2f674f3c (libksysguard-6.2.3-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-11-19 17:46:03 UTC
FEDORA-2024-793e215b21 (libksysguard-6.2.3-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-793e215b21

Comment 7 Fedora Update System 2024-11-19 17:46:04 UTC
FEDORA-2024-fa8799b70d (libksysguard-6.2.3-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-fa8799b70d

Comment 8 Fedora Update System 2024-11-20 15:45:53 UTC
FEDORA-2024-fa8799b70d has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-fa8799b70d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-fa8799b70d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-11-20 17:13:15 UTC
FEDORA-2024-793e215b21 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-793e215b21`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-793e215b21

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-11-28 03:21:54 UTC
FEDORA-2024-b71b5efeb3 (bluedevil-6.2.4-1.fc41, breeze-gtk-6.2.4-1.fc41, and 66 more) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-11-29 04:04:53 UTC
FEDORA-2024-5bf38decf4 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5bf38decf4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5bf38decf4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-11-30 05:23:37 UTC
FEDORA-2024-5bf38decf4 (bluedevil-6.2.4-1.fc40, breeze-gtk-6.2.4-1.fc40, and 66 more) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.