[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dng
Subject:    Re: [DNG] runit 2.1.2-54+usrmerge: usrmerge becoming mandatory for Devuan?
From:       Lorenz via Dng <dng () lists ! dyne ! org>
Date:       2023-11-27 1:24:43
Message-ID: CAOEhTLyGuNHPKc3vXSdEvzEJpodvLLHjwycamEuL-GNkEAF1xw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Martin, hi List,

Il giorno dom 26 nov 2023 alle ore 11:49 Martin Steigerwald <
martin@lichtvoll.de> ha scritto:

> Hi!
>
> I just upgrade to runit 2.1.2-54+usrmerge on Devuan Ceres and it gave me
> the following output:
>
>    === WARNING ===
> unmerged system detected via /sbin
> warning: unmerged systems will fail to boot very soon
> due to /[s]bin/ directories becoming empty!!   <----THIS IS THE PROBLEM
> !!!
> please merge this system as soon as possible
> for details refer to DEP17 (M2) documentation
> https://subdivi.de/~helmut/dep17.html
>
>

> Do I need to merge usr on my Devuan Ceres systems in order to prevent boot
> them failing *very soon*. Or is that hint only aimed at Debian users?
>

Yes you need to perform the merge on Ceres.
If you are using Stable (Daedalus) you can still run unmerged but you need
to
remember to perform the merge *before* you ugrade to the next stable
(Excalibur).
If you are tracking testing or unstable you need to perform the merge as
soon
as possible.
This is true for Debian and likely any derivative around; it is also true
regardless
the init you use (runit, sysvinit or openrc).

Stive Litt wrote :
> I'm pretty sure if worst came to worst you could install runit by the
> old ./configure;make;make-install route, and it will work just fine
> with or without the merge, forever.
right now, it really won't work

Svante Signell wrote :
> Hopefully your system will continue to work fine without usrmerge.
Sadly, no

Let me try to better explain this:
Mitigation M2 in
https://subdivi.de/~helmut/dep17.html
means that *every deb package* is about to ship files directly in /usr/bin
instead of /bin, or directly in /usr/lib instead of /lib and so on..
An unmerged system will end up *without* /bin/sh,
/sbin/init, /lib64/ld-linux-x86-64.so.2
(on amd64) just to make few relevant examples.
At the end of the process (expected around March 2024) an unmerged system
will have /bin, /lib, /sbin directories empty: but I doubt the system will
be able to
perform upgrades to that point.
This move is *mandatory* for every Debian package, so until some derivative
starts to support unmerged layout by forking 500/1000 packages (or by some
other means) the unmerged layout will be broken.

Hope this helps to better understand the situation,
Lorenzo

P.S.
Note that runit is only acting as a messenger here: as runit maintainer
supporting
unmerged system is out of scope (and not feasible since for example I don't
have
control over /bin/sh) but failing to boot is a problem for the package. So
I decided
to print the message with the hope to be able to reach as many users as
possible
before the fallout.
Even if the unmeged layout was declared unsupported, simply breaking
systems with upgrades to the point where the user is forced to reset only
to find
out the the system will fail to boot - without any prior warning -  does
not seem a
good approach to me..

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi Martin, hi List,</div><div><br></div><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 26 nov 2023 alle \
ore 11:49 Martin Steigerwald &lt;<a \
href="mailto:martin@lichtvoll.de">martin@lichtvoll.de</a>&gt; ha \
scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br> <br>
I just upgrade to runit 2.1.2-54+usrmerge on Devuan Ceres and it gave me <br>
the following output:<br><br>
     === WARNING ===     <br>
unmerged system detected via /sbin<br>
warning: unmerged systems will fail to boot very soon<br>
due to /[s]bin/ directories becoming empty!!     &lt;----THIS IS THE PROBLEM   \
!!!<br> please merge this system as soon as possible<br>
for details refer to DEP17 (M2) documentation<br>
<a href="https://subdivi.de/~helmut/dep17.html" rel="noreferrer" \
target="_blank">https://subdivi.de/~helmut/dep17.html</a><br><br></blockquote><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"> Do I need to merge usr on my Devuan Ceres \
systems in order to prevent boot <br> them failing *very soon*. Or is that hint only \
aimed at Debian users?<br></blockquote><div>  </div><div>Yes you need to perform the \
merge on Ceres.</div><div>If you are using Stable (Daedalus) you can still run \
unmerged but you need to</div><div>remember to perform the merge *before* you ugrade \
to the next stable (Excalibur).</div><div>If you are tracking testing or unstable you \
need to perform the merge as soon</div><div>as possible.</div><div>This is true for \
Debian and likely any derivative around; it is also true regardless</div><div>the \
init you use (runit, sysvinit or openrc).</div><div><br></div><div>Stive Litt wrote \
:</div><div>&gt; I&#39;m pretty sure if worst came to worst you could install runit \
by the<br>&gt; old ./configure;make;make-install route, and it will work just \
fine<br>&gt; with or without the merge, forever.<br></div><div>right now, it really \
won&#39;t work</div><div><br></div><div>Svante Signell wrote :</div><div>&gt; \
Hopefully your system will continue to work fine without usrmerge.</div><div>Sadly, \
no</div><div><br></div><div>Let me try to better explain this:</div><div>Mitigation \
M2 in</div><div><a href="https://subdivi.de/~helmut/dep17.html" rel="noreferrer" \
target="_blank">https://subdivi.de/~helmut/dep17.html</a><br></div><div>means that \
*every deb package* is about to ship files directly in /usr/bin</div><div>instead of \
/bin, or directly in /usr/lib instead of /lib and so on..</div><div>An unmerged \
system will end up *without* /bin/sh, /sbin/init,  \
/lib64/ld-linux-x86-64.so.2</div><div>(on amd64) just to make few relevant \
examples.</div><div>At the end of the process (expected around March 2024) an \
unmerged system</div><div>will have /bin, /lib, /sbin directories empty: but I doubt \
the system will be able to</div><div>perform upgrades to that point.</div><div>This \
move is *mandatory* for every Debian package, so until some \
derivative</div><div>starts to support unmerged layout by forking 500/1000 packages \
(or by some</div><div>other means) the unmerged layout will be \
broken.</div><div><br></div><div>Hope this helps to better understand the \
situation,</div><div>Lorenzo</div><div><br></div><div>P.S.</div><div>Note that runit \
is only acting as a messenger here: as runit maintainer supporting</div><div>unmerged \
system is out of scope (and not feasible since for example I don&#39;t \
have</div><div>control over /bin/sh) but failing to boot is a problem for the \
package. So I decided</div><div>to print the message with the hope to be able to \
reach as many users as possible</div><div>before the fallout.</div><div>Even if the \
unmeged layout was declared unsupported, simply breaking</div><div>systems with \
upgrades to the point where the user is forced to reset only to find</div><div>out \
the the system will fail to boot - without any prior warning -   does not seem \
a</div><div>good approach to me..</div><div>  </div><div><br></div></div></div>



_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic