Bug 2112979

Summary: Don't ship foreman-proxy-selinux in capsule repos
Product: Red Hat Satellite Reporter: Aldrey Souza <alsouza>
Component: PackagingAssignee: Eric Helms <ehelms>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ehelms
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:35:05 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 Aldrey Souza 2022-08-01 15:27:07 UTC
Description of problem:
Package foreman-proxy-selinux is available in the repository 'rhel-7-server-satellite-capsule-6.10-rpms'

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


How reproducible:

Steps to Reproduce:
1. Install the package 'foreman-proxy-selinux'
2. Try to restart the selinux
3. Got the error:
~~~
# systemctl restart foreman-proxy
Job for foreman-proxy.service failed because the control process exited with error code. See "systemctl status foreman-proxy.service" and "journalctl -xe" for details.
~~~

Actual results:
The foreman-proxy failed to start

Expected results:
The foreman-proxy started with success

Additional info:
We had the Bugzilla below about this package:
 - Don't ship foreman-proxy-selinux in satellite and capsule repos
  https://bugzilla.redhat.com/show_bug.cgi?id=1840533

Then, I believe we published the package again but it is not needed:
~~~
# yum list foreman-proxy-selinux
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
Installed Packages
foreman-proxy-selinux.noarch                                                               2.5.2-1.el7sat                                                                @rhel-7-server-satellite-capsule-6.10-rpms
Uploading Enabled Repositories Report
Loaded plugins: product-id, subscription-manager
~~~

Comment 1 Lukas Pramuk 2022-09-21 16:01:24 UTC
VERIFIED.

@Satellite 6.12.0 Snap11

by following manual steps:

@Capsule
# yum --disableplugin=foreman-protector list foreman-proxy-selinux --showd
...
Error: No matching Packages to list

>>> foreman-proxy-selinux is no longer present in the Capsule repo

Comment 5 errata-xmlrpc 2022-11-16 13:35:05 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 (Important: Satellite 6.12 Release), 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/RHSA-2022:8506