Skip to content
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

remot_with_unix: fix socket reload #6134

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion libvirt/tests/cfg/remote_access/remote_with_unix.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
sasl_user_pwd = "('test', '123456'), ('libvirt', '123456')"
sasl_allowed_username_list = ['test', 'libvirt']
- socket_access_controls:
traditional_mode = "yes"
auth_unix_ro = "none"
auth_unix_rw = "none"
unix_sock_group = "wheel"
Expand Down
2 changes: 2 additions & 0 deletions libvirt/tests/src/remote_access/remote_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from virttest import remote
from virttest import utils_config
from virttest import utils_iptables
from virttest import utils_split_daemons

from virttest import libvirt_version
from virttest.utils_sasl import SASL
Expand Down Expand Up @@ -232,6 +233,7 @@ def run(test, params, env):
"""

test_dict = dict(params)
test_dict['traditional_mode'] = "no" if utils_split_daemons.is_modular_daemon() else "yes"
socket_access_controls_cfg_file = test_dict.get("socket_access_controls_cfg_file", "no")
if socket_access_controls_cfg_file == "yes":
if libvirt_version.version_compare(6, 0, 0):
Expand Down