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

Extra quotes around the distribution name on some systems #19340

Closed
afbjorklund opened this issue Jul 24, 2023 · 1 comment · Fixed by #19343
Closed

Extra quotes around the distribution name on some systems #19340

afbjorklund opened this issue Jul 24, 2023 · 1 comment · Fixed by #19343
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@afbjorklund
Copy link
Contributor

afbjorklund commented Jul 24, 2023

Issue Description

Due to a bug in the parsing of /etc/os-release, explicit quote (") are not removed before being stored.

Steps to reproduce the issue

Steps to reproduce the issue

  1. podman info

Describe the results you received

  distribution:
    distribution: '"rocky"'
    version: "9.2"

Describe the results you expected

  distribution:
    distribution: rocky
    version: "9.2"

podman info output

If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

The quotes around the version are supposed to be there, since it's a string and not a number

Noticed when looking at the podman info output of another (unrelated) podman bug report...

@afbjorklund afbjorklund added the kind/bug Categorizes issue or PR as related to a bug. label Jul 24, 2023
@rhatdan
Copy link
Member

rhatdan commented Jul 24, 2023

Care to open a PR to fix?

@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 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants