Bug 2131659 - upgrade_instructions not removed on minor updates
Summary: upgrade_instructions not removed on minor updates
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: openldap-epel
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact:
URL:
Whiteboard:
Depends On: 2133526
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-03 06:46 UTC by Rik Theys
Modified: 2023-12-01 09:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2133526 (view as bug list)
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.