Posts tagged with: #linux

strace is your friend on Linux

2024-07-29

A few of my apps were taking an inordinate amount of time to launch (approximately 15 seconds). I was told I should prepend strace in the command-line that executes the app to see what was wrong.

(click for more)

I managed to restore my backed-up LXD/Incus containers!

2024-07-22

Until now I've never managed to do it. Every time LXD complained that the backup I'm trying to restore is configured in an incompatible way with our system. Different bridge interface name, static IP is out of range of this machine's network pool, and other such stuff. So I was ending up creating new LXD containers from scratch instead of restoring my backups, whenever I re-installed Linux on my laptop.

Not this time though. The backup was a tar.gz file, so I uncompressed it, edited its two configuration files in there (backup/index.yaml and backup/container/backup.yaml) to my liking, re-compressed, and managed to import it.

Incus rocks!