8510cad Go back to using systemctl preset-all in %post (#1647172, #1118740)

Authored and Committed by adamwill 5 years ago
1 file changed. 11 lines added. 13 lines removed.
    Go back to using systemctl preset-all in %post (#1647172, #1118740)
    
    We tried this back in 2016 and it didn't go so well, because at
    that time, preset-all was badly broken. See
    https://bugzilla.redhat.com/show_bug.cgi?id=1363858 for the
    history there. It seems that the bugs in preset-all were fixed
    quite soon after that, but for whatever reason, the change to
    %post was not re-applied (probably it just got forgotten).
    
    We've now run into a bug in Rawhide where dbus-daemon is getting
    installed before systemd despite having a dependency that should
    make that not happen:
    https://bugzilla.redhat.com/show_bug.cgi?id=1647172
    this is apparently because there are very complex dependency
    loops during initial install that rpm cannot find a single
    clearly correct 'answer' for, so it does not always choose to
    honor this dependency. We can take a look at breaking up those
    loops, but we also figured it can't hurt to resurrect this change
    to help with such cases: this way if some service with a preset
    *does* happen to get installed before systemd, and so its attempt
    to apply the preset in its own %post fails, that will be fixed up
    here.
    
        
  • Build completed
    success
    Built as systemd-239-9.git9f3aed1.fc30
    5 years ago
file modified
+11 -13