data1701d (He/Him)

“Life forms. You precious little lifeforms. You tiny little lifeforms. Where are you?”

- Lt. Cmdr Data, Star Trek: Generations

  • 72 Posts
  • 515 Comments
Joined 11 months ago
cake
Cake day: March 7th, 2024

help-circle

  • (Note: Anything I say could be B.S. I could be completely misunderstanding this.)

    Clevis isn’t too difficult to set up - Arch Wiki documents the process really well. I’ve found it works better with dracut that mkinitcpio.

    As for PCR registers (which I haven’t set up yet but should), what I can tell, it sets the hash of the boot partition and UEFI settings in the TPM PCR register so it can check for tampering on the unencrypted boot partition and refuse to give the decryption keys if it does. That way, someone can’t doctor your boot partition and say, put the keys on a flash drive - I think they’d have to totally lobotomize your machine’s hardware to do it, which only someone who has both stolen your device and has the means/budget to do that would do.

    You do need to make sure these registers are updated every kernel update, or else you’ll have to manually enter the LUKS password the next boot and update it then. I’m wondering if there’s a hook I can set up where every time the boot partition is updated, it updates PCR registers.









  • I don’t do it for my desktop because 1) I highly doubt my desktop would get stolen. 2) I installed Linux before I was aware of encryption, and don’t have any desire to do a reinstall on my desktop at this time.

    For my laptop, yes, I do (with exception of the boot partition), since it would be trivial to steal and this is a more recent install. I use clevis to auto-unlock the drive by getting keys from the TPM. I need to better protect myself against evil maids, though - luckily according to the Arch Wiki Clevis supports PCR registers.


  • I wouldn’t necessarily say that - Debian and FreeBSD releases have roughly the same support lifespan, meaning if installed on release day, you’d get a few (~5 years) years of support without major upgrades.

    I’d say both systems have a high chance of success at upgrading to the immediate next version, so that becomes maybe 7 or 8 years when adding the years of support left on the now older immediate next version.

    For a second immediate next upgrade, you might be right that a BSD has a better chance of surviving.

    I wouldn’t know about Open SD, though, as they operate on point releases and I don’t know to what extent they prevent breaking changes.







  • TLDR: The Commission probably wouldn’t like it, and the Federation even more so. Even so, there are practical hurtles such as genetic diversity and whether medical knowledge of symbionts is advanced enough to keep a large population healthy and happy.

    For one, a fundamental tenet of the ideology of the commission is to protect the well-being of the symbionts, sentient beings, from suffering abuse due to potential competition between Trill over a limited number of symbionts.

    If we take the well-being argument further, cloning symbionts has many issues to their well-being. Cloning them would be indignant because it would reduce them to a commodity that every Trill should have rather than a sentient being that chooses a relationship.

    Even if the idea got through the commission, I feel like the rest of the Federation might frown on this for those reasons in addition to another: I think there’s already a slight bias in Federation culture against the cloning process.

    This can be seen in TNG:“Up The Long Ladder” (in addition to revealing that cloning on a large scale has negative implications, Riker is so mad about cloning he murders his own clone and Pulaski’s) and TNG:“Second Chances”/LD:“Kayshon, His Eyes Open” (Transporter cloning is seen as a suboptimal circumstance). This suggest culturally, the Federation finds cloning inconvenient at best and a violation at worst. This might be partially negated if the symbionts were to give consent, but it would still feel iffy to most planets

    On another note, exact cloning symbiont genomes could have drastic consequences. For one, it would vastly reduce the genetic diversity of the symbionts; this means if there was say, 1 million Daxs with all the same DNA, there’s a higher chance that a virus could evolve that’s really good at spreading between Daxs, allowing the virus to spread in those Daxs and evolve, probably ultimately killing a lot of symbionts.

    The above might be able to be averted if say, you sequenced the DNA of all the (willing) symbionts and generated distinct genome sequences by simulated breeding between symbionts (if they sexually reproduce) or maybe simulating mutations if they reproduce asexually. You could then synthesize the genome and grow a symbiont from it.

    Even this better solution might prevent problems, though - what happens when symbionts have genetic defects? With symbionts being so rare, is the medical knowledge of them enough that a large population could be kept healthy?


  • I feel like I had a problem very much like this with Debian Testing on my Surface Go 1 (and I think my desktop too) a couple years back, and it turned out there was issues with /etc/nsswitch.conf. I can’t remember exactly what I did, but this is the current contents of that file:

    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         files systemd
    group:          files systemd
    shadow:         files
    gshadow:        files
    
    hosts:          files mdns4_minimal [NOTFOUND=RETURN] dns myhostname
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis
    

    Compare yours - maybe even post it so I can try to reproduce the issue on my machine. Anyhow, hope it helps, and good luck.


  • It depends. Sometimes I shut it down every night. Occasionally, I’ll leave it in sleep mode for a few days.

    I think the longest uptime I’ve had on anything I’ve owned is probably a month or so on a Raspberry Pi 4 server I used to have running with a personal Mediawiki instance (I still have the Pi, but if I ran a server in my dorm, I have the feeling someone might come to bite off my hand).


  • Have you tried SSH-ing into the system when it’s in the bad state to see if you can diagnose the problem? You might be able to see if any displays are being detected at all in the problematic state. Part of me wonders, though is not certain, if the switch is somehow providing an inconsistent display name that confuses the system, though this is just a hunch - I have no idea what I’m talking about, to be frank.

    Also, try switching TTYs and seeing if those show up.


  • Do attempts without Windows as the first step count e.g running Windows in QEMU on Wine on Linux?

    Also, depending on which version of WSL you used, you might be breaking your own rule with WSL on VMs since WSL2 uses Hyper-V. You might also be breaking it again with QEMU.

    What actually counts as “VM software”? Are you defining it as a hypervisor, or does, for instance, emulating Linux on ARM in an emulator of a RISC V system in an emulator of a PowerPC system break the rule. In addition, do you mean consecutive VM software steps, or could I for instance emulate an ARM CPU that supports hypervisors and run a VM software in there?