ps version is UNKNOWN in procps 2:3.3.16-1ubuntu2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Low
|
Kellen Renshaw | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Breakage of tools expecting the version number or the number to substantially match the Debian package version.
* May confuse users expecting the version to substantially match the Debian package version.
* Restores behavior to that provided in Groovy/Hirsute+ and Bionic and prior releases.
- Focal is the only release affected.
* Backported Debian fix to restore ".tarball-version" file to provide version information during build.
- Also included the autopkgtests for versioning from the same Debian fix.
[Test Plan]
1) Create a Focal (or derived from Focal) system.
2) Execute "ps --version" or any of the binaries provided by the package with their respective version flags.
3) Instead of desired output of the version, the output is:
the invoked binary name followed by "from procps-ng UNKNOWN"
Example: "ps from procps-ng UNKNOWN"
[Where problems could occur]
* This fix could cause issues if applications have come to depend on the incorrect behavior. IE, an application that uses a version string of "UNKNOWN" as part of a heuristic for identifying a Focal system.
* If the version of procps-ng is incremented, this patch would need to be updated or removed if it is no longer relevant. Otherwise, an incorrect version would be reported by the binaries.
[Other Info]
* This change is in Groovy+ and Debian packaging with the same version of procps-ng.
- Introduced in procps (2:3.3.16-5) unstable in Debian.
[Original Description]
From Linux Lint 20.1, so Focal Fossa 20.04.1
Package procps 2:3.3.16-1ubuntu2
$ LANG=C ps --version
ps from procps-ng UNKNOWN
I don't know if it comes from Ubuntu or upstream.
description: | updated |
tags: | added: focal |
Changed in procps (Ubuntu): | |
assignee: | nobody → Kellen Renshaw (krenshaw) |
tags: | added: seg sts |
Changed in procps (Ubuntu Bionic): | |
status: | New → Fix Released |
Changed in procps (Ubuntu Hirsute): | |
status: | New → Fix Released |
Changed in procps (Ubuntu Impish): | |
status: | Confirmed → Fix Released |
Changed in procps (Ubuntu Focal): | |
assignee: | nobody → Kellen Renshaw (krenshaw) |
Changed in procps (Ubuntu Impish): | |
assignee: | Kellen Renshaw (krenshaw) → nobody |
Changed in procps (Ubuntu Focal): | |
importance: | Undecided → Low |
description: | updated |
Changed in procps (Ubuntu Focal): | |
status: | New → Confirmed |
tags: | added: sts-sponsors-slashd |
description: | updated |
tags: | removed: sts-sponsors-slashd |
Status changed to 'Confirmed' because the bug affects multiple users.