• 1 Post
  • 182 Comments
Joined 2 years ago
cake
Cake day: July 6th, 2024

help-circle







  • Ooops@feddit.orgtomemes@lemmy.worldEnd of Bliss
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 days ago

    Do right-wing morons ever do something else than projecting their cultish mindset when talking about how the left is pushing ideology, virtual signaling (whatever the flavor of the month is…) and brigading?

    (I would give him bonus points however for managing to cram the top3 of “tHe LeFt”-brain rot into a single statement. That’s actual dedication… or better training.)


  • Ooops@feddit.orgtomemes@lemmy.worldEnd of Bliss
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 days ago

    maybe people with similar political views tend to agree on certain topics

    For people those people treating politics as a team sport and uncondtionally cheering for everything their team does, all while not actually having any independent views and opinions beyond the latest narratives their favorite talking heads are spreading that day, this must feel like a completely alien concept.



  • No, you said these videos show common mistakes on purpose because real users would make them. Which is okay…

    But it doesn’t matter if it was an honest mistake or one made on purpose because it’s a common thing.

    Ignoring the chat telling him the problem (and that he caused it himself) and also not mentioning the problem’s origin anymore later was not an accident. Given the fact that he later made some offhand comment about “yeah, shader thing again” he understood the problem yet intentionally chose to not include the explanation in the video but leave it at “on Linux there are random freezes I don’t understand”.


  • I would at least pretend to learn from my mistakes. So when I skip the shader compilation, then experience freezes while shaders get loaded and the whole f***ing chat mentions it, letting them compile first and then seeing if that fixes the issue would be in fact the first thing I would try…

    So no, this is not honest “showing common mistakes other people will experience” or “struggling with basics”. Because if it was honest there would be any mention of the underlying issue once he understood it. And he obviously did, judging by a later offhand comment about “yeah, shader issues…”


  • Ooops@feddit.orgtoLinux@lemmy.mlBTRFS Question
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 days ago

    When using the systemd hooks for your initramfs (and using rd.luks.name=<UUID>=<name> instead of cryptdevice=UUID=<UUID>:<name> in the kernel parameters) it will try to decrypt all listed drives with the first password typed in, and only ask for additional passwords if that fails. Unlike the “traditional” busybox hooks that will ask for a password for each device. Doesn’t matter what you actually do with the drives themselves.

    So yes, you can for example have partitions/devices /dev/sda1, /dev/sda2, /dev/sdb1 all encrypted with the same password, format sda1 as your classic swap partition, sda2 as the first half of your btrfs raid0 root device and sdb1 as the second half (let’s give them fitting names when decrypting, so /dev/mapper/cryptswap, /dev/mapper/root-a and /dev/mapper/root-b), with rd.luks.name=<UUID>=cryptswap rd.luks.name=<UUID>=root-a rd.luks.name=<UUID>=root-b in your kernel parameters.

    And at boot you will be asked for the password only once, which will unlock all three encrypted partitions. (Unless you mistype. They it will fall back to the default behavior of asking for 3 passwords, one for each.)




  • It’s a tool, use it where it works and don’t where it doesn’t.

    But that doesn’t work with the people creating AI as they are totally dependent on the believe that AI can do absolutely everything (and an artificial general intelligence is just moments away…) to justify they insane investments. So they will make up a million stupid narratives why some people are “actually” not using AI as it obviously can’t be because of AI shortcomings…


  • Ooops@feddit.orgtoLinux@lemmy.mlBTRFS Question
    link
    fedilink
    arrow-up
    2
    ·
    10 days ago

    Your best options when you are already doing a fresh new install:

    • make both drives one virtual one with LVM, then encrypt that virtual drive

    But that’s not related to BTRFS at all and can be done with any file system

    • encrypt both drives with the same password, format them as BTRFS raid0 (again making it one big virtual drive), use the systemd hooks in your initramfs because then the first password you will provide on boot will unlock both drives (only if this fails on the first try you will be asked for additional passwords - also if you mistype your password once you will then have to unlock both by typing the password both; you only get one attempt to unlock everything with the same password).

    If you can do this is mostly depending on the specific installer (I would assume only the first option works by default…). It’s definitely possible in general but “I’m not technical enough” doesn’t go well with all the details you have to figure out yourself when the installer doesn’t do all the work.


  • Ooops@feddit.orgtoLinux@lemmy.mlBTRFS Question
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 days ago

    If they have the same password you can just unlog them at boot with one password. They SystemD hook for unlocking LUKS drives automatically tries the first provided password on all encrypted drives it’s supposed to unlock. Only if that fails it will ask for additional passwords.


  • I don’t know if Fedora (or plasma) do things differently but the normal default is that you need sudo to reboot/shutdown/etc.

    Then on basically all distros using systemd this behavior is modified via logind session and polkit. So the first thing to look at would be if a shutdown rule exists in /etc/polkit-1/rules.d/ that allow users in a certain group to shutdown/reboot in the first place.

    Mine looks like this:

    /etc/polkit-1/rules.d/50-shutdown.rules
    polkit.addRule(function(action, subject) {
    if ((action.id == "shutdown" ||
    action.id == "reboot") &&
    subject.isInGroup("wheel"))
    {
    return polkit.Result.YES;
    }
    });

    So every user in the wheel group can do it without password prompt. Without this UI elements for shutdown/reboot will try assuming they have the right but simply fail.