Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132246 - net-nds/openldap-2.3* shouldn't die on upgrade w/ USE=minimal
Summary: net-nds/openldap-2.3* shouldn't die on upgrade w/ USE=minimal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 06:23 UTC by Chris Gianelloni (RETIRED)
Modified: 2006-05-06 06:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2006-05-04 06:23:27 UTC
Even though a 2.2 to 2.3 upgrade isn't safe to be done automatically for servers, when someone uses USE=minimal, they won't be running a server anyway, so the upgrade *can* be done without interruption.  I guess you could add an additional check to see if the previous version was built with USE=minimal and simply continue, rather than calling die.  Another solution would be to determine if /var/lib/openldap-data actually had anything in it, other than the .keep and .version-tag, before calling die.  The second might be an even better solution.

Thanks,
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2006-05-06 06:22:24 UTC
Yeah, actually I only checked for more than 4 files in case no version tag exists, which obviously makes no sense ;)

I also added a check that no version-tag check is done in case your current merge try and the possibly merged version has USE="minimal"

Thanks for pointing this out :)