Damus
Stefano Marinelli profile picture
Stefano Marinelli
@Stefano Marinelli

BSD.cafe and illumos Cafe "Barista", Founder and System Administrator, Unix enthusiast ( #FreeBSD, #OpenBSD, #NetBSD, #DragonflyBSD, #Illumos and #Linux ), with a keen eye for everything happening in this world and the fascinating beings that populate it. I enjoy #music, #photography, and, of course, #technology.

Most of my posts will self-destruct after 6 months.

"I Solve Problems" - https://it-notes.dragas.net/2024/10/03/i-solve-problems-eurobsdcon/

Relays (1)
  • wss://relay.ditto.pub – read & write

Recent Notes

O Tristão · 1d
Mama mia senhor
O Tristão · 1d
Homemade right (dumb question)
Stefano Marinelli profile picture
Today, I received two emails from two different customers. Both use Zimbra, hosted on one of our servers, and both wrote to thank us.

They pointed out that in ten years of hosting (both have been with us since that server was first set up), they've experienced only a few minutes of downtime. Always during weekends or at night, strictly for maintenance and updates. In fact, they never even noticed.

They also mentioned that many of their contacts, who are rather desperate today, will probably be getting in touch with us over the next few weeks.

Thank you, Microsoft. Today, you've given me the best advertising I could possibly ask for. And you did it for free.

#Microsoft #AvoidMonoculture #Decentralization
1
Marcin Lis · 3d
https://primal.net/e/nevent1qqsf9kg32yq7qxcd0c5jqujuznsgm9dkpxk20pfza0pkccefwrruqlsnf3dle 🤣🤣🤣
Stefano Marinelli profile picture
It's Friday, Microsoft is having trouble, and I'm curious to see how many emails I'll receive today and how many of them will actually follow the usual pattern.

In other words, I'm curious to see what impact the Copilot outage will have on people's communication skills.
Stefano Marinelli profile picture
I've always appreciated the simplicity of the BSDs. Power, yes, but without unnecessary complexity.

BastilleBSD and vm-bhyve have been my trusted companions for many years. But whenever I used Linux, I missed them.

That's why, years ago, I started putting together a collection of shell scripts (and some Python, although to a much lesser extent) to create something somewhere in between.

A bit of Bastille, a bit of vm-bhyve, a bit of Proxmox: unprivileged Linux system containers and virtual machines, managed from the command line.

Live backups. And live restore: bringing a workload back online before all its data has finished copying from the backup. Multiple storage backends. Encryption at the storage or individual workload level. Different networks. Isolation of each workload (a bit like illumos zones), with additional layers of protection.

Each container has its own UID/GID mapping. VMs run under separate unprivileged identities, with namespaces, seccomp and resource limits adding further layers of protection.

Pull-based backups from external hosts, with different levels and types of encryption. With raw encrypted ZFS replication, the backup server doesn’t even need the decryption keys. Backups are pulled over SSH by an external server. The workload host holds no credentials to log in to that server.

It also runs on a 1 GB Orange Pi PC 2, where I’ve tested both containers and native ARM64 KVM guests. And on a Orange PI One, armv7 and 512MB, it can run some lxc containers without problems, from the SD, using f2fs.

Simple disaster recovery. Because after those 142 servers went up in flames in Strasbourg, disaster recovery became something I care a lot about.

Currently supported and tested on Alpine Linux, Debian 13 and Armbian. On Debian, LXC containers also run under enforcing AppArmor profiles, adding another layer of protection.

Few commands. Lots of power. And it's called "Jail It!"

I'm not going to release it, at least not for now. I need to focus on my other projects, and Jail It! still needs some cleaning up.

But it works. And it does its job very well.

For containers, there's absolutely nothing running in the background. For VMs, just a small Python helper. No continuously running services. You connect via SSH, run your commands, and that's it.

Still, for anyone curious enough to have a look, I've put together a short demo on Asciinema:

https://asciinema.org/a/BbwGs99U9UJDLAzZ

Well, "short" might be a bit of an exaggeration. It's quite long, but I think it's worth watching all the way to the end.

#Linux #LXC #KVM #FreeBSD #Virtualization #OwnYourData #BSD #SelfHosting #Homelab #SysAdmin #DisasterRecovery