I still don't get why this is. 99% of web search says it's to do with host lookup and adding the hostname to /etc/hosts fixes it. This doesn't seem to do anything for me.
The remaining 1% says to just strace the bastard.
Which I'd love to, but: only the first sudo invocation is slow, the rest is fast (so some sort of cache is likely in play).
But I need to run sudo to strace the sudo (I think?) and so the second invocation will just work no probs.
Add comment