Revisions of systemd

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1113906 from Franck Bui's avatar Franck Bui (fbui) (revision 403)
- Import commit 9674bb256205e6c643feadbcccfd1ee8feeee684 (merge of v254.5)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/6ed5b11298005e07509832881a0c5ff1a80bf225...9674bb256205e6c643feadbcccfd1ee8feeee684

- Make sure to call %sysusers_create only when transfiletrigger is disabled.

- systemd.spec: switch to %ldconfig_scriptlets

- systemd.spec: add `%tmpfiles_create systemd-resolve`
  It's only needed by SLE distros since systemd packages rely on
  transtriggerfiles in Factory.

- Import commit 6ed5b11298005e07509832881a0c5ff1a80bf225 (merge of v254.4)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/b6b4e5a8a82d1f13f265a4ef170f2d13be82789a...6ed5b11298005e07509832881a0c5ff1a80bf225
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1113047 from Franck Bui's avatar Franck Bui (fbui) (revision 402)
- systemd.spec: during package updates, restart localed, timedated and hostnamed
  if they're running.

- systemd.spec: when enabling units prefer enabling service units over socket
  ones for socket activable services. The services shipped by systemd
  automatically redirect the enablement request to the socket unit.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1111019 from Franck Bui's avatar Franck Bui (fbui) (revision 401)
- systemd.spec: %regenerate_initrd_post is only used by udev sub-package hence
  move the build requirement pulling this macro in in the list of udev BRs.

- Don't ship after-local.service anymore. This was mostly a hack for people
  wanting to execute any random things once the boot was finished. We shouldn't
  encourage such practice and it actually conflicts with the sysv-generator
  which believes that /etc/init.d/after.local is SysV init script that needs to
  be converted into a native unit file.
  We still install a copy of this service in /etc if the user is relying on
  it, for backward compatibility.

- fixlet-systemd-post.sh: fix invalid use of rpm macro %{_localstatedir}
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1110245 from Franck Bui's avatar Franck Bui (fbui) (revision 400)
- Import commit b6b4e5a8a82d1f13f265a4ef170f2d13be82789a (merge of v254.3)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/1f73719d67b9300c6bb75232d695d03410991098...b6b4e5a8a82d1f13f265a4ef170f2d13be82789a

