Unable to setup systemd-extensions on KDE Linux

Hi,

I am new to this forum but have been regularly using KDE Linux on my laptop for about 3 months. I have to say that it has been smooth sailing for me as most of the applications I use are packaged as Flatpaks or Appimages. However, I am unable to figure out how to setup systemd-extensions on my system to compile Feral Gamemode.

So far I have tried:

The KDE Linux Community Guide but I am unable to run the setup script and cannot create test files in the folders to verify if it works. So, I assumed it didn’t work. I tried to search online for setup scripts but came up empty handed.

Arch Linux systemd-sysext Guide but I always get:
HIERARCHY EXTENSIONS SINCE
/usr none -
Whenever running systemd-sysext status and I can’t make sense of how to use the —mutable option

I’d appreciate some help with dealing with this issue as I don’t know if its a me problem or something with KDE Linux.

Thanks.

What specifically didn’t work?

Thanks for replying!
I’m not sure how I am supposed to run the script but after typing the command in the terminal, it says “set-up-systemd-extension” isn’t recognised.
Afterwards,

# Verify that it got enabled
systemd-sysext

The above command only returns:
HIERARCHY EXTENSIONS SINCE
/usr none -

# Create a dummy file in the sysext
echo "It worked" > ~/kde/usr/foo

This command returns “No such file or directory”

# Refresh the sysext so the system sees the change
sudo systemd-sysext refresh

This command returns “No extensions found”

# Make sure it appeared in /usr as expected
cat /usr/foo

This command returns “No such file or directory” as well.

I think that is what you mean by the specifics but please correct me if I am wrong.

It should live at /usr/bin/set-up-systemd-extension. If you don’t have it, your KDE Linux installation is probably quite old.

I’ve just checked the system and the current version installed is from September. I believe this is the cause of the problem considering the age of my install but I can’t seem to install the newest version of KDE Linux as the system says its already up to date.

I’m guessing this happened to you: update train got derailed (#347) · Issues · KDE Linux / KDE Linux · GitLab

There are steps in there to get back on track.

It did happen to me and I was able to update. However after I updated, the newest update booted into emergency mode. The previous version still works fine though.

Now, I’m not sure what to do to fix this.

Try going through the workaround steps again? Make sure you’re following them exactly.

Thanks, it worked! I have set up systemd-extensions succesfully now.