Bug#971282: ABI breakage: paths changed for sysusers.d/sysctl.d/binfmt/modules-load.d

Felipe Sateler fsateler at debian.org
Mon Oct 5 18:14:50 BST 2020


On Mon, Oct 5, 2020 at 1:02 PM Michael Biebl <biebl at debian.org> wrote:

> Am 05.10.20 um 17:25 schrieb Felipe Sateler:
> > I think the plan should be:
> >
> > 1. Change debhelper and i-s-h to install to /usr
>
> I assume you mean, that dh_installsystemd/dh_systemd should install
> debian/foo.service and debian/foo.udev to /usr/lib?
>

Correct, that's what I mean.


>
> Should debhelper also actively move files from /lib to /usr/lib when
> they are installed to /lib by the upstream build system?
>

Hmm, interesting idea. On the one hand, we didn't do it for /lib. On the
other hand, it would probably save a lot of churn.


>
> We need to decide whether to tie that to a compat bump (in which case it
> would be a very slow process) or whether to do that unconditionally.
>

I think the lintian maintainers would have a preference here. If we do it,
I would prefer unconditionally, but they might prefer a new compat level.

I'm not sure if debhelper does look in /usr/lib/systemd/system. If not,
that needs to be fixed.


>
> > 2. Change the lintian warnings to point to /usr
> > 3. Drop the /lib mangling from all the manpages
> > 4. Wait a lot :(. At least a full release cycle, I think.
> > 5. Drop the split and install fully to /usr, with some compat links for
> > non-merged-/usr.
>
> I guess we only need compat symlinks for binaries in /bin. We need to
> determine if we create symlinks for all of them or only for a select few
> ones, which would have a high impact and would cause unnecessary churn.
>
> A few more bullet points
> - Add support to udev to run udev helper binaries from both paths (see
> the patch in my MR).
>

Right. Ideally, only for the transition period.


>
> - Change systemd.pc and udev.pc and point udevdir to /usr/lib/udev and
> let the various systemd paths point to /usr/lib/.
> This will likely break a few packages, so it would probably be good to
> do a archive wide rebuild of packages build-depending on systemd or udev.
>

I believe doing systemd first is easier (it already has the logic for
multi-path search).

Do you think doing both udev and systemd at the same time is better?

-- 

Saludos,
Felipe Sateler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20201005/6c6b4883/attachment-0001.html>


More information about the Pkg-systemd-maintainers mailing list