Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871126 - app-admin/rsyslog: Add docker USE flag for imdocker module
Summary: app-admin/rsyslog: Add docker USE flag for imdocker module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Maciej Barć
URL: https://www.rsyslog.com/doc/master/co...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 21:31 UTC by r7l
Modified: 2022-09-18 12:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description r7l 2022-09-17 21:31:08 UTC
Rsyslog does ship an input module with the ability to receive container logs from Docker. Currently the module will not be build when installing Rsyslog with Portage and there is no way to include it. I've tested it locally and it should be really easy to add. It could be done with a "docker" USE flag and this line:

$(use_enable docker imdocker)

Would it be possible to add this plugin? Thanks allot.

Reproducible: Always
Comment 1 Maciej Barć gentoo-dev 2022-09-18 12:08:55 UTC
Looks like the "imdocker" module does not need docker to build, let's enable it by default.
Comment 2 Larry the Git Cow gentoo-dev 2022-09-18 12:20:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6382215fcbbb8e861da7e6da09f1a35375a57daa

commit 6382215fcbbb8e861da7e6da09f1a35375a57daa
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-09-18 12:12:35 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-09-18 12:20:31 +0000

    app-admin/rsyslog: enable the imdocker input module
    
    Closes: https://bugs.gentoo.org/871126
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../rsyslog/{rsyslog-8.2206.0.ebuild => rsyslog-8.2206.0-r1.ebuild}      | 1 +
 .../rsyslog/{rsyslog-8.2208.0.ebuild => rsyslog-8.2208.0-r1.ebuild}      | 1 +
 2 files changed, 2 insertions(+)