-
Story
-
Resolution: Won't Do
-
Minor
-
None
-
None
This is mostly an issue for testing (NetworkManager-ci).
Tests should run with `G_DEBUG=fatal-warnings LIBNM_CLIENT_DEBUG=error,warning,WARN` exported in the environment.
LIBNM_CLIENT_DEBUG affects libnm, so implicitly `nmcli` and other libnm users. It can just be exported at the highest level.
With LIBNM_CLIENT_DEBUG, libnm prints trace, debug, warn and error messages.
<error> are always bugs in the D-Bus API (e.g. the daemon exports something differently than libnm expects). The only reason why libnm does not assert hard against such errors, is because a bug in the daemon must not trigger assertion failures in the library (but there is a bug!).
<warn> can happen when different versions of the daemon and the library talk to each other. For example, a newer daemon version might export a new D-Bus property. libnm would warn about that. That is not necessarily a bug, since we want to support client and daemon of different versions. In context of NM-ci it is however a bug!!