This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src/sonic-py-common
judyjoseph edc1e48c17 sudo not required explicitly as /bin/ip netns identify is part of READ_ONLY_CMDS in sudoers file (#16115)
Why I did it
Few commands in multiasic platforms when run with the "sudo ip netns exec asic0 " option was taking like 15 mins to get the o/p. This behavior of sudo getting hung was seen by just doing this

jujoseph@svcstr-server-2:~ sudo ip netns exec asic0 bash
jujoseph@svcstr-server-2:~ sudo ls

deally sudo is not needed as we have /bin/ip netns identify present in /etc/sudoers file. Hence removing it
2023-09-03 18:32:38 +08:00
..
sonic_py_common sudo not required explicitly as /bin/ip netns identify is part of READ_ONLY_CMDS in sudoers file (#16115) 2023-09-03 18:32:38 +08:00
tests [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
.gitignore [CI][doc][build] Trim src folder files trailing blanks (#15162) 2023-05-24 10:01:43 -07:00
pytest.ini [sonic-py-common] Add unit test framework (#5238) 2020-08-24 10:35:22 -07:00
setup.cfg [sonic-py-common] Add unit test framework (#5238) 2020-08-24 10:35:22 -07:00
setup.py Update sonic-py-common, add missing dependency to redis-dump-load (#14347) 2023-03-23 09:57:23 -07:00