Combined: Restore From Backup, Exactly as It Was
A bad deploy wrecked /opt/ledgerd. The nightly backups are in /srv/backups, each with a checksum list (.sha256) written next to it. The application runs as sofia and is picky: its data must belong to sofia with the modes it had.
/opt/ledgerd from the most recent backup, so it is exactly what was backed up: same files, owners and modes, and nothing left over from the bad deploy.cd / && sha256sum -c with that backup's checksum list reports every file as OK.About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Part of Linux Incidents, Two Faults at a Time. Next step: Combined: A Report From a Messy Export
Teaching or writing about this? Embed this lab on your page
Your machine is ready to start
A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.
No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.