Bug 2131659

Summary: upgrade_instructions not removed on minor updates
Product: [Fedora] Fedora EPEL Reporter: Rik Theys <rik.theys>
Component: openldap-epelAssignee: Mattias Ellert <mattias.ellert>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: andreas.haupt, mattias.ellert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openldap-epel-2.6.6-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2133526 (view as bug list) Environment:
Last Closed: 2024-08-04 01:54:46 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:
Bug Depends On: 2133526    
Bug Blocks:    

Description Rik Theys 2022-10-03 06:46:45 UTC
Description of problem:

Recent versions of the openldap-servers package (2.6+) fail to start if UPGRADE_INSTRUCTIONS exists. This is to indicate to the admin that changes need to be made between version 2.4 and 2.6.

But the file is also kept when an upgrade is performed from 2.6.2-1 to 2.6.2-2, which is the same (major) version. This isn't necessary and causes unnecessary downtime due to updates.

Looking at the postinst scripts, it seems the UPGRADE_INSTRUCTIONS file is only removed on new installs, but never on upgrades. I believe it should also be removed if the major version of the old and new package matches. 


Version-Release number of selected component (if applicable):
openldap-servers-2.6.2-2.el9.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install openldap-servers-2.6.2-1.el9.x86_64
2. Update to openldap-servers-2.6.2-2.el9.x86_64
3.

Actual results:
slapd is no longer running because UPGRADE_INSTRUCTIONS exists

Expected results:
slapd running after upgrade

Additional info:

Comment 1 Fedora Update System 2024-07-26 10:52:02 UTC
FEDORA-EPEL-2024-0a3412d11f (openldap-epel-2.6.6-3.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-0a3412d11f

Comment 2 Fedora Update System 2024-07-27 02:39:59 UTC
FEDORA-EPEL-2024-0a3412d11f has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-0a3412d11f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-08-04 01:54:46 UTC
FEDORA-EPEL-2024-0a3412d11f (openldap-epel-2.6.6-3.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.