public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: Should preserve-libs be enabled by default?
@ 2008-05-28 23:13 Marius Mauch
  2008-05-29  4:48 ` [gentoo-dev] " Ryan Hill
                   ` (5 more replies)
  0 siblings, 6 replies; 76+ messages in thread
From: Marius Mauch @ 2008-05-28 23:13 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2730 bytes --]

As portage-2.2 is about to be unmasked into ~arch soon (there is one
weird bug to solve before) it's time to ask for some input on one of
the important new features, FEATURES=preserve-libs.

(if you're already familiar with it you can skip this paragraph)
Simply said, when this feature is enabled portage keeps track of all
installed libraries and binaries linked against them, and if a package
upgrade would remove a library that's still in use portage will keep
the library around, owned by the new version and also registered in a
separate file. There is also an internal package set that can be used
to rebuild all packages linked against libraries preserved in this way,
and the user is notified after each emerge operation that he should do
that (the example is from an expat downgrade in case you wonder about
the versions): 
!!! existing preserved libs:
>>> package: dev-libs/expat-1.95.8
 *  - /usr/lib64/libexpat.so.1
 *  - /usr/lib64/libexpat.so.1.5.2
Use emerge @preserved-rebuild to rebuild packages using these libraries

The purpose of this is to keep the system operational after library
upgrades until all affected packages could be rebuilt and to simplify
the process, not to avoid the rebuilds.

Now the question is if this behavior should be enabled by default?

In the existing prereleases it has been enabled to get some real-world
testing, and it's been quite effective, though there are still a few
issues to be worked out (e.g. if libraries are moved between packages).
And no doubt a few more bugs will turn up over time.
Also it is not going to be a perfect solution against all runtime link
errors, but if enabled it should eliminate the need for revdep-rebuild
in most cases.
One concern raised by some people is that it might cause old libraries
with security issues to stay on the system for eternity even though
the package was upgraded, and eventually be preferred by new builds.
I can't rule this out completely but thinks it's very unlikely, as
preserved libraries are specially tracked and the user is notified
about their existance after every emerge operation (similar to glep42
news). And new builds shouldn't find them as the unversioned .so
symlinks ar going to point to the current versions.
So personally I'm not too worried about this concern becoming reality,
but I can understand if others are.

So, do you think it should be enabled by default?

Marius

PS: Obviously, if you haven't tested portage-2.2 yet, now would be a
good time.

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 76+ messages in thread

end of thread, other threads:[~2008-06-01 16:44 UTC | newest]

Thread overview: 76+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28 23:13 [gentoo-dev] RFC: Should preserve-libs be enabled by default? Marius Mauch
2008-05-29  4:48 ` [gentoo-dev] " Ryan Hill
2008-05-29  5:14 ` [gentoo-dev] " Donnie Berkholz
2008-05-29  6:54 ` Rémi Cardona
2008-05-29  7:55   ` Fabian Groffen
2008-05-29 14:40   ` Arfrever Frehtes Taifersar Arahesis
2008-05-29  8:28 ` Mike Auty
2008-05-29 17:30   ` Marius Mauch
2008-05-29  9:02 ` [gentoo-dev] " Diego 'Flameeyes' Pettenò
2008-05-30  5:02   ` Marius Mauch
2008-05-30  6:55     ` Peter Volkov
2008-05-30  7:16       ` Mike Auty
2008-05-30 12:09         ` Santiago M. Mola
2008-05-30 12:22           ` Diego 'Flameeyes' Pettenò
2008-05-30 15:57             ` David Leverton
2008-05-30 16:29               ` Diego 'Flameeyes' Pettenò
2008-05-30 16:35                 ` Ciaran McCreesh
2008-05-30 16:43                 ` David Leverton
2008-05-30 19:13                   ` Luca Barbato
2008-05-30 19:20                     ` Ciaran McCreesh
2008-05-30 21:31                       ` Mart Raudsepp
2008-05-30 21:37                         ` Ciaran McCreesh
2008-05-30 21:47                           ` [gentoo-dev] RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?) Mart Raudsepp
2008-05-30 21:53                             ` Ciaran McCreesh
2008-05-30 22:07                               ` Donnie Berkholz
2008-05-30 22:14                                 ` Ciaran McCreesh
2008-05-30 23:13                                   ` Luca Barbato
2008-05-30 23:26                                     ` Ciaran McCreesh
2008-05-30 23:43                                       ` Brian Harring
2008-05-30 23:50                                         ` Ciaran McCreesh
2008-05-30 23:54                                       ` Luca Barbato
2008-05-31  0:02                                         ` Ciaran McCreesh
2008-05-31  0:17                                           ` Luca Barbato
2008-05-31  0:30                                             ` Ciaran McCreesh
2008-05-31  1:03                                               ` Luca Barbato
2008-05-31  1:17                                                 ` Ciaran McCreesh
2008-05-31  1:43                                                   ` Brian Harring
2008-05-31  1:50                                                     ` Ciaran McCreesh
2008-05-31  2:01                                                       ` Brian Harring
2008-05-31  2:08                                                         ` Ciaran McCreesh
2008-05-31  2:08                                                       ` Nirbheek Chauhan
2008-05-31  2:14                                                         ` Ciaran McCreesh
2008-05-31  2:23                                                           ` Nirbheek Chauhan
2008-05-31  2:33                                                             ` Ciaran McCreesh
2008-05-31  2:58                                                               ` Nirbheek Chauhan
2008-05-31  3:03                                                                 ` Ciaran McCreesh
2008-05-31  3:15                                                                   ` Nirbheek Chauhan
2008-05-31  3:28                                                                     ` Brian Harring
2008-05-31  6:25                                                                       ` Peter Volkov
2008-05-31 10:35                                                                         ` Luca Barbato
2008-05-31 11:26                                                                           ` Alec Warner
2008-05-31 11:41                                                                             ` Alexis Ballier
2008-05-31 11:45                                                                             ` Marius Mauch
2008-05-31 10:14                                                               ` Luca Barbato
2008-05-31 10:27                                                                 ` David Leverton
2008-05-31  2:50                                                           ` Ravi Pinjala
2008-05-31  3:03                                                             ` Ciaran McCreesh
2008-05-31 13:19                                                               ` [gentoo-dev] " Duncan
2008-05-31 19:24                                                     ` [gentoo-dev] Re: RFC: --as-needed to default LDFLAGS Ulrich Mueller
2008-05-31 19:32                                                       ` Mike Auty
2008-05-31 23:57                                                         ` Duncan
2008-06-01 16:44                                                       ` Rémi Cardona
2008-05-31  6:09                                                   ` [gentoo-dev] RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?) Michal Kurgan
2008-05-31  1:39                                   ` Josh Saddler
2008-05-30 23:08                               ` Luca Barbato
2008-05-30 23:16                                 ` Ciaran McCreesh
2008-05-30 23:18                                   ` Luca Barbato
2008-05-31  6:22                                   ` Roy Marples
2008-05-31  0:29                             ` Marius Mauch
2008-05-30 12:31           ` [gentoo-dev] Re: RFC: Should preserve-libs be enabled by default? Rémi Cardona
2008-05-30 12:39             ` Diego 'Flameeyes' Pettenò
2008-05-30 10:55       ` Ciaran McCreesh
2008-05-30 19:29         ` Luca Barbato
2008-05-30 19:48           ` Ciaran McCreesh
2008-05-30 11:37     ` Diego 'Flameeyes' Pettenò
2008-05-29 14:39 ` [gentoo-dev] " Arfrever Frehtes Taifersar Arahesis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox