Opened 5 years ago
Closed 2 years ago
#58536 closed enhancement (fixed)
Change wireshark-chmodbpf to not use a constantly-running daemondo process.
Reported by: | ghosthound | Owned by: | ra1nb0w |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | wireshark-chmodbpf |
Description
As is, wireshark-chmodbpf uses daemondo to run a one-time shell script at startup, leaving the daemondo process running after that. See if we can do this another way so that we don't have the always-running daemondo process.
Change History (5)
comment:1 Changed 5 years ago by ghosthound
Owner: | set to ra1nb0w |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by ra1nb0w
comment:3 Changed 5 years ago by ghosthound
Re: the permissions on the /dev/bpf* files - I'm quite clear that wireshark only needs read permissions and adding write permission opens up the possibility of spoofing, something people may not want to allow. If there are other ports that want to add write permissions, they should do so themselves. Since I am a maintainer of the wireshark-chmodbpf port I didn't worry about discussing it with anyone else.
comment:4 Changed 5 years ago by ra1nb0w
There are two maintainers (I am the other one) therefore...
And if this is your reasoning probably you can fix the problem alone ;-)
comment:5 Changed 2 years ago by ra1nb0w
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I re-read the source code of
daemondo
and the use ofstartupitem.start
andstartupitem.stop
seems not working as we would like; therefore the only way is to create the plist manually (as I did in the first version just before discovery the macports way). Have you other suggestions?Anyway, see this question https://github.com/macports/macports-ports/commit/c17993addb0c2428d89f821254f951ea4a193a20#diff-a1f0a08853c3c5eedd3f4bf41a0c4303 and next time you should discuss the change with the maintainer.