Skip to content

Commit

Permalink
cgroup: do not add default dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Feb 10, 2023
1 parent 8e135f5 commit 7e7a4db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libcrun/cgroup-systemd.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,8 @@ enter_systemd_cgroup_scope (runtime_spec_schema_config_linux_resources *resource
goto exit;
}

sd_err = sd_bus_message_append (m, "(sv)", "DefaultDependencies", "b", 0);

for (i = 0; boolean_opts[i]; i++)
{
sd_err = sd_bus_message_append (m, "(sv)", boolean_opts[i], "b", 1);
Expand Down

0 comments on commit 7e7a4db

Please sign in to comment.