Description of problem:
Please move wireshark from /usr/sbin to /usr/bin.
I think Wireshark is mostly used to open and read pcap files. It doesn't require root privileges for this!
(In reply to Andreas Schneider from comment #0)
> Description of problem:
> Please move wireshark from /usr/sbin to /usr/bin.
> I think Wireshark is mostly used to open and read pcap files. It doesn't
> require root privileges for this!
It's certainly not :)
For example I'm using it for making dumps more often that tshark or tcpdump. Btw tcpdump cannot select between available network interfaces (while tshark can).
Still even if it requires root provileges, there is no point to store anything in /sbin-directories anymore. It was put there just because, due to following rules from our historical UN*X heritage.
So bottom line - I also believe we should move it to /usr/bin.
*** Bug 1380537 has been marked as a duplicate of this bug. ***
(In reply to Peter Lemenkov from comment #1)
> (In reply to Andreas Schneider from comment #0)
> > Description of problem:
> > Please move wireshark from /usr/sbin to /usr/bin.
> > I think Wireshark is mostly used to open and read pcap files. It doesn't
> > require root privileges for this!
> It's certainly not :)
Do you want to move all executables produced by wireshark package into /usr/bin or just wireshark?
$ rpm -ql wireshark-cli | grep sbin
I would move all of them to /usr/bin
(In reply to Martin Sehnoutka from comment #3)
(In reply to Andreas Schneider from comment #4)
> I would move all of them to /usr/bin
Created attachment 1226344 [details]
Proposed spec file change
Created attachment 1226345 [details]
proposed spec file
I pushed the new spec file into git and made a new build.
version with the change: wireshark-2.2.2-3.fc26
The patch broke updates on Fedora Rawhide, the cause is a call to update-alternatives which expects the path to be `/usr/sbin/wireshark`.
Related rhbz: #1400654
We came up with two possible solutions: Either remove all symlinks under name wireshark and then create a new symlink pointing to /usr/bin/ or create a new group with called for instance `wireshark-gui` which will be preferred over sbin because of the order in $PATH variable.
update-alternatives --install /usr/bin/wireshark wireshark-gui
Do you have any comment related to this issue?
# rpm -q wireshark-qt
Problem with desktop file from this rpm:
# grep Exec /usr/share/applications/wireshark.desktop
-bash: /usr/sbin/wireshark: No such file or directory