Skip to content

Conversation

@jimklimov
Copy link
Member

@jimklimov jimklimov commented Oct 27, 2025

Follows up from #3003

NOTE: Also checking NUT CI - OBS integration for #1209

…dog instead of long quietness when shutting down [networkupstools#3003]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…fferent features are supported

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov
Copy link
Member Author

@ErikDB87 : I hope now the PR is ready for practical testing, for whether I've identified the problem and ways around it correctly :)

…E_EXTEND_TIMEOUT` option and relevant variables [networkupstools#3003]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…protect from systemd or similar framework killing us by timeout [networkupstools#3033]

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

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@AppVeyorBot

This comment was marked as outdated.

@ErikDB87
Copy link

@ErikDB87 : I hope now the PR is ready for practical testing, for whether I've identified the problem and ways around it correctly :)

To be certain: you want me to git clone https://github.com/jimklimov/nut -b issue-3003 nut-issue-3003, do the build process and run sudo upsmon -c fsd, correct?

(If so, I'm going to leave the UPS plugged in into the power outlet. If sudo upsmon -c fsd doesn't seem to do anything, I'm just going to reboot my primary Linux device. I'll refrain from trying other commands.)

@jimklimov
Copy link
Member Author

Yes, with the caveat that upsmon -fsd sends a signal to the currently running daemon, so that too should be from the new build. I suppose you can systemctl stop nut-monitor and then from the build area run ./clients/upsmon -DDDDDD & sleep 15; ./clients/upsmon -fsd to only run the new binary for this without installing it (if you're wary to).

@ErikDB87
Copy link

ErikDB87 commented Oct 31, 2025

Okay, I uninstalled the build I had, cloned after your latest commit, ran the install process and ran sudo upsmon -c fsd (after first erroneously running sudo upsmon -fsd 🙄). The script worked, since the router turned off. The secondary turned off as well. Only the primary didn't...

I also had the impression the router kept being shut down, since restarting it had no effect on networks aooearing, and the device turned out to be off again later (after restarting it earlier, obviously).

Checking capture.txt, it indeed looks like the script was being run over and over again. So something is still off...

See logs here: https://drive.google.com/drive/folders/1D5M7YUbbd3sezB804D-dVm-f_Ofl9mj9?usp=sharing

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants