Le ven. 27 août 2021 à 20:33, Phil Morrell <
[email protected]> a écrit :
On Fri, Aug 27, 2021 at 07:34:06PM +0200, Bastien ROUCARIES wrote:
Le ven. 27 août 2021 à 17:20, Theodore Ts'o <[email protected]> a écrit :
On Fri, Aug 27, 2021 at 03:39:57AM +0100, Phil Morrell wrote:
- reverting the changes in deboostrap in sid, bullseye (and
ideally
in buster too),
- reverting the notion that split-/usr is unsupported (which
includes
the extremely confusing interpretation about this applying to
sid/testing too), and update documentation such as
release-notes,
This bullet point response confuses me - and then what?
If I understand your position correctly, you don't want merged-/usr
as
an end-goal and you disagree with usrmerge transition as a hack. In order to achieve the result above without bypassing Debian processes, the formal method would to pass a GR overriding the tech-ctte
minority.
But the question remains --- how do we as a community move forward? Debian is made up of volunteers, so we can't *force* the dpkg
developers to do anything they don't want to do. So what then?
Does someone need to create patches to dpkg which attempt to teach it that /bin/foo and /usr/bin/foo are the same file, if there exists a symlink from /bin to usr/bin?
So I repeat the question to the entire community --- what is to be
done? How do we move forward?
See the proposal here of guillem: https://wiki.debian.org/Teams/Dpkg/Spec/MetadataTracking
Hi Bastien, it's hard for me to see as an outsider to dpkg how that
proposal specifically addresses merged-/usr. It seems to be trying to
solve a much, much more generalised problem of which merged-/usr is just
a part. Is there no way to achieve the goal of making the dpkg database correspond with reality without that complexity?
No it will be more complex to spécial case then to solve thé général dir to symlink problem. Dpkg is a graph mathematical solver and as usual un math solving général problem ils often easier
Secondly, assuming that this mechanism is needed, then according to that
wiki page it appears to be almost complete? Can you confirm that the
only thing needed to support merged-/usr as an option is these two
remaining blockers?
[ ] (blocker) dpkg database access (.list and .md5sums)
* reportbug (no interface to map a db pathname to a pkgname)
[ ] (blocker) We cannot install .mtree files under /var/lib/dpkg/info/ because old or new .debs could have shipped those, and these might be invalid, or not match the contents. In general it seems like a bad
idea to store the files handled and generated by dpkg itself, with
files coming straight from the .debs. We need to separate them into different directories. Perhaps /var/lib/dpkg/info/<pkg>.<ctrl-file>
and /var/lib/dpkg/meta/<pkg>.<meta-file> or similar.
Yes ans no.
It is a needed condition to track symlink dir between package.
After it will need the same mécanism than that i have implemented with dpkg-maintscript-helper. But instead of failling like now when some file
under dir are owned by otherpackage, we could do something sensible and
notify thé other packages that dir is now symlink
Bastien
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 27 août 2021 à 20:33, Phil Morrell <<a href="mailto:
[email protected]">
[email protected]</a>> a écrit :<br></div><blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Aug 27, 2021 at 07:34:06PM +0200, Bastien ROUCARIES wrote:<br>
> Le ven. 27 août 2021 à 17:20, Theodore Ts'o <<a href="mailto:
[email protected]" target="_blank" rel="noreferrer">
[email protected]</a>> a écrit :<br>
> > On Fri, Aug 27, 2021 at 03:39:57AM +0100, Phil Morrell wrote:<br> > > > > - reverting the changes in deboostrap in sid, bullseye (and ideally<br>
> > > > in buster too),<br>
> > > > - reverting the notion that split-/usr is unsupported (which includes<br>
> > > > the extremely confusing interpretation about this applying to<br>
> > > > sid/testing too), and update documentation such as release-notes,<br>
> > ><br>
> > > This bullet point response confuses me - and then what?<br>
> > ><br>
> > > If I understand your position correctly, you don't want merged-/usr as<br>
> > > an end-goal and you disagree with usrmerge transition as a hack. In<br>
> > > order to achieve the result above without bypassing Debian processes,<br>
> > > the formal method would to pass a GR overriding the tech-ctte minority.<br>
> ><br>
> > But the question remains --- how do we as a community move forward?<br>
> > Debian is made up of volunteers, so we can't *force* the dpkg<br> > > developers to do anything they don't want to do. So what then?<br>
> ><br>
> > Does someone need to create patches to dpkg which attempt to teach it<br>
> > that /bin/foo and /usr/bin/foo are the same file, if there exists a<br>
> > symlink from /bin to usr/bin?<br>
> ><br>
> > So I repeat the question to the entire community --- what is to be<br>
> > done? How do we move forward?<br>
> <br>
> See the proposal here of guillem:<br>
> <a href="
https://wiki.debian.org/Teams/Dpkg/Spec/MetadataTracking" rel="noreferrer noreferrer" target="_blank">
https://wiki.debian.org/Teams/Dpkg/Spec/MetadataTracking</a><br>
Hi Bastien, it's hard for me to see as an outsider to dpkg how that<br> proposal specifically addresses merged-/usr. It seems to be trying to<br>
solve a much, much more generalised problem of which merged-/usr is just<br>
a part. Is there no way to achieve the goal of making the dpkg database<br> correspond with reality without that complexity?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">No it will be more complex to spécial case then to solve thé général dir to symlink problem. Dpkg is a graph mathematical solver
and as usual un math solving général problem ils often easier </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Secondly, assuming that this mechanism is needed, then according to that<br> wiki page it appears to be almost complete? Can you confirm that the<br>
only thing needed to support merged-/usr as an option is these two<br> remaining blockers?<br>
> [ ] (blocker) dpkg database access (.list and .md5sums) <br>
> * reportbug (no interface to map a db pathname to a pkgname) <br> > [ ] (blocker) We cannot install .mtree files under /var/lib/dpkg/info/<br> > because old or new .debs could have shipped those, and these might be<br> > invalid, or not match the contents. In general it seems like a bad<br> > idea to store the files handled and generated by dpkg itself, with<br> > files coming straight from the .debs. We need to separate them into<br> > different directories. Perhaps /var/lib/dpkg/info/<pkg>.<ctrl-file><br>
> and /var/lib/dpkg/meta/<pkg>.<meta-file> or similar.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes ans no.</div><div dir="auto"><br></div><div dir="auto">It is a needed condition to track symlink dir between
package.</div><div dir="auto"><br></div><div dir="auto">After it will need the same mécanism than that i have implemented with dpkg-maintscript-helper. But instead of failling like now when some file under dir are owned by otherpackage, we could do
something sensible and notify thé other packages that dir is now symlink</div><div dir="auto"><br></div><div dir="auto">Bastien</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
</blockquote></div></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)