- Make utmp support per project configureable [jsc#PED-3144]
- Make apparmor and selinux per project configureable [jsc#PED-2736]

- systemd.spec: don't use build conditionals (%bcond_with/%bcond_without) with
  the mini flavor to make sure that all the features remain disabled for this
  flavor regardless of what is enabled in the prjconf.

- Don't build systemd-doc with the mini flavor

- Explicitly require group(lp) by udev: this used to be provided by
  system-group-hardware, but with the introduction of
  system-user-lp (and systemd-users auto-generating groups) is now
  actually provided by system-user-lp. Latest versions of
  system-group-hardware clean this up and no longer also provide
  this group.

- Fix incorrect option name when calling pam-config for systemd-homed

- testsuite: Recommend selinux-policy-devel instead of requiring it in line with
  other tests. Add Recommends for selinux-policy-targeted as this is also
  required to run the test (in general any SELinux policy should do)

- systemd.spec: add journal translations to lang package

- Import commmit 1f73719d67b9300c6bb75232d695d03410991098
  1f73719d67 test-mountpoint-util: /root might be mounted
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1103458 from Franck Bui's avatar Franck Bui (fbui) (revision 399)
- Import commit fcdb2dd2c921db3c6b7c28465dbda314f4469d17 (merge of v253.8)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/2dac0aff9ced1eca0cd11c24e264b33095ee5a5e...fcdb2dd2c921db3c6b7c28465dbda314f4469d17
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1101213 from Franck Bui's avatar Franck Bui (fbui) (revision 398)
- Drop 0003-strip-the-domain-part-from-etc-hostname-when-setting.patch
  /etc/hostname is supposed to contain the static host name of the system. This
  patch was used to work around cases where users incorrectly save the FQDN
  instead. However this is incorrect and not consistent with what
  systemd-hostnamed does and what other distributions do. Also assuming that
  /etc/hostname will contain the system host name only removes any ambiguities
  since the host name can contain a period.
  /etc/hosts is usually where one sets the domain name by aliasing the host name
  to the FQDN.
  Note that the installer used to save the FQDN in /etc/hostname but this has
  been fixed since several years now (bsc#972463).

- systemd-homed is no more considered as experimental
  It's been moved to its own dedicated sub-package "systemd-homed".

- systemd-userdb is no more considered as experimental (jsc#PED-2668)
  As such it's been moved to the main package.

    - upstream commit 3a3b022d2cc112803ea7b9beea98bbcad110368a (bsc#1212434 bsc#1213575)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1099230 from Franck Bui's avatar Franck Bui (fbui) (revision 397)
- Import commit 2dac0aff9ced1eca0cd11c24e264b33095ee5a5e (merge of v253.7)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/6458c066547eaadf0e9709e441ea36ad03faa860...2dac0aff9ced1eca0cd11c24e264b33095ee5a5e

- Import commit 6458c066547eaadf0e9709e441ea36ad03faa860 (merge of v253.6)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/07bb12a282b0ea378850934c4a76008b448b8bad...6458c066547eaadf0e9709e441ea36ad03faa860
- Drop 5002-Revert-core-service-when-resetting-PID-also-reset-kn.patch, it's
  been backported to v253.6.

- Move a bunch of files from systemd to udev. These are pretty useless without
  block devices.

    - upstream commit 3a3b022d2cc112803ea7b9beea98bbcad110368a (bsc#1212434)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1096633 from Franck Bui's avatar Franck Bui (fbui) (revision 396)
- Split off sd-boot into separate "systemd-boot" subpackage
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1095850 from Franck Bui's avatar Franck Bui (fbui) (revision 395)
- Change the group owner of /run/lock from "lock" to "root" (bsc#1212674)
  This allows to drop the dependency "Requires: group(lock)" that was introduced
  previously to make sure that the "lock" group will be kept around. This
  dependency introduced a dependency cycle.

- file-triggers: fix a typo that sneaked in the script dealing with tmpfiles
  (bsc#1212733)

- Make sure to keep the groups systemd and udev rely on installed. Theoretically
  with only "Requires(pre): group(x)", rpm is allowed to drop group 'x' at the
  end of the package installations.
  Note: this is also needed when (trans)file-triggers are enabled due to the
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1094372 from Franck Bui's avatar Franck Bui (fbui) (revision 394)
- Make sure to pre-install the groups systemd and udev rely on. This is needed
  when the tmpfiles are run at package installation time. Theoretically with
  only "Requires(pre): group()", rpm is allowed to drop the group at the end of
  the package installations hence let's keep "Requires: group()" dep.
  Note: this is also needed when (post)file-triggers are enabled due to the
  current limitation of the default libzypp transaction backend.

- file-triggers: fix lua trigger priority for sysusers (bsc#1212376)
  A single digit in the priority used for sysusers got dropped somehow and
  upstream commit cd621954ed643c6ee0d869132293e26056a48826 forgot to restore it
  in the lua implementation.

- file-triggers: skip the call to systemd-tmpfiles in chroot too. That way we
  ensure that packages that really need the tmpfiles in advance use the right
  API which is %tmpfiles_create_package.
- file-triggers: to be consistent with what we already does with tmpfiles, we
  skip the call to systemd-sysusers and delay system user creations until the
  next reboot.

- Temporarily add
  5002-Revert-core-service-when-resetting-PID-also-reset-kn.patch until it's
  backported to the next stable release
  See https://github.com/systemd/systemd/pull/28000

- file-triggers: make sure to skip the call to systemd-tmpfile in the
  file-triggers when running on transaction systems (bsc#1212449)
  systemd-tmpfiles usually modifies paths that are not supposed to change during
  transactional updates (e.g. /var, /run). On transaction systems changes will
  happen on the next reboot.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1093507 from Franck Bui's avatar Franck Bui (fbui) (revision 393)
- Make sure to skip the call to systemd-tmpfile in the file-triggers when
  running on transaction systems
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1090446 from Franck Bui's avatar Franck Bui (fbui) (revision 392)
- Import commit 07bb12a282b0ea378850934c4a76008b448b8bad (merge of v253.5)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/25aec157888f7aa9a36726962fcbbf2c74ead440...07bb12a282b0ea378850934c4a76008b448b8bad

- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1088562 from Franck Bui's avatar Franck Bui (fbui) (revision 391)
- Move more packaging fixups in the fixlet script.

- 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.

- Drop an old fix for the persistent net rules (only needed on SLE). Factory
  (fortunately) dropped the persistent net rule generator long time ago.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1085215 from Franck Bui's avatar Franck Bui (fbui) (revision 390)
- Rather than having one script per fix, use a single script (or "fixlet") per
  (sub) package that contains all the fixups relative to a (sub) package. This
  has the advantage to limit the number of scripts but more importantly it will
  ease the sharing of the spec file between TW and SLE. We should also be able
  to compare the fixlets of two distros even if the spec files have diverged.
  Note that all the fixups are run just once now.

- Make use of %_systemd_util_dir in the spec file.
- Rename the SUSE specific scripts used to fix up the system where systemd is
  installed on. Also rename the directory where these scripts are stored.

- kbd-model-map.legacy: drop entry for 'ruwin_alt-UTF-8' as yast doesn't rely on
  it anymore, see https://github.com/yast/yast-country/pull/307

- Import commit 25aec157888f7aa9a36726962fcbbf2c74ead440 (merge of v253.4)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/3ce9610975b5239a21c0c886cb893bb172966de7...25aec157888f7aa9a36726962fcbbf2c74ead440

- Import commit 3ce9610975b5239a21c0c886cb893bb172966de7
  3ce9610975 test: dont use anchor char '$' to match a part of a string
  03ede3eaa2 locale: when no xvariant match select the entry with an empty xvariant
  f08017efd5 locale: convert generated vconsole keymap to x11 layout automatically
  e8cf56459b localed-util: make use of strdupcspn()
  821c684440 test: use kbd-mode-map we ship in TEST-73-LOCALE
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1084033 from Franck Bui's avatar Franck Bui (fbui) (revision 389)
- Revert changes that dropped calls to %systemd_{pre,post} in the main package
  Until we switch to filetriggers these calls are needed when a new version of
  systemd introduced a new config file during an update.
- We also introduce a new build conditional "%filetriggers" to identify easily
  which parts of the code will become obsolete when we'll switch to file
  triggers (WIP). This is important as this is unlikely to happen on SLE.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1083513 from Franck Bui's avatar Franck Bui (fbui) (revision 388)
- Re-add back 'arabic' keymap mapping as YaST needs more time than expected to
  cope with this change.

- systemd.spec: don't call %systemd_{pre,post} on units shipped by the main
  package since they don't have any effect during installation (systemctl is not
  yet installed when %pre script is executed). This is actually the reason why
  it's handled by the %%posttrans scripts of systemd-presets-common-SUSE.

- kbd-model-map.legacy: 'arabic' vc keymap has been renamed 'ara' (bsc#1210702)

- add some green to systemd-boot menu

- kbd-model-map.legacy: drop some entries no longer needed
  by YaST (related to bsc#1194609)

- tmpfiles-suse.conf (jsc#PED-3144):
  - Remove lastlog entry, replaced by lastlog2
  - Remove btmp entry, not Y2038 safe
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1077457 from Franck Bui's avatar Franck Bui (fbui) (revision 387)
- testsuite: TEST-75-RESOLVED needs knot DNS server

- Import commit 66f3a8a47d5bf6aea3f6fb181c01550a1a54406e (merge of v253.3)
  This merge also includes the following fix, which is not part of the stable
  release:
    d2413cec02 test/test-functions: fix typo in install_suse_systemd()
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/03cfbe767327d01d5a71131d91bf06fdc0047ca1...66f3a8a47d5bf6aea3f6fb181c01550a1a54406e
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1076955 from Franck Bui's avatar Franck Bui (fbui) (revision 386)
- Import commit 03cfbe767327d01d5a71131d91bf06fdc0047ca1
  03cfbe7673 test: use setpriv instead of su for user switch from root
  857843834c test: wrap mkfs.*/mksquashfs/mkswap binaries when running w/ ASan
  be7388f8c5 test: do not remove state directory on failure
  1b2885bd16 test: fix regexp in testsuite-74.mount.sh
  41142f8013 test: drop extraneous bracket in testsuite-74.mount.sh

- systemd.spec: add files.coredump

- Import commit b63f58661b08037d8cb04ed97b5e39d9bf415fdc (merge of v253.2)
  For a complete list of changes, visit:
  https://github.com/openSUSE/systemd/compare/8b01686dd20124efc300d21ef38d85c1f75c372f...b63f58661b08037d8cb04ed97b5e39d9bf415fdc
- Move systemd-fsck stuff to udev sub-package.

- Include pam_keyinit.so in our systemd-user PAM service (bsc#1209741)
  That way "systemd --user" instances get their own session keyring instead of
  the user default session keyring. For some reasons cifscreds refuses to work
  with the latter. That's what is expected for every PAM session anyway.

- Import commit 8b01686dd20124efc300d21ef38d85c1f75c372f
  8b01686dd2 test: don't export $TOOLS_DIR
  7a56b1b2f0 test: clean up $STATEDIR too
  324bb19eb8 test: $STATEDIR should not point to /usr/lib/systemd/tests when NO_BUILD=1
  2251735482 test: install symlinks with valid targets on SUSE and Debian
  c30905a269 test: on openSUSE install the collection of unit test binaries in the target only for TEST-02-UNITTESTS
  797ced15d8 meson: make sure the unit test scripts find testdata/ even if they are not installed in the same directory
  04dc5b44b7 meson: define testdata_dir globally
  69643c6c96 test: install unit tests in a dedicated subdirectory below '$testsdir'
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1073914 from Franck Bui's avatar Franck Bui (fbui) (revision 385)
- Import commit d914e29c33c0248226a01112a3e03181ef17b06b
  d914e29c33 Revert "hwdb: fix swapped buttons for Logitech Lift left" (bsc#1209618)
  8360811d23 udev-rules: fix nvme symlink creation on namespace changes (bsc#1207410)
  b77c13a130 systemctl: explicitly cast the constants to uint64_t (bsc#1209305)
  51011f280d test: assume run-unit-tests.py and unit tests are installed in the same directory
  d86e346f6b tests: don't use absolute paths when installing binaries in TEST-58-REPART
  97e886c1f4 tests: fix inverted condition in testsuite-58.sh
- Drop 5002-systemctl-explicitly-cast-the-constants-to-uint64_t.patch, it's been
  merged in 'SUSE/v253', see above.

- Add python3-pefile as requires for experimental, needed for the
  ukify tool.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1073063 from Franck Bui's avatar Franck Bui (fbui) (revision 384)
- Drop 0005-udev-create-default-symlinks-for-primary-cd_dvd-driv.patch
  These obsolete symlinks were kept because several years ago VLC was still
  relying on some of them. However it's been a long a time ago that it's been
  fixed and cdrom or similar devices are discovered in a better way.

- Enable that systemd can load the IMA policy from
  /etc/ima/ima-policy.  This is used to complement dracut-ima when
  using SELinux, as the SELinux policy should not be loaded in the
  initrd (https://github.com/openSUSE/microos-tools/pull/14)
Displaying revisions 21 - 40 of 423
openSUSE Build Service is sponsored by