kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
505 stars 100 forks source link

Repair of osquery forces a server reboot #629

Open MaxDiOrio opened 4 years ago

MaxDiOrio commented 4 years ago

I had to uninstall and reinstall osquery. During the uninstall, I used the string: msiexec.exe /f "launcher.msi" ALLUSERS=1 /qn /norestart /log output.log

Launcher msi forces the server to reboot even though /norestart flag was set.

Reason Code: 0x80030002 Shutdown Type: restart Comment: The Windows Installer initiated a system restart to complete or continue the configuration of 'Kolide launcher so-launcher x64 1.1.1'.

This absolutely can not happen. I've had production servers go down because of this. Am I missing something?

launcher.msi /? shows that it supports the /norestart flag.

directionless commented 4 years ago

The MSI is built using pretty standard WiX configuration. There are no custom actions. To be honest, the WiX stuff all seems really hard to work with, though I think this is a reflection of the underlying Windows system.

Interestingly, running graphically I have seen a warning about needing a reboot, but that never actually happens.

I suspect this is all related to the service installation