Three days ago, I received an email from DigitalOcean. They said that they were doing some maintenance and my VPS, the one that currently runs this website, will be rebooted soon. I didn’t pay much attention to that.
Today, I wanted to look at my website… and it didn’t open. The server didn’t even respond to
ping. Yes, yes, I should use a service that monitors my stuff, I know. Few people care about my website though :D
So I rebooted the server, went to the DigitalOcean VNC console, logged in… as a regular user that can’t
sudo. Becuase For Security™, my sudoer account does not have a password. Only authorized SSH keys. Fuck.
The actual problem? bsd-cloudinit didn’t work because a symlink in
/etc/rc.digitalocean.d was broken, and as a result, the network settings were not set.
I’d say that the actual actual problem is the use of
cloud-init stuff instead of, you know, DHCP/SLAAC.