Skip to content

baseboxd-tools: also bundle systemd-networkd info in debug info#243

Draft
KanjiMonster wants to merge 3 commits intomainfrom
jogo_support_bundle_networkd
Draft

baseboxd-tools: also bundle systemd-networkd info in debug info#243
KanjiMonster wants to merge 3 commits intomainfrom
jogo_support_bundle_networkd

Conversation

@KanjiMonster
Copy link
Contributor

Since systemd-networkd is likely part of the active network-configuration, bundle its state and configuration as well in the support bundle.

Since we use systemd-analyze to get the effective configuration, add it to our images.

There is no guarantee that binaries are installed at the expected
directories, e.g. ubuntu 20.04 has systemctl in /usr/bin instead of
/bin, and future Yocto version will follow that.

So rely on PATH being properly setup, and just use plain binary names.
The only exception is the FRR debug logs script, since this one isn't in
one of the default search paths.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
To be able to easily get the effective systemd-networkd configuration we
need systemd-analyze, so bundle it in the full image.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Bundle systemd-networkd's view of the world and its configuration as
well when collecting debug information.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant