• The Stoned Hacker@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 hours ago

          It’s not that difficult to get SELinux working with podman quadlets, especially if you run things rootless. I have a kerberized service account for each application I host and my quadlets are configured to run under those. I very rarely encounter applications that simoky can’t be run rootless but I usually can find an adequate alternative. I think right now the only thing that runs as root is one of the talk or collabora containers in my nextcloud stack. No selinux issues either.

          • epicshepich@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 hours ago

            I use podman-compose with system accounts and I don’t have a ton of issues. The biggest one is that I can’t seem to get bluetooth and pip working on Home Assistant at the same time. Most of the servers I manage have SELinux and it works fine as long as I use :z/:Z with bind mounts.

            A few years ago, I set up a VPS for my friend’s business; at the time, I didn’t know how to work with SELinux so I just turned it off. I tried to flip it back on, and it somehow bricked the system. We had to restore from a backup. Since then, I’ve been afraid to enable it on my flagship homelab server.

            • WhyJiffie@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 hours ago

              are you sure it really bricked it? when turning it on, on next boot it needs to go over all the files and retag them or something like that, and it can take a significant amount of time

              • epicshepich@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                9 hours ago

                Honestly, I don’t know what happened, but it was unreachable via SSH and the web console. There shouldn’t have been a ton of files to tag since it was an Almalinux system that started with SELinux enabled, and all we added was a container app or two.

        • Caveman@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          ·
          9 hours ago

          I set my homelab up on Bazzite immutable with podman and SELinux. It took a while to work everything out and have it boot up into a valid state hahaha

              • epicshepich@programming.dev
                link
                fedilink
                English
                arrow-up
                1
                ·
                6 hours ago

                I honestly don’t know a ton about immutable distros other than that they let you front-load some difficulty in getting things set up in exchange for making it harder to break. I was just surprised that the distro of choice was Bazzite, since its target audience seems to be gamers.

  • FauxLiving@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    13 hours ago

    The comments in this thread have collectively created thousands of person-hours worth of work for us all…

  • Akatsuki Levi@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    14 hours ago

    Do you have a spinning fish display in front of your homelab server, right? We all know the spinning fish improves performance and security, it is a indispensable part of homelabbing

  • Admax@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    16 hours ago

    Then it turns out your monitoring system failed and FUCK IT’S BEEN A MONTH SINCE THE LAST PROPER BACKUP

    • wizardbeard@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      12 hours ago

      Hearbeat notifications man. “Yes I am online” email once a day or so. Yeah it’s more emails to delete but it can be a lifesaver.

      • Admax@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 hours ago

        Oh but I have them !
        Every day an email is sent out with the backup status.
        Every day I got my email in the morning with the back up logs.
        For years.
        I associated email received to backup successful, until a month or so when my vpn broke and the emails where just “could not connect”, but it took me a while to bother actually opening the message body as it had always been the same for years.

        So I’ll manage it differently, have the email subject be more explicit about a success or a failure amongst other things.
        Always learning :^)

        • jeffep@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 hours ago

          Couple it to your smart watch, backup every 10 seconds, and make it vibrate when successful

          • WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 hours ago

            you are just making yourself learn to ignore that your smartwatch vibrates. It’s a bit like breathing and blinking, you are so used to it you can completely forget that its happening. if your smartwatch, or phone, or whatever, starts vibrating all the time, you will get used to it and not notice when it stops happening anymore, but also it will hide any actually meaningful notification.

  • beegnyoshi@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    15 hours ago

    I haven’t messed with my raspberry pi in maybe a month… And I think one of my backups got corrupted because I receive an email saying that it failed along with tons of errors every night. Hmm, maybe I should get to that soon…

  • jeffep@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    9 hours ago

    Can’t believe nobody here mentioned nixOS so far? How about moving all of your configs in a flake and manage all of your systems with it?

    • yabbadabaddon@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      I already have Ansible to manage my system and I like to have the same base between my pc and my server build muscle memory.

      If I was managing a pc fleet I would consider NixOS, but I don’t see the appeal right now.

      • jeffep@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        Okay, but why not create more work for yourself by rebuilding everything from scratch?

    • FauxLiving@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      9 hours ago

      I made a git repo and started putting all of my dot files in a Stow and then I forgot why I was doing it in the first place.

      • tal@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        So that when setting up a new system, you can migrate all your user configuration easily, while also version-controlling it.

        • FauxLiving@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          8 hours ago
          git commit --message 'So that when setting up a new system, you can migrate all your user configuration easily, while also version-controlling it.'
          
  • fleem@piefed.zeromedia.vip
    link
    fedilink
    English
    arrow-up
    8
    ·
    9 hours ago

    heck i really wish we could all throw a party together. part swap, stories swap. show off cool shit for everyone to copy.

    help each other fill in the missing pieces

    y’all seem like cool peeps meme-ing about shit nobody else gets!

    time to test the backups!

  • tomiant@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 hours ago

    Man I always get sad when I see this meme format because the story behind it is so fucking tragic… :(

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      8 hours ago

      At 71, I have to document. I started a long time ago. I worked for a mec. contractor long ago, and the rule was: ‘If you didn’t write it down, it didn’t happen.’ That just carried over to everything I do.

        • irmadlad@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 hours ago

          As in a blog or wiki? I do not because I am not authoritative. What I know came from reading, doing, screwing it up, ad nauseam. When something finally clicks for me, I write it down because 9 times out of 10, I will need that info later. But my writing would be so full of inaccuracies that it would be embarrassing and possibly lead someone astray.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    OP, totally understand, but this is a level of success with your homelab. Nothing needs fiddling with. Now, there is a whole Awesome Self Hosted list you could deploy on a non-production server and run that through the paces.