Skip to content
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

Re-try package installation on failure #1219

Open
Ana06 opened this issue Dec 16, 2024 · 0 comments
Open

Re-try package installation on failure #1219

Ana06 opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
🌀 COMMANDO-VM A package or future to be used by COMMANDO VM 🌀 FLARE-VM A package or feature to be used by FLARE-VM 💎 enhancement It is working, but it could be better ❔ discussion Further discussion is needed

Comments

@Ana06
Copy link
Member

Ana06 commented Dec 16, 2024

Details

As @vsl-iil mentioned in mandiant/flare-vm#577, at the moment our installer tries to reinstall failed packages when a reboot occurs. This is because how the installer is implemented and it is annoying for packages that are broken. I am not sure if there is a way to avoid packages to get reinstalled, @mandiant/vms any ideas?

It is useful to try to reinstall packages that failed to install for other reasons, such as a punctual server issue (which I have had with IDA Free recently). I would like to add an option to try to reinstall failed packages so that they have more changes to get installed in automated FLARE-VM installations (without manual interaction). An idea would be to try to install every package twice as we do in the test suite. Another idea would be to do it at the end of the installation. This would mean more time happens between tries, giving server failures more time to get fixed. But I am not sure if this could cause an infinite loop if there is a reboot in the middle.

@mandiant/vms any opinions or ideas of how to best implement package re-installation on failure? As this modifies the installer, it affects Commando VM as well. 🤔

@l33th4xor1 you mentioned you install FLARE-VM without manual interaction. Do you have any ideas here? 😄

@Ana06 Ana06 added 💎 enhancement It is working, but it could be better ❔ discussion Further discussion is needed 🌀 FLARE-VM A package or feature to be used by FLARE-VM 🌀 COMMANDO-VM A package or future to be used by COMMANDO VM labels Dec 16, 2024
@Ana06 Ana06 self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌀 COMMANDO-VM A package or future to be used by COMMANDO VM 🌀 FLARE-VM A package or feature to be used by FLARE-VM 💎 enhancement It is working, but it could be better ❔ discussion Further discussion is needed
Projects
None yet
Development

No branches or pull requests

1 participant