-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update fleetd to use uninstall script to rollback after a failed postInstall #22081
Comments
I've started QAing this issue. Tried uninstalling Tailscale on a Windows 10 and 11 VMs (VMWare), I got the following error in the uninstall script output:
|
@lucasmrod Yes, I'm aware of this issue. Fixing as part of #20000 -- currently EXE flow is buggy. |
I tried installing+uninstalling a Firefox MSI (downloaded from here) and I got the following error on uninstall, let me know if it's expected/known: Am trying to get a successful uninstall before proceeding to test the edge case here. |
For the specific EXE fail, fix is here: #22164 |
The MSI uninstall issue is new. |
QA Update: I was able to verify the fix for macOS. Installing Microsoft Teams pkg (with a Am having some trouble with install scripts that have So, TODO are Linux and Windows. |
QA Update: I was able to verify Windows using 7-zip's MSI installer. ( TODO: Linux (I'm having issues with the new lines, it might be a bug on my VM, investigating...) |
I finally was able to root cause the issue for Ubuntu packages: |
#22196 is now fixed which allowed me to verify this fix for Linux. g2g QA-wise. |
Cherry-pick #22081 fixes from main.
Uninstall script glows, |
When postInstall script fails, fleetd should run the user-visible uninstall script instead of the secret remove script.
Also need to update the docs regarding this behavior.
Demo
[Demo] Uninstall script runs after failed post-install script - Watch Video
The text was updated successfully, but these errors were encountered: