You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ exception with description ":- cleanup_macsec_device: Cannot show MACsec ports" thrown in SetUp(). this is by macsec issue
and it's related to this code:
index 8e9cdcc..b6cfe0a 100644
--- a/vslib/src/MACsecManager.cpp
+++ b/vslib/src/MACsecManager.cpp
@@ -835,7 +835,7 @@ void MACsecManager::cleanup_macsec_device() const
std::string macsecInfos;
- if (!exec("ip macsec show", macsecInfos))
+ if (!exec("/sbin/ip macsec show", macsecInfos))
{
since "ip" command may not be in default user PATH, then sh/bash will not find it, resolution is to put explicit /sbin/ip path or add string variable that could be changed
exception is thrown in MACsecManager constructor when calling cleanup_macsec_device
The text was updated successfully, but these errors were encountered:
Error popped out here: sonic-net/sonic-buildimage#6202
C++ exception with description ":- cleanup_macsec_device: Cannot show MACsec ports" thrown in SetUp(). this is by macsec issue
and it's related to this code:
since "ip" command may not be in default user PATH, then sh/bash will not find it, resolution is to put explicit /sbin/ip path or add string variable that could be changed
exception is thrown in MACsecManager constructor when calling cleanup_macsec_device
The text was updated successfully, but these errors were encountered: