Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Simon Richter
Hi, On Thu, Apr 27, 2023 at 12:34:06AM +0200, Helmut Grohne wrote: > At some point the question becomes: Do we want that complexity inside > dpkg (aka DEP 17 or some variant of it) or outside of dpkg (i.e. what > we're talking about here). It seems clear at this time, that complexity > is unavoid

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Helmut Grohne
On Wed, Apr 26, 2023 at 07:11:10AM -0600, Sam Hartman wrote: > > "Simon" == Simon McVittie writes: > > Simon> You might reasonably say that "the maintainer of bar didn't > Simon> add the correct Breaks/Replaces on foo" is a RC bug in bar - > Simon> and it is! - but judging by the

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Helmut Grohne
On Tue, Apr 25, 2023 at 09:07:28PM +0200, Helmut Grohne wrote: > In sincerely hope that this fixed-up plan doesn't have any serious > issues. If you find any please tell. Thanks for the praise, but problems I found and I'm pretty sure this is only the tip of the iceberg. So for one thing, let us

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Sven Joachim
On 2023-04-26 10:34 +0100, Luca Boccassi wrote: > On Wed, 26 Apr 2023 at 10:11, Simon Richter wrote: >> >> What I'm mostly concerned about (read: have not verified either way) >> with /lib/ld.so and /bin/sh is what happens when dpkg learns of /bin and >> /lib as symlinks -- because right now, the

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Bastien ROUCARIES
Le mar. 25 avr. 2023 à 19:08, Helmut Grohne a écrit : > > Hi Luca, > > On Sat, Apr 22, 2023 at 01:06:18PM +0100, Luca Boccassi wrote: > > On Sat, 22 Apr 2023 at 11:50, Helmut Grohne wrote: > > > On Fri, Apr 21, 2023 at 03:29:33PM +0100, Luca Boccassi wrote: > > > > After Bookworm ships I plan to

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Raphael Hertzog
On Tue, 25 Apr 2023, Luca Boccassi wrote: > Brilliant! Would never have thought of using divert like that. +1 Nice trick. > So, what work would need to happen to make this reality? Do we need > tooling/scripts/build changes to support the divert scheme, or is it > "simply" a matter of documenting

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Sam Hartman
> "Simon" == Simon McVittie writes: Simon> You might reasonably say that "the maintainer of bar didn't Simon> add the correct Breaks/Replaces on foo" is a RC bug in bar - Simon> and it is! - but judging by the number of "missing Simon> Breaks/Replaces" bug reports that have to

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Luca Boccassi
On Wed, 26 Apr 2023 at 10:11, Simon Richter wrote: > > Hi, > > On Tue, Apr 25, 2023 at 09:07:28PM +0200, Helmut Grohne wrote: > > > This and /bin/sh is the kind of files I'd consider important. And then > > upon thinking further it became more and more difficult for me to make > > sense of the obj

Re: DEP 17: Improve support for directory aliasing in dpkg

2023-04-26 Thread Simon Richter
Hi, On Tue, Apr 25, 2023 at 09:07:28PM +0200, Helmut Grohne wrote: > This and /bin/sh is the kind of files I'd consider important. And then > upon thinking further it became more and more difficult for me to make > sense of the objection. On a merged system, we can just move that file > to its ca