SHA256
1
0
forked from pool/systemd

6 Commits

Author SHA256 Message Date
5a207bbc6d - systemd-update-helper: fix regression introduced when support for package
renaming/splitting was added (bsc#1245551)
  The cleanup of the flags in /run/systemd/rpm was previously handled in the
  %pretrans/%posttrans sections of the systemd main package. However, this
  method was ineffective if systemd was not part of the transaction. The cleanup
  is now run in %transfiletriggerin instead.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1645
2025-07-15 17:33:51 +00:00
170431aa51 Accepting request 1277737 from home:favogt:branches:Base:System
- systemd-update-helper: Fix invalid use of "break" in case statement

OBS-URL: https://build.opensuse.org/request/show/1277737
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1622
2025-05-15 13:27:08 +00:00
e3e915f07d - systemd-update-helper: do not stop or disable services when they are migrated
to other packages. This can occur during package renaming or splitting.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1619
2025-04-22 15:15:46 +00:00
80ef73cad8 - systemd-update-helper: backport commit 2d0af8bc354f4a1429ce
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1571
2024-12-26 11:16:56 +00:00
f108cb9936 - Reexecute user managers on package updates.
For now we send signal to user instances to trigger their reexecution. It's
  asynchronous but it shouldn't cause any problem in practice and it's probably
  safer than triggering reexecution with "systemctl --user -M 1000@
  daemon-reexec" command. The latter command creates a new PAM session behind
  the scene bringing with it the known issue (upstream issue #8598) with
  "(sd-pam)" helper process when the PAM session is being closed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1393
2023-06-01 15:56:32 +00:00
54a2689126 - Provide (Lua-based) file triggers and adapt systemd.spec accordingly (boo#1133764)
More specifically, file triggers handle automatically installations or updates
  of files for sysusers, tmpfiles, hwdb, journal catalog, udev rules, sysctl and
  binfmt.
  Therefore it makes a bunch of systemd rpm macros (such as %udev_hwdb_update,
  %udev_rules_update, %journal_catalog_update, %tmpfiles_create,
  %sysusers_create and so on) not needed anymore. However before considering
  simplifying your spec files beware that these changes are not available in SLE
  yet and will probably never reach the current releases (latest one being
  SLE15-SP5 as of this writing).
  Macros dealing with unit restart/enabling (such as %systemd_pre,
  %service_add_pre, %service_del_postun, ...) are still needed though. However
  reloading of systemd instances (and thus restarting of units) are delayed
  until the very end of the package install/update transaction and is now done
  only once. 
  Nevertheless to fully take advantage of file triggers, users have to activate
  a specific zypper transaction backend which is still considered as
  experimental, see bsc#1041742 for details.
- Provide a (slighlty) customized version of systemd-update-helper. Some of the
  systemd rpm macros rely now on the helper and delegate their work to it. Hence
  we don't need to rebuild all packages anymore when the content of the rpm
  macros must be updated/fixed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1390
2023-05-09 14:01:32 +00:00