FS#75281 - [tailscale] frontend/backend version mismatch error after upgrade

Attached to Project: Community Packages
Opened by Mark Stenglein (ocelotsloth) - Saturday, 09 July 2022, 19:24 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 17:53 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After updating tailscale the following error is thrown:

```
~
❯ sudo tailscale up
Warning: client version "1.26.1" != tailscaled server version "1.24.2"
2022/07/09 15:04:50 GotNotify: Version mismatch! frontend="1.26.1" backend="1.24.2"
backend error: GotNotify: Version mismatch! frontend="1.26.1" backend="1.24.2"
```

Additional info:
* package version(s): 1.26.1

Steps to reproduce:

```
# have outdated tailscale installed
sudo pacman -Syu
sudo tailscale up
```

Looks like `sudo systemctl restart tailscaled` (or a reboot I guess) fixes the issue--could we get that added as a post_upgrade hook to the tailscale package? Probably should check if the service is actually running as part of that hook and not do anything if it isn't running.

Thanks!
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 23 August 2022, 17:53 GMT
Reason for closing:  Not a bug
Comment by Toolybird (Toolybird) - Friday, 22 July 2022, 07:58 GMT
Pretty sure this would normally fall under "System Maintenance" [1] where you're expected to look after services yourself. But seeing as this is a potentially critical network thing, the Package Maintainer might be amenable to a request...or maybe not.

[1] https://wiki.archlinux.org/title/System_maintenance#Restart_or_reboot_after_upgrades
Comment by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 17:53 GMT
We generally do not use post install hooks to enable/start/stop/restart services. I consider this a user issue really.

The same issue happens with stale objects loaded into memory from services, we can't reasonably deal with them either. Closing.

Loading...