anasfanani / Magisk-Tailscaled

Magisk/KernelSU module for running Tailscale on rooted Android devices. The easiest, most secure way to use WireGuard and 2FA.
https://t.me/systembinsh/158
Other
220 stars 25 forks source link

`/system/bin/sh: tailscale: inaccessible or not found` #27

Closed VenomousSteam81 closed 4 months ago

VenomousSteam81 commented 4 months ago

I'm using Android 12, LineageOS 19.1. I installed the module and rebooted but I can't do anything with tailscale because I get /system/bin/sh: tailscale: inaccessible or not found. However, I was looking in top for something else and saw that tailscale was running. So I cd'ed into /data/adb/tailscale/bin and ran ./tailscale login, but that outputted this:

Failed to connect to local Tailscale daemon for /localapi/v0/profiles/; not running? Error: dial unix tailscaled.sock: connect: no such file or directory

Ok, so I then run ./tailscaled which gives me this:

Expand ``` logtail started Program starting: v1.68.2-tc3ed2ce8b-g789e6d2f8, Go 1.22.4: []string{"./tailscaled"} LogID: 1adb0bfba84833f5b77160b73e827cddce440cbe6d0d4dc853b5fb3c2dbb189e filch failed: filch: open /.cache/Tailscale/tailscaled.log1.txt: no such file or directory logpolicy: using UserCacheDir, "/.cache/Tailscale" logpolicy.ConfigFromFile /.cache/Tailscale/tailscaled.log.conf: open /.cache/Tailscale/tailscaled.log.conf: no such file or directory logpolicy.Config.Validate for /.cache/Tailscale/tailscaled.log.conf: config is nil logpolicy.Config.Save for /.cache/Tailscale/tailscaled.log.conf: mkdir /.cache: read-only file system dns: [rc=missing ret=direct] dns: using "direct" mode dns: using *dns.directManager linuxfw: clear iptables: multiple errors: deleting [-j ts-input] in filter/INPUT: running [/system/bin/iptables -t filter -D INPUT -j ts-input --wait]: exit status 2: iptables v1.8.7 (legacy): Couldn't find target `ts-input' Try `iptables -h' or 'iptables --help' for more information. deleting [-j ts-forward] in filter/FORWARD: running [/system/bin/iptables -t filter -D FORWARD -j ts-forward --wait]: exit status 2: iptables v1.8.7 (legacy): Couldn't find target `ts-forward' Try `iptables -h' or 'iptables --help' for more information. deleting [-j ts-postrouting] in nat/POSTROUTING: running [/system/bin/iptables -t nat -D POSTROUTING -j ts-postrouting --wait]: exit status 2: iptables v1.8.7 (legacy): Couldn't find target `ts-postrouting' Try `iptables -h' or 'iptables --help' for more information. linuxfw: clear ip6tables: multiple errors: deleting [-j ts-input] in filter/INPUT: running [/system/bin/ip6tables -t filter -D INPUT -j ts-input --wait]: exit status 2: ip6tables v1.8.7 (legacy): Couldn't find target `ts-input' Try `ip6tables -h' or 'ip6tables --help' for more information. deleting [-j ts-forward] in filter/FORWARD: running [/system/bin/ip6tables -t filter -D FORWARD -j ts-forward --wait]: exit status 2: ip6tables v1.8.7 (legacy): Couldn't find target `ts-forward' Try `ip6tables -h' or 'ip6tables --help' for more information. cleanup: list tables: netlink receive: invalid argument --statedir (or at least --state) is required ```

Any fixes?

VenomousSteam81 commented 4 months ago

Fixed. Apparently on Android 12 the overlay-fs module likes to make every other single module I install work. Disabling overlay-fs fixes it.