From 02500d03689fca25e08d7ec6f38ad3e27ee2a4ad2ca347e5a9a8ef25f3280514 Mon Sep 17 00:00:00 2001 From: Filippo Bonazzi Date: Wed, 13 Dec 2023 13:55:36 +0000 Subject: [PATCH 1/3] Accepting request 1132749 from home:gmbr3:Active - Add missing newline after dbus.socket (user-preset) OBS-URL: https://build.opensuse.org/request/show/1132749 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-common-SUSE?expand=0&rev=67 --- default-SUSE-user.preset | 2 ++ default-SUSE.preset | 2 ++ systemd-presets-common-SUSE.changes | 12 ++++++++++++ 3 files changed, 16 insertions(+) diff --git a/default-SUSE-user.preset b/default-SUSE-user.preset index 2bcb798..a9b2bb7 100644 --- a/default-SUSE-user.preset +++ b/default-SUSE-user.preset @@ -5,3 +5,5 @@ enable wireplumber.service enable drkonqi-coredump-launcher.socket enable spice-vdagent.service enable xdg-user-dirs.service +enable dbus-broker.service +enable dbus.socket diff --git a/default-SUSE.preset b/default-SUSE.preset index fdecaa6..e569dfd 100644 --- a/default-SUSE.preset +++ b/default-SUSE.preset @@ -66,3 +66,5 @@ enable unbound-anchor.timer enable systemd-pstore.service enable wtmpdb-update-boot.service enable wtmpdb-rotate.timer +enable dbus-broker.service +enable dbus.socket diff --git a/systemd-presets-common-SUSE.changes b/systemd-presets-common-SUSE.changes index f62d0d5..099accd 100644 --- a/systemd-presets-common-SUSE.changes +++ b/systemd-presets-common-SUSE.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Dec 12 16:33:55 UTC 2023 - Callum Farmer + +- Add missing newline after dbus.socket (user-preset) + +------------------------------------------------------------------- +Tue Dec 12 16:33:54 UTC 2023 - Simon Lees + +- Swap from dbus to dbus-broker for system and user bus see + https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/EFZU4S7V5NJBEVPK5AECF55XR44PYWFT/ + for more detailed info. + ------------------------------------------------------------------- Thu Oct 19 11:24:59 UTC 2023 - Matthias Gerstner From 7eac4208561258c0c14d03b19ffb10e794e40f5fd6de5b3eb5b99481393cd0e6 Mon Sep 17 00:00:00 2001 From: Filippo Bonazzi Date: Fri, 2 Feb 2024 08:17:38 +0000 Subject: [PATCH 2/3] Accepting request 1143299 from home:michals:branches:Base:System - Split hcn-init.service to hcn-init-NetworkManager and hcn-init-wicked (bsc#1200731 ltc#198485 https://github.com/ibm-power-utilities/powerpc-utils/pull/84) Support both the old and new service to avoid complex version interdependency. OBS-URL: https://build.opensuse.org/request/show/1143299 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-common-SUSE?expand=0&rev=68 --- default-SUSE.preset | 2 ++ systemd-presets-common-SUSE.changes | 7 +++++++ systemd-presets-common-SUSE.spec | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/default-SUSE.preset b/default-SUSE.preset index e569dfd..343061d 100644 --- a/default-SUSE.preset +++ b/default-SUSE.preset @@ -22,6 +22,8 @@ disable fstrim.service enable fstrim.timer enable getty@.service enable hcn-init.service +enable hcn-init-NetworkManager.service +enable hcn-init-wicked.service enable ignition-delete-config.service enable ignition-firstboot-complete.service enable irqbalance.service diff --git a/systemd-presets-common-SUSE.changes b/systemd-presets-common-SUSE.changes index 099accd..5c6cbc1 100644 --- a/systemd-presets-common-SUSE.changes +++ b/systemd-presets-common-SUSE.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 1 10:59:49 UTC 2024 - Michal Suchanek + +- Split hcn-init.service to hcn-init-NetworkManager and hcn-init-wicked + (bsc#1200731 ltc#198485 https://github.com/ibm-power-utilities/powerpc-utils/pull/84) + Support both the old and new service to avoid complex version interdependency. + ------------------------------------------------------------------- Tue Dec 12 16:33:55 UTC 2023 - Callum Farmer diff --git a/systemd-presets-common-SUSE.spec b/systemd-presets-common-SUSE.spec index b55c82b..94fa894 100644 --- a/systemd-presets-common-SUSE.spec +++ b/systemd-presets-common-SUSE.spec @@ -1,7 +1,7 @@ # # spec file for package systemd-presets-common-SUSE # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 0062269f34f8e561d1307b28a9cb4cfeb43b391a80205e2dfbc006f75839726a Mon Sep 17 00:00:00 2001 From: Filippo Bonazzi Date: Fri, 2 Feb 2024 10:07:45 +0000 Subject: [PATCH 3/3] Accepting request 1143595 from home:fbonazzi:branches:Base:System - Split hcn-init.service to hcn-init-NetworkManager and hcn-init-wicked (bsc#1200731 ltc#198485 https://github.com/ibm-power-utilities/powerpc-utils/pull/84) Support both the old and new service to avoid complex version interdependency. - nvme-cli: enable nvmf-autoconnect.service for improved user experience (bsc#1216369). - Fix another case of systemctl being called with an empty argument. This if a preemptive fix for a similar issue to bsc#1212496. - Don't call systemctl list-unit-files with an empty argument, this will break enabling of system unit files [bsc#1212496] - Add wtmpdb-update-boot.service and wtmpdb-rotate.timer to enable wtmpdb as Y2038 safe wtmp replacement - Enable spice-vdagent.service and xdg-user-dirs.service by default (boo#1201728) - Enable systemd-pstore.service by default (jsc#PED-2663) - enable user side autostart of drkonqi socket (bsc#1203493). - Modify branding-preset-states to fix systemd-presets-common-SUSE not enabling new user systemd service preset configuration just as it handles system service presets. By passing an (optional) second parameter "user", the save/apply-changes commands now work with user services instead of system ones (boo#1200485) - enable ignition-delete-config by default (bsc#1199524) - Enable appstream-sync-cache.service by default(bsc#1197684). - enable vgauthd service for VMWare by default (bsc#1195251) - Replace the pipewire-media-session preset with a wireplumber user service preset to enable it by default (bsc#1200485). - Haveged as a daemon is no longer required since kernel 5.6 do not enable by default. - To make update of package man work with its new upstream timer and service units both called man-db enable also man-db.timer - When installing the systemd-presets-common-SUSE package for the first time in a new system, it might happen that some services are installed before systemd so the %systemd_pre/post macros would not work. This is handled by enabling all preset services in this package's %posttrans section but it wasn't enabling user services, just system services. Now it enables also the user services installed before this package, thus fixing boo#1186561 - Enable hcn-init.service for HNV on POWER (bsc#1184136 ltc#192155). - Enable user service pipewire-media-session.service (used with pipewire >= 0.3.23). - Enable user services pipewire.socket and pipewire-pulse.socket (boo#1183012). - Enable btrfsmaintenance-refresh.path and disable btrfsmaintenance-refresh.service to avoid needless refresh on boot (boo#1165780) - Enable dnf-makecache.timer - BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to shortcut the build queues by allowing usage of systemd-mini - Enable ignition-firstboot-complete.service - Enable logwatch.timer (bsc#1112500). - enable nvmefc-boot-connections.service to discover network-provided nvme drives on boot (bsc#1128428) - Recent versions of mlocate don't use updatedb.timer any more. Instead, the unit is called mlocate.timer. [boo#1115408] - branding-preset-states: Apply preset to all unit types (bsc#1121219). - Rename 90-default-SUSE.preset to 95-default-SUSE.preset, so product branding takes precedence over common presets. - Add default user preset: currently containing only the new pulseaudio.socket (bsc#1083473) - Add issue-generator.path to make sure /etc/issue is really regenerated if snippets change [bsc#1116825] - Enable new unbound-anchor timer to keep root.key updated (bsc#1115417) - Eanble new mdadm timers mdcheck_start.timer and mdmonitor-oneshot.timer (bsc#1115407) - mandb.timer: added as mandb moved from cron job to systemd timer (bsc#1115406) - disable ca-certificates.service as it needlessly slows down boot (boo#1088378). update-ca-certificates will still be triggered by the path when there are actual changes. - enable machines.target for the systemd based containers (bsc#1107941) - Eanble smartd_generate_opts.path: generate new smartd option file if sysconfig variables changes. - split out common service to be default enabled on all SUSE distributions from the branding. FATE#322139 - Enable backup-rpmdb.timer, backup-sysconfig.timer and check-battery.timer, previously cron.daily jobs. - Enable new kbdsettings.service (boo#1010880). - enable pcscd socket activation by default to support smartcards out of the box (boo#1063983) - Enable lvm2-lvmpolld.socket by default (bsc#1074211) - Enable lvm2-monitor.service by default (bsc#1072492) - Don't disable services with preset-all in %posttrans, the network is special and would be disabled. - If we do a fresh installation, call systemctl preset-all in the %posttrans section. Some services need to be installed before systemd or do not strictly require systemd, so systemd would only be installed after them and the systemd units of this package never enabled. - Enable klog.service and rsyslog.service by default, currently they enable themself always in post install section. - Enable btrfs-*.timer by default, switch from cron to systemd.timer - Enable btrfsmaintenance-refresh.service - Enable ModemManager.service by default (bsc#1038402). - Move common entries into default-SUSE.preset (bsc#1060676) - Sort entries with :'<,'>!sort -t ' ' -k 2 (bsc#1060676) - Enable ca-certificates to run on boot and on demand to create database in /var/lib/ca-certificates - removed duplicated iscsid.socket iscsid.servicce (bsc#1030161) - Bump version to 12.2 to make version numbers consistent between SLE and Leap (boo#1029775). - Remove superfluous uuidd.service. uuidd.socket is sufficient (bsc#1012850#c8). - Enable socket/service(s) for lvm2 (bsc#1011053) - Enable by default uuidd shipped by util-linux (bsc#1012850) util-linux was previously shipping a preset file enabling uuidd by default. This is now done here as other packages are not supposed to ship their own preset rules. Also increase the package version so util-linux can conflict with the previous versions and hence will be updated *after* the new version of the presets package is. This is important otherwise if util-linux removed its preset file first, then the presets package would believe a new change in the presets and you enable again uuidd. - Enable the issue-generator.service by default: /etc/issue is in progress of no longer being a static file, but being generated by a service, which allows for much more flexible content (think ssh key fingerprint or similar). - Fix pre/post scripts: + On %pre case, when updating from an old version of the package that did not yet contain %{_prefix}/lib/%{generic_name}/branding-preset-states, we can't start it. Add a check for execute permission on the script. - Import preset macros from systemd-rpm-macro and convert them into scripts. Presets are not supposed to be shipped by other packages as the default policy needs to be reviewed by the secteam. Therefore don't encourage packagers to do that and make those macros private to this package. Also convert them into real scripts so they're much easier to maintain and debug. Also working in %posttrans is unneeded as this package is assumed to be the only one to update the preset. - There's no need to reload the daemon configuration as presets are not part of the dameon config. - added snapper-cleanup.timer and snapper-timeline.timer (bsc#1011891) - enable vmblock-fuse service for VMWare by default (bsc#986277) - don't require systemd to avoid dependency loop (boo#983986) - added a prereq for coreutils to make sure the macro in %pre works when using touch and mkdir. (bsc#982337) - enable mcelog by default instead of using an udev rule on /dev/mcelog (bsc#976781) - enable remote-fs.target, getty@.service. (bsc#972489) - don't enable ModemManager and wpa_supplicant. Both will be started on demand (bnc#717130) - Add display-manager.service to defaults presets (boo#958880). - Enable fstrim.timer and disable fstrim.service. TRIM should be performed once a week and not on every boot (FATE#317727). http://www.spinics.net/lists/util-linux-ng/msg09133.html - Add %systemd_preset_pre and %systemd_preset_posttrans (fixes boo#921075 and all future requests to change service default). - Enable updatedb timer for mlocate package * Replaces cron.daily script - Enable timer for periodic password & group file integrity verification - Remove xendomains.service from systemd preset file because it conflicts with libvirt-guests.service (bnc#937371) Its up to the admin to run systemctl enable xendomains.service - If selinux is used, restorecond should be enabled by default. The relevant unit only starts if the system was booted with selinux enabled - Do not start acpid by default, its functionality is provided by logind nowadays. - Native systemd unit apparmor.service need to be enabled by default. - enabled smartd by default (bnc#921075) - enable xencommons and xendomains (bnc#897352) - enable vmtoolsd service for VMWare by default (bnc#901272) - remove: enable lvm2-lvmetad.service (bnc#901859) - enable storage-fixup.service by default due to conversion - enable wpa_supplicant.service (bnc#860885 comment#20) - enable lvm2-lvmetad.socket (bnc#878473) enable lvm2-lvmetad.service - enable auditd, haveged and irqbalance services by default. bnc#872066 - Enable the logrotate.timer that replaces the cron-based activation by default. - Enable epmd.socket so that epmd.service can be properly socket-activated instead of forking by beam. The later leads to the issue when epmd is killed at the stop of the specific service and all erlang instances crashes as a consequence. Needed by erlang package. (bnc#869112) - Enable iscsi daemon socket and iscsi service as installed, so that iscsid.service can be socket-activated. (bnc#853300) - Revert last change for hyper-v.rpm Both daemons are started on demand via udev rules. - Enable hv_kvp_daemon and hv_vss_daemon from hyper-v pkg - Enable iscsid socket and iscsi service by default when installed (bnc#827654). - Enable ModemManager.service is enabled when installed (it will be dbus-activated by NM). - Rename main default file to 90-default-openSUSE.preset and move the "disable everything" part to a separate file "99-default-disable.preset". This allows fine tuning with additional files, if needed (same as Fedora). - as we have multiversion kernels enabled by default, we also need to enable purge-kernels by default (bnc#818317). - Do not unconditionally enable NetworkManager service as this breaks running /etc/init.d/network on update (bnc#803058). - Change location of presets with latest systemd. - Add nscd service (bnc#778981). - Add cups units (service, path and socket) (bnc#769346). - Add postfix (bnc#727403). - don't enable sysstat by default (bnc#725791) - Add sysstat.service (bnc#723858). - buildignore branding for systemd to avoid bootstrap cycle - Add Yast2 FirstBoot and Second Stage. - Don't enable avahi-dnsconfd.service after all. - Enable avahi-daemon.service and avahi-dnsconfd.service - Enable cron.service - Initial package OBS-URL: https://build.opensuse.org/request/show/1143595 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-presets-common-SUSE?expand=0&rev=69 --- default-SUSE-user.preset | 2 -- default-SUSE.preset | 2 -- systemd-presets-common-SUSE.changes | 12 ------------ 3 files changed, 16 deletions(-) diff --git a/default-SUSE-user.preset b/default-SUSE-user.preset index a9b2bb7..2bcb798 100644 --- a/default-SUSE-user.preset +++ b/default-SUSE-user.preset @@ -5,5 +5,3 @@ enable wireplumber.service enable drkonqi-coredump-launcher.socket enable spice-vdagent.service enable xdg-user-dirs.service -enable dbus-broker.service -enable dbus.socket diff --git a/default-SUSE.preset b/default-SUSE.preset index 343061d..0f9cc3c 100644 --- a/default-SUSE.preset +++ b/default-SUSE.preset @@ -68,5 +68,3 @@ enable unbound-anchor.timer enable systemd-pstore.service enable wtmpdb-update-boot.service enable wtmpdb-rotate.timer -enable dbus-broker.service -enable dbus.socket diff --git a/systemd-presets-common-SUSE.changes b/systemd-presets-common-SUSE.changes index 5c6cbc1..3fd9d35 100644 --- a/systemd-presets-common-SUSE.changes +++ b/systemd-presets-common-SUSE.changes @@ -5,18 +5,6 @@ Thu Feb 1 10:59:49 UTC 2024 - Michal Suchanek (bsc#1200731 ltc#198485 https://github.com/ibm-power-utilities/powerpc-utils/pull/84) Support both the old and new service to avoid complex version interdependency. -------------------------------------------------------------------- -Tue Dec 12 16:33:55 UTC 2023 - Callum Farmer - -- Add missing newline after dbus.socket (user-preset) - -------------------------------------------------------------------- -Tue Dec 12 16:33:54 UTC 2023 - Simon Lees - -- Swap from dbus to dbus-broker for system and user bus see - https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/EFZU4S7V5NJBEVPK5AECF55XR44PYWFT/ - for more detailed info. - ------------------------------------------------------------------- Thu Oct 19 11:24:59 UTC 2023 - Matthias Gerstner