Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849863 - app-containers/podman: example registries configuration seemingly broken/unsuitable for distribution
Summary: app-containers/podman: example registries configuration seemingly broken/unsu...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
Depends on:
Reported: 2022-06-05 19:57 UTC by John Helmert III
Modified: 2022-06-05 19:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-06-05 19:57:37 UTC
podman has postinst elog messages instructing users to copy the example configuration into /etc/containers/registries.conf:

    elog "You need to create the following config files:"
    elog "/etc/containers/registries.conf"
    elog "/etc/containers/policy.json"
    elog "To copy over default examples, use:"
    elog "cp /etc/containers/registries.conf{.example,}"
    elog "cp /etc/containers/policy.json{.example,}"

The installed example configuration comes from

Attempting to use this registries.conf seems to not work as expected:

# podman system reset -f && cp /etc/containers/registries.conf{.example,}
# podman pull registry
Trying to pull
Error: initializing source docker://registry:latest: reading manifest latest in manifest unknown: manifest unknown

However, this is successful if each of the [[registry]] sections are commented out in /etc/containers/registries.conf, which seems to be roughly similar to Debian's default registries.conf. Further, I'm not sure a configuration from the 'tests' directory is suitable for distributions to ship as "default" configuration (as an example, this configuration references a local registry for testing purposes: Am I missing something here?