Red Hat Bugzilla – Bug 1285006
Atomic diff leaks FD when comparing images are not RPM based
Last modified: 2016-04-07 05:56:29 EDT
Description of problem:
Atomic diff leaks FD when comparing images are not RPM based,
it's caused by a ValueError exception without executing clean
Version-Release number of selected component (if applicable):
# rpm -q atomic docker
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
Steps to Reproduce:
1. docker pull busybox
2. atomic diff -nr busybox busybox
3. df -hT
# atomic diff -nr busybox busybox
busybox is not RPM based.
# df | grep /tmp
/dev/dm-4 10190100 38072 9611356 1% /tmp/d6d0332d84515366e5d0
/dev/dm-5 10190100 38072 9611356 1% /tmp/12fca07986c8d85d76b2
Fix FD leaks
Corrected in PR -> https://github.com/projectatomic/atomic/pull/239
Merged into upstream
Fixed in atomic-1.8
There is no FD leaks on atomic-1.8-2.gita35ae18.el7.x86_64, so move the bug to VERIFIED status.
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.