Bug 1241638

Summary: OpenScap needs an obsoletes
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: PackagingAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact: David O'Brien <daobrien>
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, cwelton, kbidarka, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 15:56:38 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 2015-07-09 16:41:18 UTC
On 07/09/2015 07:48 AM, Bryan Kearney wrote:
> (10:44:38 AM) bryan_kearney: kk.. thanks
> (10:44:41 AM) slukasik: and input from selinux team
> (10:44:52 AM) slukasik: however, there is bug in your specfile
> (10:45:03 AM) slukasik: We need to have following line:
> (10:45:07 AM) slukasik: Obsoletes: openscap-selinux
> (10:45:21 AM) slukasik: in openscap-scanner sub-package section
> (10:45:30 AM) slukasik: It must not go to any other sections
> (10:45:41 AM) bryan_kearney: kk.. I will send it along to mike
> (10:45:48 AM) slukasik: thank You!
> (10:46:06 AM) slukasik: we need this obsolete to not break existing
> instalations ...

Comment 1 RHEL Program Management 2015-07-09 17:04:55 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 5 David O'Brien 2015-08-20 05:22:46 UTC
There's not enough info here for me to create a useful rel note. Can someone please provide suitable doc text?

thanks

Comment 6 Brad Buckingham 2015-08-20 13:12:07 UTC
A rel note shouldn't be needed for this one; therefore, removing the sat61-release-notes blocker.

Comment 7 Kedar Bidarkar 2015-09-01 12:37:35 UTC
Please let me know, what exactly needs to be tested here and how.

Comment 8 Bryan Kearney 2015-09-01 13:14:31 UTC
We can either set up a test where you have the old openscap=selinx and this removes it, or you can just verify the obsoletes with

rpm -q --obsoletes openscap-scanner

Comment 9 Kedar Bidarkar 2015-09-01 15:30:56 UTC
I believe this is not yet fixed, FAILEDQA


As mentioned in comment8, I believe installing openscap-scanner should remove openscap-selinux.


I didn't find openscap-selinux package from rhel-base or from brewroot, so decided to check with just "rpm -q --obsoletes openscap-scanner" but no luck.


For RHEL6: 

[root@xyzabc ~]# rpm -qp --obsoletes ./openscap-scanner-1.2.4-1.el6_6sat.x86_64.rpm 
[root@xyzabc ~]# 

we don't see the obsoletes


For RHEL7:

[root@xyzabc  ~]# rpm -qp --obsoletes ./openscap-scanner-1.2.4-1.el7sat.x86_64.rpm
[root@xyzabc ~]# 

we don't see the obsoletes

Comment 15 Corey Welton 2015-11-04 18:37:16 UTC
Verified in 6.1.4 compose 2

[root@rhsm-qe-3 ~]# rpm -q --obsoletes openscap-scanner
openscap-selinux

Comment 19 errata-xmlrpc 2015-11-19 15:56:38 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-2015:2474