Skip to content

upsdrvctl: re-check single driver startup just before retrying a start deemed failed#3537

Open
jimklimov wants to merge 3 commits into
networkupstools:masterfrom
jimklimov:issue-3531
Open

upsdrvctl: re-check single driver startup just before retrying a start deemed failed#3537
jimklimov wants to merge 3 commits into
networkupstools:masterfrom
jimklimov:issue-3531

Conversation

@jimklimov

Copy link
Copy Markdown
Member

This was previously checked only if more than one simultaneous driver start was attempted, which might involve some other decisions compared to a single-shot run. This particular change should not break anything.

Trouble noted in NIT suite runs where a 1-second timeout was not always enough for dummy to start and fork into background, so upsdrvctl looped for 3 attempts with 5-second sleep between them (killing the driver that did start after say 2 seconds); eventually the tool gave up and the last-started driver instance lived on.

…aces [networkupstools#3302]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ed instance also for single device runs [networkupstools#3302]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…on [networkupstools#2567]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to the 2.8.6 milestone Jul 22, 2026
@jimklimov jimklimov added enhancement service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug labels Jul 22, 2026
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

A ZIP file with standard source tarball and another tarball with pre-built docs for commit 01b72ec is temporarily available: NUT-tarballs-PR-3537.zip.

@AppVeyorBot

Copy link
Copy Markdown

Build nut 2.8.5.4971-master completed (commit d4fc915f94 by @jimklimov)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants