FS#67044 - [conmon] conmon-1:2.0.18-1 breaks support for logging to journal

Attached to Project: Community Packages
Opened by Joost Molenaar (j0057_1) - Friday, 19 June 2020, 14:28 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 17 July 2020, 12:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrade to conmon-1:2.0.18-1, containers won't start, logging the following message:

Jun 19 16:13:27 muon podman[21740]: [conmon:e] Include journald in compilation path to log to systemd journal

The error is found in the source code here:

https://github.com/containers/conmon/blob/ab8f5e5a9b808f7ab3c2098eeada04795914a161/src/ctr_logging.c#L99

The Makefile switches on support for journald based on pkg-config:

https://github.com/containers/conmon/search?q=USE_JOURNALD&type=

Downgrading to conmon-1:2.0.17-1 fixes the problem.

Steps to reproduce:

[root@muon ~]# podman run --rm --log-driver journald alpine:3.12 sh -c 'echo hello world'
[conmon:e] Include journald in compilation path to log to systemd journal
Error: write child: broken pipe
This task depends upon

Closed by  Morten Linderud (Foxboron)
Friday, 17 July 2020, 12:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:2.0.18-2
Comment by Morten Linderud (Foxboron) - Thursday, 16 July 2020, 21:26 GMT
I forgot this issue. Is this still a problem? The culprint was a missing `systemd` makedepends as it was removed from `base-devel`
Comment by Joost Molenaar (j0057_1) - Friday, 17 July 2020, 12:16 GMT
Looks like the bug is fixed in conmon-1:2.0.18-2.
Comment by Morten Linderud (Foxboron) - Friday, 17 July 2020, 12:18 GMT
Thanks :) Closing.

Loading...