RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1448457 - docker-cleanup.timer triggers docker to start if it's not currently running
Summary: docker-cleanup.timer triggers docker to start if it's not currently running
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: docker
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lokesh Mandvekar
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-05 13:04 UTC by Scott Dodson
Modified: 2019-03-06 01:15 UTC (History)
4 users (show)

Fixed In Version: docker-1.12.6-22.git62520c0.el7_3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-26 14:52:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
fix (1.14 KB, patch)
2017-05-08 17:37 UTC, Jhon Honce
jhonce: review? (lsm5)
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1325 0 normal SHIPPED_LIVE docker bug fix and enhancement update 2017-05-26 18:14:24 UTC

Description Scott Dodson 2017-05-05 13:04:47 UTC
Description of problem:

If docker has been stopped then docker-cleanup.timer will trigger docker to start unexpectedly.

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

How reproducible:
100%

Steps to Reproduce:
1. yum install docker
2. systemctl start docker
3. systemctl stop docker
4. Wait until within 1 minute of the top of the hour
5. docker-cleanup.timer fires and docker is started


Actual results:
docker-cleanup.timer starts docker if it's not started

Expected results:
docker-cleanup.timer shouldn't start docker if it's not currently running

Additional info:

Comment 3 Jhon Honce 2017-05-08 17:37:07 UTC
Created attachment 1277138 [details]
fix

Comment 4 Scott Dodson 2017-05-09 14:51:51 UTC
Did a quick test by replicating the changes locally, seems to fix the issue.

Comment 7 Luwen Su 2017-05-15 09:43:45 UTC
The docker service doesn't start again that trigger by docker-cleanup.timer in docker-1.12.6-26.git62520c0.el7.x86_64, move to verified.

Comment 9 errata-xmlrpc 2017-05-26 14:52:18 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/RHBA-2017:1325


Note You need to log in before you can comment on or make changes to this bug.