Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314463 - the "tcpdump" and "wireshark" groups should be merged into a "pcap" group
Summary: the "tcpdump" and "wireshark" groups should be merged into a "pcap" group
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: NeedPatch, PullRequest
Depends on:
Blocks: 701220
  Show dependency tree
 
Reported: 2010-04-10 06:24 UTC by Alexander E. Patrakov
Modified: 2020-10-24 10:00 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander E. Patrakov 2010-04-10 06:24:09 UTC
Both net-analyzer/wireshark-1.2.7 and net-analyzer/tcpdump-4.1.1 ebuilds offer to create a group that contains users who can capture network traffic. There should be one group for this purpose, not two.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-10 14:44:03 UTC
What would be its name?
Comment 2 Alexander E. Patrakov 2010-04-15 03:54:06 UTC
Since nobody else wants to suggest a better name, let's use "pcap" or something like that.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-17 15:02:29 UTC
Wouldn't this extend to all programs that make network interfaces run in promiscuous mode? In that case the group should probably be called "promiscuous".
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-25 04:00:02 UTC
(In reply to comment #2)
> Since nobody else wants to suggest a better name, let's use "pcap" or
> something like that.

pcap doesn't actually rely on promiscuous mode to work. In fact pcap_set_promisc() allows you to turn that on and off. And not every packages that uses the library also uses promiscuous mode.

(In reply to comment #3)
> Wouldn't this extend to all programs that make network interfaces run in
> promiscuous mode? In that case the group should probably be called
> "promiscuous".

Then again, that would put some users in a "promiscuous" group. :)
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2014-04-24 01:50:55 UTC
I'm not going to bikeshed on the name, I really couldn't care less.  I do love the idea though.
Comment 6 Larry the Git Cow gentoo-dev 2020-10-24 08:57:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=a07077573d0cd67a8b20b783fd439c56093471de

commit a07077573d0cd67a8b20b783fd439c56093471de
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 08:56:01 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 08:56:01 +0000

    uid-gid.txt: add uid/gid for tcpdump/wireshark
    
    Bug: https://bugs.gentoo.org/314463
    Signed-off-by: David Seifert <soap@gentoo.org>

 files/uid-gid.txt | 1 +
 1 file changed, 1 insertion(+)
Comment 7 Larry the Git Cow gentoo-dev 2020-10-24 10:00:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a0661fc8c35f383eda3c00a9b9ecb39d6817b6

commit d7a0661fc8c35f383eda3c00a9b9ecb39d6817b6
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 09:59:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 09:59:51 +0000

    net-analyzer/tcpdump: Port to GLEP 81 'pcap' group/user
    
    Closes: https://bugs.gentoo.org/314463
    Closes: https://github.com/gentoo/gentoo/pull/18015
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-analyzer/tcpdump/metadata.xml                  |  2 +-
 ...0.0_rc1.ebuild => tcpdump-4.10.0_rc1-r1.ebuild} | 32 +++++++++-------------
 ...cpdump-4.9.3.ebuild => tcpdump-4.9.3-r2.ebuild} | 32 +++++++++-------------
 ...ump-4.9.3-r1.ebuild => tcpdump-4.9.3-r3.ebuild} | 32 +++++++++-------------
 net-analyzer/tcpdump/tcpdump-9999.ebuild           | 32 +++++++++-------------
 5 files changed, 53 insertions(+), 77 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031e54a70563761a40798ebe3ac741cda5fed20e

commit 031e54a70563761a40798ebe3ac741cda5fed20e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 09:59:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 09:59:50 +0000

    net-analyzer/wireshark: Port to GLEP 81 'pcap' group
    
    Bug: https://bugs.gentoo.org/314463
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{wireshark-3.2.7.ebuild => wireshark-3.2.7-r1.ebuild}  | 14 +++++---------
 .../{wireshark-3.3.0.ebuild => wireshark-3.3.0-r1.ebuild}  | 14 +++++---------
 net-analyzer/wireshark/wireshark-99999999.ebuild           | 14 +++++---------
 profiles/package.mask                                      |  2 +-
 4 files changed, 16 insertions(+), 28 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a889f05a2992db1c97ef7c0e3788e3c265e092

commit 25a889f05a2992db1c97ef7c0e3788e3c265e092
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 09:59:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 09:59:48 +0000

    acct-user/pcap: Add user for capturing network traffic
    
    Bug: https://bugs.gentoo.org/314463
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 acct-user/pcap/metadata.xml  |  8 ++++++++
 acct-user/pcap/pcap-0.ebuild | 12 ++++++++++++
 2 files changed, 20 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4421915add5616130dcaf3536b521354cdf4b221

commit 4421915add5616130dcaf3536b521354cdf4b221
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 09:59:47 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 09:59:47 +0000

    acct-group/pcap: Add group for capturing network traffic
    
    Bug: https://bugs.gentoo.org/314463
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 acct-group/pcap/metadata.xml  | 8 ++++++++
 acct-group/pcap/pcap-0.ebuild | 9 +++++++++
 2 files changed, 17 insertions(+)