-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[S6000] Fix 'show interface status' CLI needs sudo permission #20384
Conversation
Signed-off-by: Prince George <prgeor@microsoft.com>
@StormLiangMS @yxieca @bingwang-ms please help cherry pick as necessary. Branch label added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
'/azpw ms_conflict' |
/azpw ms_conflict |
1 similar comment
/azpw ms_conflict |
…net#20384) Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
Cherry-pick PR to 202305: #20467 |
Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
…net#20384) Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
Hello @bingwang-ms request you to cherry-pick this PR to 202405 branch. Thanks. |
Hello @yxieca please help merge this PR to 202311 branch. Thanks. |
…net#20384) Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
Cherry-pick PR to 202405: #20537 |
…net#20384) Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
Cherry-pick PR to 202311: #20538 |
Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
…net#20384) Why I did it CLI crashes without sudo permission on Dell 6000 platform How I did it Add check to read eeprom only if user has root permission How to verify it Verified the CLI "show interface status" does not crash if user is not root Signed-off-by: Prince George <prgeor@microsoft.com>
Why I did it
CLI crashes without
sudo
permission on Dell 6000 platformWork item tracking
How I did it
Add check to read eeprom only if user has root permission
How to verify it
Verified the CLI "show interface status" does not crash if user is not root
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)