[systemd-devel] Question about system-update.target

Richard Hughes hughsient at gmail.com
Mon Apr 27 07:47:46 PDT 2015


On 27 April 2015 at 15:18, Lennart Poettering <lennart at poettering.net> wrote:
> Well, thinking about this, maybe OnFailure=reboot.target is missing
> the point for these services. After all, the system should reboot
> regardless if the update fails or not...

Not quite; PackageKit supports an update-offline-and-then-shutdown
mode at the request of the GNOME designers. If we can configure that
using systemd I'd gladly rip out the code in PackageKit and move it
down to systemd.

> This would mean that any updating service would pull this in, and
> order itself before it. Sicne this new service is hence ordered efter
> each updating service it will only run after all of them finished,
> regardless if failed or succeeded.
> Does this make sense to you?

Sure, it does, modulo the feature above.

Richard.


More information about the systemd-devel mailing list