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

startOsUpdate will trigger even though a user lock exists #1288

Open
jaomaloy opened this issue Dec 13, 2022 · 0 comments
Open

startOsUpdate will trigger even though a user lock exists #1288

jaomaloy opened this issue Dec 13, 2022 · 0 comments
Assignees

Comments

@jaomaloy
Copy link

Some users are running processes in the devices that can't be interrupted when the HUP process is initiated from the dashboard. HUP's current implementation doesn't take into account the containers' locks, so the HUP process will just run when invoked, killing any running process.
This interruption has resulted in some users complaining that they would have to manually control HUP when they consider it should be done by balena.

Expected Behavior

startOsUpdate should not update if a user lock exists

Actual Behavior

startOsUpdate doesn't take into account user service locks, causing some interrupted processes.

Steps to Reproduce the Problem

  1. Have a user service lock
  2. call startOsUpdate
  3. os will be updated even if user service lock existed

Specifications

  • SDK version:
  • Browser:
  • Node version:
  • Npm version:
  • OS:

References

@jaomaloy jaomaloy self-assigned this Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant