Skip to content

Fix devmon issues#473

Merged
troglobit merged 2 commits intofinit-project:masterfrom
mattiaswal:fix-devmon
Feb 10, 2026
Merged

Fix devmon issues#473
troglobit merged 2 commits intofinit-project:masterfrom
mattiaswal:fix-devmon

Conversation

@mattiaswal
Copy link
Collaborator

  • Fix deletion of device node conditions
  • Add a reconf handler in devmon to not leave device node conditons in flux

Only compare the beginning of the condition, not the whole
condition name.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
@mattiaswal mattiaswal requested a review from troglobit February 10, 2026 18:53
Device conditions tracked by devmon were lost on `initctl reload`
because the reconf path did not re-assert them.  Add devmon_reconf()
to iterate all tracked device nodes and set or clear their conditions
based on current device presence.

Signed-off-by: Mattias Walström <lazzer@gmail.com>
Copy link
Collaborator

@troglobit troglobit left a comment

Choose a reason for hiding this comment

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

Looks great, nice work! 💪

@troglobit troglobit merged commit 92a2861 into finit-project:master Feb 10, 2026
2 checks passed
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.

2 participants

Comments