Re: dropping %systemd_requires from most packages (guidelines change and mass package update proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 09, 2019 at 04:56:25PM -0400, Neal Gompa wrote:
> On Thu, May 9, 2019 at 10:02 AM Zbigniew Jędrzejewski-Szmek
> <zbyszek@xxxxxxxxx> wrote:
> >
> > Hi,
> >
> > let's drop the requirement and ordering on systemd (as implemented by
> > %systemd_requires) from packages which provide systemd units.
> >
> 
> In general, I think this idea has some solid foundation. But I think
> it'd be dangerous to remove any kind of ordering hints from the
> solution, because that means we'd need logic to handle system
> bootstrap that needs to include systemd in DNF

What system bootstrap? Please explain.

> Would transitioning from %{?systemd_requires} to %{?systemd_ordering}
> instead work to do what you want? That still offers the necessary
> ordering hints to ensure systemd is set up early in a large
> transaction that includes everything.

If you are talking about an initial installation in the sense of
'dnf --installroot=... install <long list of packages>', then it
shouldn't matter whether systemd is installed early or late. It is
not started in this transaction, and it should be totally OK (*) to install
it at very end.

(*) As mentioned in my original e-mail, if packages have scriptlets
which use other systemd tools, this does not apply. But in that case those
packages need an explicit dependency.

> I don't relish the potential bugs that would come from losing all of
> those hints in packages that we got from %{?systemd_requires}.
> However, %{?systemd_ordering} would fix that issue.

No, neither should be needed.

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux