Profile cover photo
Profile photo
Stefan Agner
About
Posts

Post has attachment
+Khem Raj talking about Embedded Linux on RISC-V! Looking good :-)
Photo
Add a comment...

Post has shared content
Australia: where people can read
Photo
Add a comment...

Post has shared content
"[…] Following is a description of the motivation and work behind "curt," a new tool for Linux systems for measuring and breaking down system utilization by process, by task, and by CPU using the perf command's Python scripting capabilities. […]"
Add a comment...

Post has attachment

Thanks +Marcel Ziswiler​!
Add a comment...

Post has attachment
About to enter 2018 with good beer :-) #opticalexperiments
Photo
Add a comment...

Post has attachment
My between Christmas And New Year project: Apalis iMX8 bring-up featuring the i.MX 8QuadMax SoC. I really like the Freescale logo revival :-) #NXP #Freescale #iMX8QM
Photo
Add a comment...

Post has attachment
Just learned that mDNS & IPv6 is basically broken on Linux

https://sourceware.org/bugzilla/show_bug.cgi?id=14413#c5

tl;dr
ssh -6 yourhost.local often errors with "ssh: connect to host yourhost.local port 22: Invalid argument". The reason is that mDNS might resolve a link local IPv6 address, which needs a scope id to be used... (and ssh does not get scope from getaddressinfo() because nsswitch cannot pass it to glibc/and ssh does not allow to provide it via argument).

Note there is nothing particular with ssh, any networking program is affected... However, some, e.g. ping, allow to specify the interface (e.g. ping -I eth0 yourhost.local).



The funny thing is, using mDNS names reliably works for me when connecting to a Debian based system. However, that system uses Avahi to publish mDNS records and it seems that Avahi does not publish link-local addresses (at least as long as a global address is available):
https://github.com/lathiat/avahi/blob/master/avahi-core/iface.c#L699

So connecting to a mDNS host using Avahi reliably works in my network because it only publishes addresses with global scope.

However, on the hosts which shows the issue I use systemd-resolved, which does publish link-local IPv6 addresses... And this seems to be what the standard wants:
https://tools.ietf.org/html/rfc6762#section-6.2

So its really glibc nsswitch which needs to get fixed!
Add a comment...

Post has attachment
Add a comment...

Post has attachment
+Christopher Friedt​ seems to be a common issue, just happened this morning here too
Photo
Add a comment...
Wait while more posts are being loaded