On jueves, 15 de diciembre de 2016 09:48:55 ART Lisandro Damián Nicanor Pérez Meyer wrote: > Wait, I have just realized that in order to let mpd.service open both IPv4 > and IPv6 ports I *need* net.ipv6.bindv6only = 1 (I have settted it now > from /etc/ sysctl.d/bindv6only.conf)
From what I've read in the thread I mentioned before this means that mpd code must be opening one socket for IPv4 and another for IPv6. But this only happens if I set bind_to_address to "any" in /etc/mpd.conf. If I leave "localhost" then both ports open. Here's an mpd bug for sure. Tested with two machines, one a quite recent setup. > I also observe that mpd.socket will not open the IPv4 port no matter the > value of net.ipv6.bindv6only. Nor the value of BindIPv6Only in mpd.socket nor the value of bind_to_address in /etc/mpd.conf. Also tested in two machines. And my apologies for such many mails, but at least we have something to look at now. -- Quote me as saying I was mis-quoted. -- Groucho Marx Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.

