Skip Navigation
How do you disable machinectl entirely? [solved]

I’m mostly interested in disabling the command to create a root shell ‘machinectl shell @root’. Attempting to ‘systemctl disable systemd-machined’ doesn’t work.

Edit:

After some more poking, it seems polkit is the way to do it. Create the file /etc/polkit-1/rules.d/10-deny-machinectl.rules and add the following

polkit.addRule(function(action, subject) { if (action.id.startsWith("org.freedesktop.machine1.")) { return polkit.Result.NO; } });

The list of all actions you can filter on are in /usr/share/polkit-1/actions/org.freedesktop.machine1.policy

3
Need help with AMD mesa drivers
  • I have no experience with this, but did some googling. The AMD ROCm installer instructions for Ubuntu are here. You need ROCm for HIP. That installs the entire SDK not just the runtime.

    The Arch Wiki says you just need the package hip-runtime-amd. But I can’t find that package for Ubuntu.

    There are also HIP installation instructions for PopOS. That’s similar to Ubuntu.

  • How to check if Zenbleed mitigation(chicken bit) is properly set?
  • echo $(($(rdmsr -c 0xc0011029) & (1<<9) )) 
    

    Should return 512. You might need a ‘sudo’ before the rdmsr (any permission errors in any of this means it didn’t work). Unfortunately, this needs to be done every time you reboot. The next security update for linux will do this automatically.

  • TechCrunch explains what is happening with RedHat, including today’s SUSE development.
    techcrunch.com Why SUSE is forking Red Hat Enterprise Linux

    SUSE today announced that it is forking Red Hat Enterprise Linux (RHEL). Here's the history of why that's happening.

    Includes interviews with both RedHat and Rocky Linux.

    11
    Funding an instance with advertising

    If your instance started showing ads, would you just leave to another instance? Do you see any way to fund the operation of an instance other than donations?

    5
    Reddit @lemmy.ml trachemys @iusearchlinux.fyi
    Reddit locked out r/mildlyinteresting mods who tried to mark their sub as nsfw
    3
    SNOOcalypse - document, discuss, and promote the downfall of Reddit. @lemmy.ml trachemys @iusearchlinux.fyi
    Reddit removes orca meme from r/LateStageCapitalism

    cross-posted from: https://feddit.de/post/921606

    > sub might turn into orca only sub > > >For those of you out of the loop, Reddit admins took it upon themselves to remove a meme about Orca's attacking yachts. source > > >Not even that...literally a screenshot of an article by The Atlantic saying the orcas are bad for attacking boats and then underneath it a scene from The Office with the caption altered to say "You know what? Now I'm going to root for the orcas even harder." source

    20
    The legend of "x86 CPUs decode instructions into RISC form internally" (2020)
    fanael.github.io The legend of "x86 CPUs decode instructions into RISC form internally" - Fanael's random ruminations

    A dive into what x86 instruction are decoded into various processors, to determine the truth of the idea that they're just RISC-like internally.

    This is an interesting examination of intel architecture history from the perspective of what micro-ops are used for a simple x86 loop and if they qualify as “RISC”.

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TR
    trachemys @iusearchlinux.fyi
    Posts 7
    Comments 69