Let's carefully step around the whole distraction that is systemd. Instead: > The real problem here is that it is impossible to diagnose or debug this situation. Simply to get this far I had to read the systemd source code (to find the code in timesyncd that printed this specific error message) and then search through 25,000 lines of strace output. And I still don't know what the problem is or how to fix it. This see…
> > The real problem here is that it is impossible to diagnose or debug this situation. Simply to get this far I had to read the systemd source code (to find the code in timesyncd that printed this specific error message) and then search through 25,000 lines of strace output. And I still don't know what the problem is or how to fix it. > This seems to be really common practice in modern software development, and it s…
This problem was, however, largely non-existent back when most of the init code was shell code. It was easy to trace, easy to debug.
(Edit: obviously, "easy" if you know sh and the idioms. They are, nonetheless, far easier than stracing stuff)
It certainly had a lot of other problems (hence systemd's popularity) but debugging was definitely not one of them.