Skip to content

Commit

Permalink
Merge pull request networkupstools#2082 from jimklimov/issue-317
Browse files Browse the repository at this point in the history
`nut-scanner`: additional multiarch libraries search path; general: fixes to (debug) logging
  • Loading branch information
jimklimov authored Oct 1, 2023
2 parents ae492a8 + 73e6f23 commit db66837
Show file tree
Hide file tree
Showing 10 changed files with 351 additions and 28 deletions.
10 changes: 10 additions & 0 deletions NEWS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,16 @@ as part of https://github.com/networkupstools/nut/issues/1410 solution.
this variable unless troubleshooting, although other systems rely on it)
[#805]

- Debug information tracing methods like `upsdebugx()` should now be less
limited in the sizes of messages that they can print, such as path names
that may be quite long. Note that the OS methods manipulating the strings,
and receivers such as logging systems, may still impose limits of their own.

- The `nut-scanner` usage and debug printouts now include the loadable library
search paths, to help troubleshooting especially in multi-platform builds;
pre-filtering of the built-in paths was introduced (to walk only existing
and unique directory names) [#317]

- The nut-scanner program was updated to fall back to loading unresolved
library filenames, hoping that `lt_dlopen()` implementation on the current
platform would find library files better [#805]
Expand Down
4 changes: 4 additions & 0 deletions UPGRADING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ Changes from 2.8.0 to 2.8.1
or explicitly forfeit building the tool (some distro packages missed it
quietly in the past) [#1560]
- An `upsdebugx_report_search_paths()` method in NUT common code was added,
and exposed in `libnutscan.so` builds in particular - API version for the
public library was bumped [#317]
- `configure` script, reference init-script and packaging templates updated
to eradicate `@PIDPATH@/nut` ambiguity in favor of `@ALTPIDPATH@` for the
unprivileged processes vs. `@PIDPATH@` for those running as root [#1719]
Expand Down
Loading

0 comments on commit db66837

Please sign in to comment.