Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman system connection clobbers /etc/containers/containers.conf #19379

Closed
edsantiago opened this issue Jul 26, 2023 · 2 comments
Closed

podman system connection clobbers /etc/containers/containers.conf #19379

edsantiago opened this issue Jul 26, 2023 · 2 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Collaborator

# cat containers/containers.conf
[engine]
# events_logger = "file"     <---- this is a comment, not a root prompt

# podman system connection add foo tcp://localhost:12345
# cat containers/containers.conf
[containers]

[engine]
  active_service = "foo"
  [engine.service_destinations]
    [engine.service_destinations.foo]
      uri = "tcp://localhost:12345"

[machine]
....more added stuff...

containers.conf(5) reads:

Container engines like Podman & Buildah read containers.conf file

read (emphasis mine). Nowhere does it say 'write'. As a system administrator, I object to tools modifying my files in /etc.

@vrothberg
Copy link
Member

@rhatdan, something to brainstorm. Also see containers/common#1566.

@Luap99
Copy link
Member

Luap99 commented Aug 1, 2023

Lets close this in favor of containers/common#1515

@Luap99 Luap99 closed this as completed Aug 1, 2023
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Oct 31, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

3 participants