Skip to content

Instantly share code, notes, and snippets.

@CodeMichael
Forked from legowerewolf/readme.md
Last active January 5, 2024 16:33
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save CodeMichael/4d1730d0c12c99783c50fb305bcfa1cb to your computer and use it in GitHub Desktop.
Save CodeMichael/4d1730d0c12c99783c50fb305bcfa1cb to your computer and use it in GitHub Desktop.
Tailscale on Steam Deck
@shaver
Copy link

shaver commented Jun 26, 2023

Hi there -- thanks for this!

Trying it now on my Steam Deck, I get an error at the systemd-sysext piece about /usr already being merged:

Jun 26 10:47:47 steamdeck systemd-sysext[358120]: Hierarchy '/usr' is already merged.
Jun 26 10:47:47 steamdeck systemd[1]: systemd-sysext.service: Main process exited, code=exited, status=1/FAIL>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit systemd-sysext.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Jun 26 10:47:47 steamdeck systemd[1]: systemd-sysext.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit systemd-sysext.service has entered the 'failed' state with result 'exit-code'.
Jun 26 10:47:47 steamdeck systemd[1]: Failed to start Merge System Extension Images into /usr/ and /opt/.
░░ Subject: A start job for unit systemd-sysext.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-sysext.service has finished with a failure.
░░ 
░░ The job identifier is 8060 and the job result is failed.

Manually running systemctl enable tailscaled --now afterwards seemed to work though, and I was able to get my deck on the tailnet. Not sure what'll happen with an update, but we'll see.

Thanks again, just wanted to let you know.

@CodeMichael
Copy link
Author

Hmm I wonder if there is a race condition thats occurring after systemctl enable systemd-sysext --now taking a long time to finish. Could probably be accounted for relatively easily

@CodeMichael
Copy link
Author

looks like the upstream version has improved, so that is probably the one to use.

@shaver
Copy link

shaver commented Jun 27, 2023

Ah, I didn't think to check. Thanks!

@NSDodgers
Copy link

Hello! I'm following along and after setting a sudo password I am getting the following error message when running bash tailscale.sh:
root permissions detected continuing...
gist.gitnub.com/CodeMichae|4d1730d0c12c99783050
Installing Tailscale: Getting version...got 1.50.1. Downloading...done. Installing...Job for systemd-sysext.se rvice failed because the control process exited with error code.
See "systemctl status systemd-sysext.service" and "journalctl -xeu systemd-sysext.service" for details.

@boujuan
Copy link

boujuan commented Oct 25, 2023

I am getting the following error when trying to update and run tailscale with sudo bash tailscale.sh:

Job for systemd-sysext.service failed because the control process exited with error code. See "systemctl status systemd-sysext.service" and "journalctl -xeu systemd-sysext.service" for details
In both of those logs points out the error is
Hierarchy /usr is already merged
systemd-sysext.service: Failed with result 'exit-code'
Failed to start Merge System Extension Images into /usr/
Any ideas onto why?

@NSDodgers
Copy link

thanks for finding additional information, I don't know why!

@NSDodgers
Copy link

Just an update on the error i saw, I was downloading the .sh file into a directory that was not working. I re-did the download into the Downloads folder and it worked from there

@boujuan
Copy link

boujuan commented Nov 1, 2023

I am getting the following error when trying to update and run tailscale with sudo bash tailscale.sh:

Job for systemd-sysext.service failed because the control process exited with error code. See "systemctl status systemd-sysext.service" and "journalctl -xeu systemd-sysext.service" for details In both of those logs points out the error is Hierarchy /usr is already merged systemd-sysext.service: Failed with result 'exit-code' Failed to start Merge System Extension Images into /usr/ Any ideas onto why?

Update: For anyone experiencing this error, you need to unmerge /usr/ directory before attempting to update tailscale.
sudo systemd-sysext unmerge
then
sudo bash tailscale.sh
and
sudo systemctl restart tailscaled.service --now

@CodeMichael
Copy link
Author

looks like there were some updates upstream and I should either pull this down or update. I will take a look this week when i have time.

@CodeMichael
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment