-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetworkManager keyfiles are not being gathered from all locations #3875
Comments
Thank you for opening the issue @palonsoro . I imagine that we have to mask passwords and secrets from these locations as well, since the file formats will be the same in all of them, right? |
system-connections files can be found not only under /etc/NetworkManager, but also /usr/lib/NetworkManager and /run/NetworkManager, so we need to capture and post process these locations as well. Resolves: sosreport#3875 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Correct. Same data masking must be done on those files too. It is the same format (in case you are curious, it is documented in |
system-connections files can be found not only under /etc/NetworkManager, but also /usr/lib/NetworkManager and /run/NetworkManager, so we need to capture and post process these locations as well. Resolves: sosreport#3875 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
system-connections files can be found not only under /etc/NetworkManager, but also /usr/lib/NetworkManager and /run/NetworkManager, so we need to capture and post process these locations as well. Resolves: sosreport#3875 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
system-connections files can be found not only under /etc/NetworkManager, but also /usr/lib/NetworkManager and /run/NetworkManager, so we need to capture and post process these locations as well. Resolves: sosreport#3875 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
system-connections files can be found not only under /etc/NetworkManager, but also /usr/lib/NetworkManager and /run/NetworkManager, so we need to capture and post process these locations as well. Resolves: #3875 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Currently, the
networkmanager
sos plugin collects all the NetworkManager connection keyfiles from/etc/NetworkManager/system-connections
as we can see here.However, that's not the only location for NetworkManager connection keyfiles. As we can see in
man 5 nm-settings-keyfile
, the apart from/etc/NetworkManager/system-connections/
, we should be including/usr/lib/NetworkManager/system-connections/
and/run/NetworkManager/system-connections/
.The latter is specially important in case that temporary in-memory connections are defined, like the default auto-generated ones.
The text was updated successfully, but these errors were encountered: