Skip to content
Merged
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
7 changes: 4 additions & 3 deletions checkbox-ng/plainbox/impl/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,11 +784,12 @@ def get_execution_command_systemd_unit(
env = get_differential_execution_environment(
job, environ, session_id, nest_dir, extra_env
)
env_cmds = []
env_cmds += [
env_cmds = [
"{key}={value}".format(key=key, value=value)
for key, value in sorted(env.items())
]
] + ["SYSTEMD_IGNORE_CHROOT=1"]
# SYSTEMD_IGNORE_CHROOT intentionally at the end because without this
# any systemd command will not work
if on_ubuntucore():
# when in a core snap, we need the snap mount namespace to use anything
# that was shared via a content interface
Expand Down
Loading