592dab7a84
Some containers doesn't have the "default" user set to root (which is
good). This lead to healthcheck_port() function to return a message
because the non-root user isn't allowed to call "ss" command as itself.
Ensuring we're running the healthchecks as root will also allow to stop
duplicating some commands, making them faster and smaller for the
system.
This was discovered and discussed on Red Hat bugzilla first, then ported
to Launchpad.
Change-Id: I2e49d4dd5b385237f4f79929c70365424f6fa22d
Closes-Bug: 1860569
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1778881
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_builder_base.py | ||
test_builder_compose1.py | ||
test_builder_podman.py | ||
test_paunch.py | ||
test_runner.py | ||
test_utils_common.py | ||
test_utils_systemctl.py | ||
test_utils_systemd.py |