Created attachment 161940 [details]
truss -o truss-tmux tmux
In reference to http://docs.freebsd.org/cgi/getmsg.cgi?fetch=203867+0+archive/2015/freebsd-questions/20151011.freebsd-questions and the follow up answers it seems that it is not possible to start tmux on a IPv6-only system.
I attached `truss tmux`. The import line is
> socket(PF_INET,SOCK_DGRAM,0) ERR#43 'Protocol not supported'
After adding an IPv4 to the jail where I tried to start tmux, the problem was resolved. Nevertheless, imho, it should be possible to start tmux on an IPv6-only system.
Is this a FreeBSD specific problem ? If not, please open a problem report upstream.
Openned an issue upstream.
(In reply to Mathieu Arnold from comment #2)
Thank you for opening a report upstream.
I was not sure whether it's FreeBSD specific. In the mailing list, someone said the fact that I built the package on a machine that has both IPv4 and IPv6 might have caused the problem.
(In reply to Niklaas Baudet von Gersdorff from comment #3)
> I was not sure whether it's FreeBSD specific. In the mailing list, someone
> said the fact that I built the package on a machine that has both IPv4 and
> IPv6 might have caused the problem.
No, it builds fine without any ip at all.
I tried with jails that have neither v4 nor v6, and if there is no v4, it fails to run. (v6 being there or not does not matter at all.)
A commit references this bug:
Date: Wed Oct 14 13:55:07 UTC 2015
New revision: 399264
Fix tmux not starting on an IPv6 only system.
Note that tmux will still not work if you have neither v4 nor v6.
Obtained from: https://github.com/tmux/tmux/issues/139
Sponsored by: Absolight