From bac4d989f28dc4b79466ccab7b4243fb0d1538a9d834a71493e1c29defb4035f Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 22 Sep 2023 15:05:44 +0000 Subject: [PATCH] - systemd.spec: during package updates, restart localed, timedated and hostnamed if they're running. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1444 --- systemd.changes | 6 ++++++ systemd.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/systemd.changes b/systemd.changes index 0b369f59..d44953c0 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 22 15:04:54 UTC 2023 - Franck Bui + +- systemd.spec: during package updates, restart localed, timedated and hostnamed + if they're running. + ------------------------------------------------------------------- Fri Sep 22 14:23:38 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 85967108..ba707727 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1068,7 +1068,10 @@ fi %postun # Avoid restarting logind until fixed upstream (issue #1163) +%systemd_postun_with_restart systemd-hostnamed.service %systemd_postun_with_restart systemd-journald.service +%systemd_postun_with_restart systemd-localed.service +%systemd_postun_with_restart systemd-timedated.service %systemd_postun_with_restart systemd-userdbd.service %pre -n udev%{?mini}