Skip to content

Revert "remove default "containerd.toml" config file"#233

Merged
fredericdalleau merged 1 commit intodocker:masterfrom
thaJeztah:partial_revert_of_config_changes
May 21, 2021
Merged

Revert "remove default "containerd.toml" config file"#233
fredericdalleau merged 1 commit intodocker:masterfrom
thaJeztah:partial_revert_of_config_changes

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented May 19, 2021

This reverts commit 37e406c.

Relates to #215 (comment)

removing this does have some impact on rpm users who are currently overwriting
the rpm supplied config.toml with their own. This being removed above, causes
the user supplied override config.toml file also to be deleted, when they upgrade
to a rpm version with this change. rpm moves the file to.rpmsave/.rpmnew after
upgrading to the new version with the above change.

Reverting this change (at least temporarily until we figure out an alternative)
is the safest option for now.

This reverts commit 37e406c.

Relates to docker#215 (comment)

> removing this does have some impact on rpm users who are currently overwriting
> the rpm supplied config.toml with their own. This being removed above, causes
> the user supplied override config.toml file also to be deleted, when they upgrade
> to a rpm version with this change. rpm moves the file to.rpmsave/.rpmnew after
> upgrading to the new version with the above change.

Reverting this change (at least temporarily until we figure out an alternative)
is the safest option for now.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@ravilr @tianon @silvin-lubecki ptal

Copy link
Contributor

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"yay"

LGTM

(is it worth reverting just the rpm bits? no strong preference from me either way)

edit: I guess this is better for consistency

@thaJeztah
Copy link
Member Author

Yes, I was considering just to revert only the RPM changes, but it's worth looking into "other options" (if possible); if not, then we could also consider making this change for the v1.5.x release

Copy link
Contributor

@fredericdalleau fredericdalleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fredericdalleau fredericdalleau merged commit bf54841 into docker:master May 21, 2021
@thaJeztah thaJeztah deleted the partial_revert_of_config_changes branch May 21, 2021 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants