Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148703 - gnutls should leave old library like openssl
Summary: gnutls should leave old library like openssl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 148910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-22 14:48 UTC by Timothy Stotts
Modified: 2006-10-26 18:56 UTC (History)
2 users (show)

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 Timothy Stotts 2006-09-22 14:48:38 UTC
Hi.

When upgrading major versions I would like to suggest that the gnutls ebuild be modified to have similar behavior to the openssl ebuild:  leave the old library binary in-place to prevent instantaneous system-wide breakage; present the user with a notice to do revdep-rebuild and then manually remove the binary.

Rationale:  just like openssl, gnutls is used among bootup services.  Removing the binary can break some significant system services if USE="gnutls" was used to compile the system. The library is not like X, where if upgraded, most Internet/web services are unaffected.

As an example, I have a PPC system that I just upgraded gnutls from 1.2.x to 1.4.x because the library was stabilized. Key items such as CUPS, Subversion, ghostscript, curl, PHP, Prelude, and others broke.

Thanks for considering this.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-22 16:17:27 UTC
Just a thought...

I think it is somewhat different.

The question is if revdep-rebuild can run or not.

Since wget which is a key component in fetching files from the internet during emerge needs openssl, removing the libraries causes the system to be in invalid state without the ability to correct it.

I don't know if gnutls has the same type of dependency, but if it only breaks subversion, cups or any other application, I think the current behavior is correct.
Comment 2 Timothy Stotts 2006-09-22 17:17:51 UTC
Hmm... I had thought that not removing the openssl library binary was out of intent to prevent breakage with some of the more sensitive dependencies.  But if openssl's ebuild behavior is just intended to keep Portage operational, then I see that it may be unique in that respect.

What would really be neat then would be a USE flag, or equivalent, for more uptime-critical libraries, such as db, gnutls, etc., that keeps the primary library binary in-place upon upgrade of a major version.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 05:07:57 UTC
Besides, we had a bug w/ gnutls itself using its own old libraries to compile, better not risk other stuff doing the same.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-24 04:27:59 UTC
*** Bug 148910 has been marked as a duplicate of this bug. ***
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-24 11:29:00 UTC
any reason why keeping this bug opened?
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-26 18:56:27 UTC
If someone wants to handle this issue, please reopen.