Bug 1774755

Summary: syslog getting spammed with `{Created,Removed} slice libcontainer_*`
Product: Red Hat Enterprise Linux 8 Reporter: Dusty Mabe <dustymabe>
Component: runcAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: ajia, bbaude, ddarrah, dwalsh, jligon, jnovy, lsm5, mheon, miabbott, tsweeney, walters
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: runc-1.0.0-61.rc9.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:48:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dusty Mabe 2019-11-20 21:10:22 UTC
Description of problem:

On RHCOS (based on RHEL 8.1) I'm doing a container build on startup
and I see a ton of messages in the logs that are mostly not useful:

```
[  OK  ] Created slice libcontainer_29015_systemd_test_default.slice.                                                                                                      
[  OK  ] Removed slice libcontainer_29015_systemd_test_default.slice.
```

This is how many times I see it for one container build:

```
# journalctl | grep 'slice libcontainer_' | wc -l 
3494
```


Version-Release number of selected component (if applicable):

# rpm -q podman systemd
podman-1.6.2-0.3.gita8993ba.el8.x86_64
systemd-239-18.el8.x86_64


How reproducible:

Seems pretty reliable.


Steps to Reproduce:
1. Boot RHCOS/RHEL
2. Do a container build
3. Watch journalctl

If it helps I'm doing container builds of https://github.com/dustymabe/kvc-simple-kmod.git

Comment 1 Colin Walters 2019-11-20 21:52:23 UTC
Should be fixed by https://github.com/opencontainers/runc/pull/2117

Comment 5 Daniel Walsh 2019-11-21 15:02:45 UTC
We should ship the runc that is being shipped in Fedora 30,31

Comment 6 Jindrich Novy 2019-11-21 16:28:34 UTC
runc-1.0.0-61.rc9.el8 is now part of container-tools-rhel8-8.2.0.

Comment 8 Tom Sweeney 2019-11-21 17:52:06 UTC
Dusty any chance you could try runc-1.0.0-61.rc9.el8 and see if it cures your ills?

Comment 10 Dusty Mabe 2019-12-02 16:51:13 UTC
(In reply to Tom Sweeney from comment #8)
> Dusty any chance you could try runc-1.0.0-61.rc9.el8 and see if it cures
> your ills?

Yep seems to resolve the problem.

Comment 11 Tom Sweeney 2019-12-02 19:38:04 UTC
Awesome, thanks for the test Dusty(In reply to Dusty Mabe from comment #10)
> (In reply to Tom Sweeney from comment #8)
> > Dusty any chance you could try runc-1.0.0-61.rc9.el8 and see if it cures
> > your ills?
> 
> Yep seems to resolve the problem.

Awesome, thanks for the test Dusty.

Comment 16 errata-xmlrpc 2020-04-28 15:48:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1650