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: NEW --- 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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2133526 (view as bug list) Environment:
Last Closed: 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: