Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 2120317

Summary: Unable to remove tftp-server package from Satellite 6.11 installed on RHEL 8 due to dependencies.
Product: Red Hat Satellite Reporter: Akshay Kapse <akapse>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: ehelms
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-06 00:36:40 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 Akshay Kapse 2022-08-22 14:14:53 UTC
Description of problem:
- Satellite is not used for provisioning, so installed with the "--foreman-proxy-tftp false" option and need to uninstall the tftp-server package (as it is a DISA STIG violation), but unable to do so due to dependent packages.


How reproducible:
- Easily


Steps to Reproduce:
1. Install Satellite 6.11 on RHEL 8 (On RHEL 7 tftp-server package have no dependencies, so can be uninstalled easily).

2. Now try to remove tftp-server package.


Actual results:
1) On Satellite 6.11 installed on RHEL 8:
# yum remove tftp-server 
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Reading Foreman protector configuration
*** Excluded total: 0

Nothing excluded by foreman-protector!

Dependencies resolved.
==================================================================================================================================================
 Package                                            Arch       Version                           Repository                                  Size
==================================================================================================================================================
Removing:
 tftp-server                                        x86_64     5.2-24.el8                        @rhel-8-for-x86_64-appstream-rpms           67 k
Removing dependent packages:
 satellite                                          noarch     6.11.1-1.el8sat                   @satellite-6.11-for-rhel-8-x86_64-rpms      73  
Removing unused dependencies:
<list of packages>
Transaction Summary
=======================================================================================
Remove  149 Packages


2) On Satellite 6.11 installed on RHEL 7:
# yum remove tftp-server
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Resolving Dependencies
--> Running transaction check
---> Package tftp-server.x86_64 0:5.2-22.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                           Arch                         Version                           Repository                                 Size
==================================================================================================================================================
Removing:
 tftp-server                       x86_64                       5.2-22.el7                        @rhel-7-server-rpms                        64 k

Transaction Summary
==================================================================================================================================================
Remove  1 Package



Expected results:
- To be able to remove tftp-server package easily as it can be removed on Satellite server installed on RHEL 7.

Comment 1 Eric Helms 2023-09-06 00:36:40 UTC

*** This bug has been marked as a duplicate of bug 2109740 ***