Bug 2228932 - "podman version" does not display entire version number [NEEDINFO]
Summary: "podman version" does not display entire version number
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Matthew Heon
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-03 16:44 UTC by aruffin@redhat.com
Modified: 2023-08-16 16:56 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 08:37:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:
aruffin: needinfo? (tsweeney)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164409 0 None None None 2023-08-03 16:51:11 UTC

Description aruffin@redhat.com 2023-08-03 16:44:38 UTC
Description of problem:
BugZilla 2210139 corrected the issue of inaccurate stats being displayed when the "podman stats" command was run with the --no-stream option.

However, "podman version" returns no difference in the version number returned between the inaccurate podman 3.0.1 vs the corrected podman 3.0.1-11.  In both cases, the version returned is 3.0.1.

Customer would like the entire version number displayed to make it easier to identify which podman is in use.

Version-Release number of selected component (if applicable):
3.0.1-11

How reproducible:
Very.   

Steps to Reproduce:
1. Install podman 3.0.1-11 (or later)
2. Execute "podman version"


Actual results:
# podman version
Version:      3.0.1

Expected results:
We expect podman to not cut off the end of the version number 

Additional info:

Comment 1 Matthew Heon 2023-08-03 17:17:09 UTC
The output of `podman version` is correct, as this is Podman 3.0.1 - plus some extra, RHEL-specific patches. 3.0.1-11 is the RPM version, which is not correlated to the version of Podman (and I don't really know how we'd correlate them - Podman 4.4.1, for example, is shipped in both RHEL8 and RHEL9, so we could easily end up with podman-4.4.1-3 on RHEL8 referring to the same code as Podman 4.4.1-5 on RHEL9, or similar. As such we have no plans to make changes to `podman version` to include information on the RPM Podman was shipped in.

That said, it should be possible to include full information on the RPM package in `podman info` to indicate the RPM that the installed Podman came from. Would this be acceptable?


Note You need to log in before you can comment on or make changes to this bug.