Skip to content

Parsing runc.conf results in duplicate values #2727

@rst0git

Description

@rst0git

When evaluating a configuration file specified via RPC (e.g., runc.conf), CRIU will parse this config file twice:

i = parse_options(0, NULL, &dummy, &dummy, PARSING_RPC_CONF);

/* Evaluate additional configuration file a second time to overwrite

This causes options such as --action-script to accumulate duplicate values, leading to unexpected behavior (e.g., when used with criu-coordinator).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions