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

naywatch: fix procd handling #729

Merged
merged 1 commit into from Oct 1, 2021

Conversation

PolynomialDivision
Copy link
Member

Sometimes, naywatch can not handover the watchdog to procd again using ubus. We need to call the same ubus command multiple times until procd takes over control again.

@PolynomialDivision
Copy link
Member Author

@spolack

Sometimes, naywatch can not handover the watchdog to procd again using
ubus. We need to call the same ubus command multiple times until procd
takes over control again.

Signed-off-by: Nick Hainke <vincent@systemli.org>
Copy link

@spolack spolack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd propose to fix that in procd?

@PolynomialDivision
Copy link
Member Author

Maybe the file handle is not closed correctly, so it is my bad. However, for me this workaround fixes the issue.

@PolynomialDivision
Copy link
Member Author

Maybe @dangowrt can say something to it. However, I will elaborate this further.

@PolynomialDivision
Copy link
Member Author

Maybe we can add a "force takeover" option to the ubus call of system.

@PolynomialDivision PolynomialDivision deleted the fix-naywatch branch October 1, 2021 10:35
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

Successfully merging this pull request may close these issues.

None yet

2 participants