Bug 1281290

Summary: Bad path for 'atomic uninstall' LABEL in cockpit-ws-docker image
Product: Red Hat Enterprise Linux 7 Reporter: Stef Walter <stefw>
Component: cockpit-ws-containerAssignee: Stef Walter <stefw>
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: bfallonf, dustymabe, jscotka, lfriedma, sghosh
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ws-docker-0.77-6 Doc Type: Bug Fix
Doc Text:
Previously, the `LABEL UNINSTALL` path in the cockpit-ws-docker image was incorrect. This bug fixes the path, and the image now works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 23:28:36 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 Stef Walter 2015-11-12 09:11:48 UTC
Description of problem:

The path in cockpit-ws-docker image uninstall LABEL is incorrect:

LABEL UNINSTALL /usr/bin/docker run -ti --rm --privileged -v /:/host IMAGE /cockpit/atomic-uninstall

It should be /container/atomic-uninstall

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

cockpit-ws-docker 0.77-5

Comment 1 Stef Walter 2015-11-12 09:13:19 UTC
This is the change that will fix this:

diff --git a/Dockerfile b/Dockerfile
index 69a0986..e281f82 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,7 @@ RUN chmod -v +x /container/atomic-run
 RUN rm -f /etc/os-release /usr/lib/os-release && ln -sv /host/etc/os-release /etc/os-release && ln -sv /host/usr/lib/os-release /usr/lib/os-release
 
 LABEL INSTALL /usr/bin/docker run -ti --rm --privileged -v /:/host IMAGE /container/atomic-install
-LABEL UNINSTALL /usr/bin/docker run -ti --rm --privileged -v /:/host IMAGE /cockpit/atomic-uninstall
+LABEL UNINSTALL /usr/bin/docker run -ti --rm --privileged -v /:/host IMAGE /container/atomic-uninstall
 LABEL RUN /usr/bin/docker run -d --privileged --pid=host -v /:/host IMAGE /container/atomic-run --local-ssh

Comment 8 errata-xmlrpc 2015-11-19 23:28:36 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://rhn.redhat.com/errata/RHEA-2015-2488.html