This website requires JavaScript.
Explore
Help
Sign in
jcgruenhage
/
void-packages
Watch
1
Star
0
Fork
You've already forked void-packages
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
276b45da9d
void-packages
/
srcpkgs
/
mtr
/
INSTALL
6 lines
77 B
Text
Raw
Normal View
History
Unescape
Escape
mtr: update to 0.87. Switch to capabilities instead of setuid.
2016-08-08 21:38:38 +00:00
case "${ACTION}" in
post)
mtr: setcap on the correct binary (mtr-packet) From version 0.88 mtr sends probes from a subprocess "mtr-packet", so that's what needs the privileged capabilities. Also, link with libcap which lets mtr-packet drop its privileges when they're no longer needed.
2017-06-09 22:35:47 +00:00
setcap CAP_NET_RAW+ep usr/bin/mtr-packet
mtr: update to 0.87. Switch to capabilities instead of setuid.
2016-08-08 21:38:38 +00:00
;;
esac
Reference in a new issue
Copy permalink