• 0 Posts
  • 85 Comments
Joined 11 months ago
cake
Cake day: September 30th, 2025

help-circle


  • SteveTech@aussie.zonetoSelfhosted@lemmy.worldWhy homelab?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 days ago

    I can dig it…but surely the simple option is to have the PC wake up on power restoration, right?

    After the PC shuts down, the UPS runtime will increase by a lot. So the power might come back before the UPS turns off, so as far as the PC can see, the power was never lost.

    Edit: Also I assumed you meant restore on after AC loss, and not the last state.










  • Do not worry about emulated block size, because ssds only use that to report to the filesystem, no sectors exist on solid state media.

    Well SSDs have flash pages, which are essentially sectors as they are the smallest unit you can read/write, and they’re usually 4096 bytes on NAND flash. My understanding is to write to a flash page you have to erase the whole block of 32+ pages before writing, so if a 512e SSD doesn’t receive the rest of the page in time (e.g. with IO scheduling, 512 byte fs sectors, unaligned partitions, or bad luck), then the controller has to do a read-erase-program across the whole block of pages (although wear leveling will probably read + copy the modified page to elsewhere instead), instead of just a single program operation on one page (assuming a properly trimmed SSD).

    So IMO, 4Kn is more important on SSDs, yet every vendor sets 512e by default. Luckily quite a few NVMe SSDs (not Samsung), let you change the logical block size with an nvme format command.

    But more related to the OP, HDDs are a lot slower and don’t have to erase multiple sectors before a write, so it’s not as important, however partition alignment is still important but usually handled automatically in every modern partitioning tool. Sometimes you can switch a HDD to 4Kn with hdparm, but this isn’t common, and you’ve said your HDD is dead anyway, so it won’t help.

    Also, sorry about bringing you into this, I have strong opinions against 512e SSDs haha.





  • Also, a backdoor in this particular program can steal your PGP keys.

    Now you can make that decision. Evolution is also available from the Debian and Arch (and others) repos without sandboxing, if you’d prefer it to have access your whole system.

    You can also remove those permissions with the Flatpak cli, or Flatseal.

    It’s in no way like Android where “OpenKeychain” were forced to define a protocol and now reading a key prompts the user.

    I don’t see why this couldn’t be done with Secret Service, just no one does so no one expects it. You should email one of the mailing lists for GnuPG if this bothers you though.

    Oh, and one of the few dozen local privilege escalations found by AI in the mountains of trash of our great kernel completely negate all of this.

    Well yeah, sandboxing/containers/namespaces were never guaranteed to be fully isolated, there’s a reason all the cloud companies settled on VMs over containers. It’s just one line of defence that you otherwise wouldn’t have.