-
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
'show acl table' as user guest user gives permission denied error #8501
Closed
Labels
Triaged
this issue has been triaged
Comments
Confirmed the bug on a multi-ASIC DUT. |
abdosi
added a commit
to sonic-net/sonic-py-swsssdk
that referenced
this issue
Apr 1, 2022
What I did: Changes to Use Redis Unix Socket if the user is root else default to TCP Why I did: With the changes in PR:sonic-net/sonic-buildimage#5289 access to redis unix socket is given to the redis group members or to the root. Many of sonic-util commands (especially in multi-asic) case use redis unix socket to connect to DB and thus those comamnd fails without providing sudo. This PR is continuation of PR: sonic-net/sonic-buildimage#7002 where we default to use TCP for Redis if user is not root in sonic-cfggen. This should fix: sonic-net/sonic-buildimage#8501
Submodule PR is merged: #10440 @sanmalho-git please check. |
@abdosi Could you please provide a link to where I can get a multi-asic KVM image with the above fix. |
@abdosi - this is still failing on the latest 4 asic multi-asic KVM, though with a different exception than before
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Test test_show_acl_table creates a guest user and then issues the command 'show acl table DATAACL'.
This command throws a 'Permission denied' error causing the test to fail.
Steps to reproduce the issue:
Describe the results you received:
Get permission denied error
Describe the results you expected:
No errors to be generated.
Output of
show version
:On multi-asic KVM:
Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: