Bug 248000 - net/mtr: Failure to start mtr-packet
Summary: net/mtr: Failure to start mtr-packet
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 13:46 UTC by Cristian Cardoso
Modified: 2020-10-04 14:33 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Cardoso 2020-07-15 13:46:36 UTC
When trying to run a mtr on FreeBSD, this error always occurs:
Error decoding localhost address
mtr: Failure to start mtr-packet: Invalid argument

This occurs with the mtr-0.93_1 package and the mtr-nox11-0.93_1 package

SO version: 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64
Comment 1 Sunpoet Po-Chuan Hsieh freebsd_committer 2020-07-30 10:37:50 UTC
The same problem was reported in bug #243121 and fixed in mtr 0.93_1.

I have no idea what happened on your box.
Could you give more information about your configuration?

And please confirm:
- /usr/local/sbin/mtr-packet has setuid bit
- You do not have an old installation with outdated binaries.

% ls -la /usr/local/sbin/mtr-packet
-r-sr-xr-x  1 root  wheel  39920 Jul 27 23:18 /usr/local/sbin/mtr-packet*
Comment 2 Cristian Cardoso 2020-08-05 19:44:52 UTC
(In reply to Sunpoet Po-Chuan Hsieh from comment #1)
After updating or freebsd moved to run mtr
The settings were as you mentioned.

Installing a system from a FreeBSD 12.1 ISO a few months ago.
Comment 3 Sunpoet Po-Chuan Hsieh freebsd_committer 2020-10-04 14:33:55 UTC
Please confirm if the problem still exists in mtr 0.94.