The old location (/etc/clear-containers/configuration.toml) should only be used by users who wish to override the default packaged version of the config file.
We need to update the packaging to use the new path. The problem is what to do with the existing /etc/clear-containers/configuration.toml files that will exist on systems where a user is updating the packages.
We need to get rpm and dpkg to either remove the file or rename it to /etc/clear-containers/configuration.toml.DISABLED or similar to avoid it "hiding" the newer config file (/usr/share/defaults/clear-containers/configuration.toml) which has more options now.
Since https://github.com/clearcontainers/runtime/pull/564 landed, the config file used by the runtime is now
/usr/share/defaults/clear-containers/configuration.toml
.The old location (
/etc/clear-containers/configuration.toml
) should only be used by users who wish to override the default packaged version of the config file.We need to update the packaging to use the new path. The problem is what to do with the existing
/etc/clear-containers/configuration.toml
files that will exist on systems where a user is updating the packages.We need to get
rpm
anddpkg
to either remove the file or rename it to/etc/clear-containers/configuration.toml.DISABLED
or similar to avoid it "hiding" the newer config file (/usr/share/defaults/clear-containers/configuration.toml
) which has more options now.