Hi all, thanks in advance for the support.
I am running Tailscale on Manjaro. I used the package manager to install tailscale. When attempting to run tailscale, I run into several errors:
tailscale status ✔
failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?)
sudo systemctl start tailscaled
^ Does not return anything.
tailscaled 1 ✘
logtail started
Program starting: v1.32.3, Go 1.19.3: []string{"tailscaled"}
LogID: 8ef6d8c3452d55de33bee02909f6f3db1bfbb260636a65b71600527254411535
logpolicy: using system state directory "/home/aaronm/.local/share/tailscale"
wgengine.NewUserspaceEngine(tun "tailscale0") ...
Linux kernel version: 5.15.81-1-MANJARO
'modprobe tun' successful
/dev/net/tun: Dcrw-rw-rw-
wgengine.NewUserspaceEngine(tun "tailscale0") error: tstun.New("tailscale0"): operation not permitted
flushing log.
logger closing down
createEngine: tstun.New("tailscale0"): operation not permitted
Glad to provide more information and to research more if information is provided on how to proceed. Other than that, this total newb is stuck.
Thanks!
Looks like Tailscale is running with insufficient permissions. What user is defined in tailscaled.service?
Does sudo tailscale status work?
sudo tailscale status does not return anything
Here is the contents of my tailscaled.service:
[Unit]
Description=Tailscale node agent
Documentation=https://tailscale.com/kb/
Wants=network-pre.target
After=network-pre.target NetworkManager.service systemd-resolved.service
[Service]
EnvironmentFile=/etc/default/tailscaled
ExecStartPre=/usr/sbin/tailscaled --cleanup
ExecStart=/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port=${PORT} $FLAGS
ExecStopPost=/usr/sbin/tailscaled --cleanup
Restart=on-failure
RuntimeDirectory=tailscale
RuntimeDirectoryMode=0755
StateDirectory=tailscale
StateDirectoryMode=0700
CacheDirectory=tailscale
CacheDirectoryMode=0750
Type=notify
[Install]
WantedBy=multi-user.target
More information found:
Running systemctl status tailscale
Unit tailscale.service could not be found.
Could it be simply that the tailscaled.service file is in the wrong location? Just throwing out an idea.
I think you need systemctl status tailscaled
. tailscaled
is the daemon name (as well as the service), whereas tailscale
is the client that connects to the daemon.
Well, this had been diagnosed as my system was critically injured from a previous problem, and it just didn’t show symptoms until now.
Reformatted and reinstalled Manjaro and tailscale works perfectly fine now.
Thanks for all of the time you guys spent
CONSIDER THIS CLOSED