clearcontainers / packaging

Packaging data for Clear Containers
11 stars 11 forks source link

Packaging needs updating for new config file location #161

Closed jodh-intel closed 7 years ago

jodh-intel commented 7 years ago

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 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.

jodh-intel commented 7 years ago

Note that this is currently breaking the CentOS install due to: