Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471874 - net-analyzer/wireshark-1.8.7 - enewgroup should be run before merge phase
Summary: net-analyzer/wireshark-1.8.7 - enewgroup should be run before merge phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 05:14 UTC by thetuber
Modified: 2013-05-31 13:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from "emerge --info". (emerge.info,16.21 KB, application/x-info)
2013-05-31 05:15 UTC, thetuber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thetuber 2013-05-31 05:14:43 UTC
When I install wireshark, and the group wireshark does not exist, there are permission problems that prevent non-root users from running wireshark (even users in the wireshark group can't run it). The error in wireshark is:

No interface can be used for capturing in this system with the current configuration.
(Couldn't run /usr/bin/dumpcap in child process: Permission denied)

The permissions on /usr/bin/dumpcap are:

-rwxr-x--- 1 root root 80K May 30 21:29 /usr/bin/dumpcap*

Even if I change the group to wireshark, it doesn't work. I get just the message:

No interface can be used for capturing in this system with the current configuration.

Now if I unmerge wireshark, leave the wireshark group in /etc/group, then emerge wireshark again, everything works. The permissions on /usr/bin/dumpcap are also correct.


Reproducible: Always

Steps to Reproduce:
1. Ensure that the wireshark group does not exist.
2. emerge wireshark.
3. Run wireshark as non-root user in the wireshark group. Will not be able to capture packets.

Actual Results:  
Unable to capture packets with the error message:

No interface can be used for capturing in this system with the current configuration.

(Couldn't run /usr/bin/dumpcap in child process: Permission denied)


Expected Results:  
Should be able to capture packets.
Comment 1 thetuber 2013-05-31 05:15:40 UTC
Created attachment 349704 [details]
Output from "emerge --info".
Comment 2 Iván Atienza 2013-05-31 13:06:01 UTC
Exact same problem here but in net-analyzer/wireshark-1.10.0_rc2, also reinstall solves it.

Salud.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-31 13:59:30 UTC
Fixed in 1.6.15, 1.8.7 and 1.10.0_rc2. Thank for the report!