Bug 834654

Summary: Wireshark searches for dumpcap, etc in PATH which may not contain sbin.
Product: [Fedora] Fedora Reporter: Philippe Troin <phil>
Component: wiresharkAssignee: Jan Safranek <jsafrane>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: huzaifas, jsafrane, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-25 15:36:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Philippe Troin 2012-06-22 16:53:01 UTC
Description of problem:
Upon starting wireshark as a regular user (belonging to the wireshark group), wireshark does not work.

A dialog saying:

Couldn't run /usr/bin/dumpcap in child process: No such file or directory

And then no capture is possible.

Version-Release number of selected component (if applicable):
wireshark-1.6.8-1.fc17

How reproducible:
Always

Steps to Reproduce:
1. Run wireshark
  
Actual results:
The dumpcap dialog appears
Live capture is impossible

Expected results:
No error messages.
Live capture should be possible

Additional info:
It looks like adding /usr/sbin to one's PATH makes wireshark happy.

Comment 1 Jan Safranek 2012-06-25 13:26:16 UTC
/usr/sbin has been in default PATH of all users for quite long time, see /etc/profile. What shell do you use?

Comment 2 Philippe Troin 2012-06-25 15:36:05 UTC
I'm using zsh but with heavy customizations.
I wasn't aware that sbin is now in the default path.

Sorry for the noise.