Bug 1136393

Summary: katello-agent can not be uninstalled on RHEL7
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: katello-agentAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Og Maciel <omaciel>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, cwelton, jmontleo, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/7330
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:22:01 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 Bryan Kearney 2014-09-02 13:29:36 UTC
The post-un script returns 1 on rhel7. I believe that this is due to the fact that the output of 

LC_ALL=C service goferd status | grep 'is running' && service goferd restart

is 

Redirecting to /bin/systemctl status  goferd.service

on RHEL7

Comment 2 Brad Buckingham 2014-09-02 18:03:58 UTC
Created redmine issue http://projects.theforeman.org/issues/7330 from this bug

Comment 3 Brad Buckingham 2014-09-02 19:06:13 UTC
Proposed fix in katello-agent PR:

https://github.com/Katello/katello-agent/pull/10

Comment 4 Brad Buckingham 2014-09-02 21:08:17 UTC
An additional PR was created; therefore, the total solution is in the following:

https://github.com/Katello/katello-agent/pull/10
https://github.com/Katello/katello-agent/pull/11

Comment 8 Og Maciel 2014-09-04 14:39:25 UTC
VERIFIED by QE using Satellite-6.0.4-RHEL-6-20140903.1 build.

Comment 9 Bryan Kearney 2014-09-11 12:22:01 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.