Frood, an Alpine Initramfs NAS (2024)

(words.filippo.io)

39 points | by ethanpil 9 hours ago ago

11 comments

  • yjftsjthsd-h 9 hours ago ago

    If you already have a ZFS pool, I'd probably personally just throw on zfsbootmenu and a ZFS-root Alpine install. But, this is cooler and does have advantages:)

    • FiloSottile 8 hours ago ago

      TIL about ZFSBootMenu! Still, the whole frood system is significantly less complex than ZFSBootMenu alone.

    • sunshine-o 9 hours ago ago

      ZFSBootMenu and Alpine are a beautiful match.

  • moondev 4 hours ago ago
  • cassianoleal 9 hours ago ago

    > root/etc/ssh/ssh_host_ed25519_key and root/etc/ssh/ssh_host_ed25519_key.pub and root/root/.ssh/authorized_keys for obvious reasons.

    What are the _obvious_ reasons for the NAS root to have an SSH key?

    • yjftsjthsd-h 9 hours ago ago

      To log in and administer it? There's even an example; search for "extlinux --once". (There are other options, like a web UI or non-root SSH, but that's the obvious thing. Also if you want to advocate non-root I'm going to want to hear a threat model.)

      • cassianoleal 8 hours ago ago

        You don't need a private key on the host for that, only your public key in authorized_keys.

        Edit: Oh boy I should have paid more attention. Those are the host keys. :facepalm:

  • MuffinFlavored 4 hours ago ago

    I'd like the see the author achieve the same setup but with Nix

    • sudobash1 2 hours ago ago

      Unlikely to happen (with the author anyway). From TFA:

      > Importantly to me, it’s not defined in some complex DSL

  • seemaze 9 hours ago ago