Ping sends a message to stderr during normal operation which seems unnecessary, and breaks at least the nagios ping plugin. The message in question is "capability mode sandbox enabled", and while interesting, does not seem informative enough to be part of the output of every invocation of ping. $ ping www.google.com capability mode sandbox enabled PING www.google.com (74.125.28.104): 56 data bytes 64 bytes from 74.125.28.104: icmp_seq=0 ttl=46 time=19.387 ms ... In order to fix nagios on -CURRENT, I had to comment out the line that prints this debugging message.
These messages aren't useful and should be removed. If they exist at all they should go to syslog at INFO or DEBUG. I've submitted a review request to remove them. https://reviews.freebsd.org/D2440
A commit references this bug: Author: brooks Date: Mon May 4 21:44:52 UTC 2015 New revision: 282436 URL: https://svnweb.freebsd.org/changeset/base/282436 Log: Remove "capability mode sandbox enabled" messages. These messages serve little purpose and break some consumers. PR: 199855 Differential Revision: https://reviews.freebsd.org/D2440 Reviewed by: rwatson Approved by: pjd MFC after: 1 week Sponsored by: DARPA, AFRL Changes: head/contrib/tcpdump/tcpdump.c head/sbin/ping/ping.c head/usr.bin/kdump/kdump.c
correct flag values.
Fixed! Thanks!
A commit references this bug: Author: brooks Date: Tue May 19 19:01:53 UTC 2015 New revision: 283122 URL: https://svnweb.freebsd.org/changeset/base/283122 Log: MFC r282436 (the portion that makes sense): Remove "capability mode sandbox enabled" messages. These messages serve little purpose and break some consumers. PR: 199855 Differential Revision: https://reviews.freebsd.org/D2440 Reviewed by: rwatson Approved by: pjd Sponsored by: DARPA, AFRL Changes: _U stable/10/ stable/10/contrib/tcpdump/tcpdump.c