To race the mount

This is one of those frustrating debug stories that makes you pull your hair out until you suddenly figure it out. The relief you feel afterwards is one of the reasons I love programming so much. We were running an internal implementation of a syslog server in Go, receiving the logs of a bunch of machines in the same datacenter (i.e. internal network). That server was setup to run on boot, receive the logs on UDP port 514, do a bunch of things with them and eventually writing them down into /var/log/foo. Nothing complicated nor extraordinary. ...

20 November 2024 · 1204 words