• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: July 20th, 2023

help-circle
  • ambitiousslab@lemmy.mltoSelfhosted@lemmy.worldTesting vs Prod
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 days ago

    For services only I depend on, I have production-only. Since I can only inflict damage on myself, and can often work around problems.

    For the XMPP server my friends and family also depend on, I have a dedicated nonprod VPS. My services are driven by ansible playbooks, so I’ll tweak the playbook with whatever change I want to make works in nonprod, before running the same playbook against prod.

    Whenever there’s a new Debian Stable release, I’ll rebuild the servers completely, to try and prevent “drift” between the nonprod and prod versions (not that I change things often enough for this to become a big problem). This is also the big test of my backups, which so far haven’t been needed in a “real” emergency 🤞


  • Distributions handle this for you. Installing your software through a distro, instead of getting it from each individual software authour, means that you trust one organisation instead of hundreds of individuals.

    For instance, Debian has a strict set of guidelines for Debian developers (who have the right to upload packages). They will be familiar with the software they are packaging, are often independent from the upstream authours, and are expected to check the package for various issues, including licensing, security, version incompatibilities etc. In addition, every upload is signed, so you can see who is responsible for everything.

    And when something slips through, as almost happened with xz, the analysis and recovery all happens completely in the open. There may not have been enough eyes on xz to prevent the vulnerability in the first place, but once it was discovered, there were at at least hundreds of people dealing with the aftermath, all in the open.

    Compare this with proprietary software, where you’d be lucky if such a vulnerability was even disclosed, vs just silently patched.