FS#62597 - [podman] 1.3.0 libpod.conf runtimes section error

Attached to Project: Community Packages
Opened by Matthew Critchlow (mcritchlow) - Friday, 10 May 2019, 21:01 GMT
Last edited by Balló György (City-busz) - Friday, 30 August 2019, 05:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

Reporting an upstream bug: https://github.com/containers/libpod/issues/3095

This results in a runtime error on nearly every podman command.

Steps to reproduce:
- Install latest podman (1.3.0)
- Run any podman command (other than version)
- Result:

~ % podman info
Error: could not get runtime: error decoding configuration file /usr/share/containers/libpod.conf: Type mismatch for 'libpod.RuntimeConfig.runtimes': Expected slice but found 'string'.
This task depends upon

Closed by  Balló György (City-busz)
Friday, 30 August 2019, 05:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  podman 1.3.1-1
Comment by Scott (firecat53) - Wednesday, 15 May 2019, 00:30 GMT
From https://github.com/containers/libpod/blob/master/libpod.conf:

# The [runtimes] table MUST be the last thing in this file.
# (Unless another table is added)
# TOML does not provide a way to end a table other than a further table being
# defined, so every key hereafter will be part of [runtimes] and not the main
# config.

The `events_logger = "journald"` line was at the end of the file. Moving this above `[runtimes]` fixes the problem.
Comment by Flavio (Flavio) - Friday, 17 May 2019, 13:29 GMT
Upstream fixed this for the incoming version 1.3.1 (https://github.com/containers/libpod/pull/3116).

Loading...