Skip to content

Make sure NUT driver daemons close their Unix sockets when their counterparts do#2486

Merged
jimklimov merged 7 commits intonetworkupstools:masterfrom
jimklimov:issue-2484
Jun 24, 2024
Merged

Make sure NUT driver daemons close their Unix sockets when their counterparts do#2486
jimklimov merged 7 commits intonetworkupstools:masterfrom
jimklimov:issue-2484

Conversation

@jimklimov
Copy link
Copy Markdown
Member

@jimklimov jimklimov commented Jun 20, 2024

Closes: #2484

Apparently an old problem, but only exposed by recent code like that for issue #1903 (since NUT v2.8.1), especially with driver-reloading facilitated by NDE when ups.conf is edited.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…umping envvars - so dev/tester knows how they can proceed

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

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… O_NDELAY means EOF (the other side closed socket) [networkupstools#2484]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…s of these guards

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

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added bug service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug impacts-release-2.8.2 Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks) labels Jun 20, 2024
@jimklimov jimklimov added this to the 2.8.3 milestone Jun 20, 2024
@jimklimov jimklimov added the impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) label Jun 24, 2024
@jimklimov jimklimov merged commit 17ae811 into networkupstools:master Jun 24, 2024
@jimklimov jimklimov deleted the issue-2484 branch June 24, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug impacts-release-2.8.1 Issues reported against NUT release 2.8.1 (maybe vanilla or with minor packaging tweaks) impacts-release-2.8.2 Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks) 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.

usbhid-ups sucks CPU in a tight select loop (2.8.2+ later branch build)

1 participant