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 1200434 - atomic uninstall doesn't run uninstall command
Summary: atomic uninstall doesn't run uninstall command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: atomic
Version: 7.1
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: 2015-03-10 14:48 UTC by Chris Evich
Modified: 2018-11-28 08:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-28 08:02:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3723 0 None None None 2018-11-28 08:02:19 UTC

Description Chris Evich 2015-03-10 14:48:29 UTC
Description of problem:
I have a docker file that contains all three, 'LABEL INSTALL', 'LABEL UNINSTALL', and 'LABEL RUN'.  The commands for INSTALL and RUN work fine, but the UNINSTALL script does not run with 'atomic uninstall <image>', instead it just removes <image>

Version-Release number of selected component (if applicable):
RHEL AH 7.1 GA

How reproducible:
Very

Steps to Reproduce:
1. Make Dockerfile with all three LABELs, that run some command like 'echo test'
2. Build docker images from Dockerfile
3. atomic install <image>; atomic run <image>; atomic uninstall <image>

Actual results:
install and run work fine, however uninstall just docker rmi <image>

Expected results:
All three LABEL commands should run.

Additional info:
Related bug 1187127 and bug 1189861 maybe?

Comment 2 Colin Walters 2015-03-17 22:40:29 UTC
This component is currently in the "docker" package.

Comment 4 Daniel Walsh 2015-03-18 11:49:47 UTC
Fixed in docker-1.5.0-19.el7

Comment 5 Mike McCune 2016-03-28 22:32:18 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 7 Edward Shen 2018-11-16 06:30:27 UTC
verified on atomic-1.22.1-26.gitb507039.el7.x86_64. It's fixed.

Comment 9 errata-xmlrpc 2018-11-28 08:02:15 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-2018:3723


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