<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 1, 2020 at 4:09 PM Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 28 Sep 2020 20:43:30 -0300 Felipe Sateler <<a href="mailto:fsateler@debian.org" target="_blank">fsateler@debian.org</a>><br>
wrote:<br>
> On Mon, Sep 28, 2020 at 4:03 PM Michael Biebl <<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>> wrote:<br>
> <br>
> > Package: systemd<br>
> > Version: 246.6-1<br>
> > Severity: important<br>
> ><br>
> > Upstream changed the paths in systemd.pc from prefix to rootprefix in<br>
> > v246 for sysusers_dir, sysctl_dir, binfmt_dir and modules-load_dir:<br>
> ><br>
> > <a href="https://github.com/systemd/systemd/commit/4a56315a990b802860170ecd1bbd3eb68e14a38b" rel="noreferrer" target="_blank">https://github.com/systemd/systemd/commit/4a56315a990b802860170ecd1bbd3eb68e14a38b</a><br>
> ><br>
> > This breaks packages which use pkg-config to determine those paths and<br>
> > where .install files reference /usr/. An example is mandos.<br>
> ><br>
> > I think we should revert this change. I don't see a compelling reason to<br>
> > move those files from /usr to /lib given that we require /usr to be<br>
> > pre-mounted by initramfs, if it's separate.<br>
> > Moving files from /usr to /lib files kinda backwards nowadays.<br>
> ><br>
> > I intend to apply a patch like the attached one in Debian.<br>
> > That said, I hope I can convince Lennart to revert this change upstream<br>
> > as well.<br>
> ><br>
> <br>
> Looks good to me.<br>
<br>
Ok, thanks for the review. Will apply it to Debian then.<br>
It doesn't look like upstream is interested in changing this back<br>
<br>
<a href="https://github.com/systemd/systemd/commit/4a56315a990b802860170ecd1bbd3eb68e14a38b#commitcomment-42793750" rel="noreferrer" target="_blank">https://github.com/systemd/systemd/commit/4a56315a990b802860170ecd1bbd3eb68e14a38b#commitcomment-42793750</a><br>
<br>
> <br>
> ><br>
> > Thoughts, Comments?<br>
> ><br>
> <br>
> I wonder if systemd can be fully installed into `/usr` now that we require<br>
> premounting. Maybe we should start changing lintian and other tools to<br>
> install into /usr instead of /lib for the tools that currently used<br>
> rootprefix (I believe systemd searches in /usr anyway).<br>
<br>
I gave this a try. It can.<br>
See <a href="https://salsa.debian.org/systemd-team/systemd/-/merge_requests/104" rel="noreferrer" target="_blank">https://salsa.debian.org/systemd-team/systemd/-/merge_requests/104</a><br>
Still very rough, but the package is usable and able to boot a system,<br>
reading udev rules and systemd services from both /lib and /usr/lib.<br>
We probably need quite a few more compat symlinks though.</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">
<br>
This is only the systemd/udev side, though.<br>
The i-s-h/debhelper side is still missing and we'd need to hash out a<br>
plan for this. I'd need help with doing that.<br>
Anyone interested?<br></blockquote><div><br></div><div>I think this is where we should start (i-s-h/debhelper/lintian). I'll try to take a look over the weekend. It's a long weekend over here so I might have some time to take a look.</div><div><br></div><div>I think the plan should be:</div><div><br></div><div>1. Change debhelper and i-s-h to install to /usr</div><div>2. Change the lintian warnings to point to /usr</div><div>3. Drop the /lib mangling from all the manpages</div><div>4. Wait a lot :(. At least a full release cycle, I think.</div><div>5. Drop the split and install fully to /usr, with some compat links for non-merged-/usr.</div><div><br></div><div>What do you think?</div><div><br></div><div>-- </div></div><div dir="ltr" class="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div>