** Description changed: + [Impact] + + Users cannot check the runc version running 'runc --version'. This is + not a big deal but it would land along with LP #1927219 which is an + important fix. + + [Test Plan] + + Check if 'runc --version' returns the runc version. + + [Where problems could occur] + + As usual, we deliver most benefit to our users by delivering an upstream + experience. A risk of regressions is part of that. + + [Original Message] + Apparently runc is built in some non-standard way, so it does not show its version: kir@ubu2004:~$ runc -v runc version spec: 1.0.2-dev go: go1.13.8 libseccomp: 2.5.1 In the output above, version string is empty and there is no newline added, so we have a version of the spec in the same line. Thus, docker has the same problem reporting runc version: kir@ubu2004:~$ docker version | grep -A2 runc - runc: - Version: spec: 1.0.2-dev - GitCommit: + runc: + Version: spec: 1.0.2-dev + GitCommit: For comparison, here is the correct/expected output: [kir@kir-rhat runc]$ runc -v runc version 1.0.0-rc93+dev commit: ba257d2de86e7e530eeb28fe697e206630ef45f8 spec: 1.0.2-dev go: go1.15.8 libseccomp: 2.5.0 Package information: kir@ubu2004:~$ dpkg -l runc Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-===========================-============-================================= ii runc 1.0.0~rc93-0ubuntu1~20.04.2 amd64 Open Container Project - runtime kir@ubu2004:~$ runc -v runc version spec: 1.0.2-dev go: go1.13.8 libseccomp: 2.5.1
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1929106 Title: runc -v empty output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/runc/+bug/1929106/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs