- Remove dropin that was used to turn delegation off for user instances
Upstream now enables "memory" and "pids" controllers only which
should have a very limited impact on performance compare to the
"cpu" controller.
- Import commit 46d6bc9c4f1c05f3b4fcfca754cc59963bd86ce3
2a79f4e78 units: delegate "memory" instead of "cpu" by default for user instances (#8320) (bsc#954765 bnc#953241 fate#320421)
88174ae85 compat-rules: fix syntax errors spotted by test/rule-syntax-check.py
OBS-URL: https://build.opensuse.org/request/show/584654
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1020
- BS forces us to own %{_prefix}/lib/modprobe.d
This seems wrong but that's how the SUSE BS works.
- Upgrade to v237 (commit 78221ca750a9c266f9f8497dda59d7ee44000a6c)
Udev rules 60-ssd-scheduler.rules and 80-hotplug-cpu-mem.rules have
been removed from the git repo and are now maintained at the package
level. Those rules have been rejected by upstream and are defining
some defaults which should maintain by the kernel folks.
- Don't call "pam-config --systemd"
pam_systemd.so has been integrated directly in the PAM stack since
bsc#812462. So there's no need to call pam-config.
OBS-URL: https://build.opensuse.org/request/show/581724
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1017
- Fix build errors due to the split-off of systemd-containe:
found conflict of systemd-234-33.1.x86_64 with systemd-container-234-33.1.x86_64:
- /usr/share/man/man5/systemd.nspawn.5.gz
- /usr/share/man/man1/systemd-nspawn.1.gz
found conflict of systemd-container-234-33.1.x86_64 with systemd-mini-container-234-33.1.x86_64:
- /usr/bin/systemd-nspawn
- /usr/lib/systemd/system/systemd-nspawn@.service
- /usr/lib/tmpfiles.d/systemd-nspawn.conf
OBS-URL: https://build.opensuse.org/request/show/580181
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1016
- Import commit 295ead0f396beb2b5199abd99a17e274c2581f95
f4f94ab2e meson: install rules/80-hotplug-cpu-mem.rules
2901aa9b9 meson: install rules/60-ssd-scheduler.rules
1293c0056 core: use id unit when retrieving unit file state (#8038) (bsc#1075801)
596b2b241 Revert "vconsole-setup: add SUSE specific settings for font/keyboard in sysconfig"
0b595da04 Revert "locale-setup: handle locale at boot time well"
- Re-enable systemd-firstboot
It's used by the installer and also by JeOS.
OBS-URL: https://build.opensuse.org/request/show/578063
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1013
- Use %systemd_post in %post
- Own /usr/lib/systemd/system-environment-generators directory
- More systemd rpm macro usages
- Disable systemd-firstboot
I don't think there's any use case for it currently.
- Use systemd rpm macros in paths defined in the specfile
- Stop importing i18n settings from /etc/sysconfig (fate#319454)
Bits taken from SLE15.
- Make systemd-timesyncd use the openSUSE NTP servers by default
Previously systemd-timesyncd used the Google Public NTP servers
time{1..4}.google.com
- Use %systemd_post in %post
- Own /usr/lib/systemd/system-environment-generators directory
- More systemd rpm macro usages
- Disable systemd-firstboot
I don't think there's any use case for it currently.
- Use systemd rpm macros in paths defined in the specfile
- Stop importing i18n settings from /etc/sysconfig (fate#319454)
OBS-URL: https://build.opensuse.org/request/show/577997
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1012
- Switch to Meson build system
Some rearrangement in the file list was also needed. That was
probably due to the upgrade of rpm.
- Import commit 0a5600eb7f8263c7c79fec0d85cc159d54aba636
2a181fc6f insserv-generator: make it build with meson
7b0401da4 build-sys: don't build networkctl if networkd is disabled
- Don't build-require selinux for the mini package
- Drop libgcrypt.m4
The mini package builds fine without it so it doesn't seem necessary
anymore.
- Import commit 846d838c37865da60eba48090e570e959291399f
b1e0a348d fileio: include sys/mman.h
f1fa784cb meson: update header file to detect memfd_create()
8838ba7ec meson: define _GNU_SOURCE to detect copy_file_range() (#7734)
531a00c84 Restore "restore /var/run and /var/lock bind mount if they aren't symlink""
(the 3 first commits make systemd build against glibc 2.27)
- Import commit 3f421e4fbf6fcb31d74caf729435868ba8824483
7fb9ea39a Revert "restore /var/run and /var/lock bind mount if they aren't symlink"
23ce1207a meson.build: make docdir configurable (#8068)
- Import commit 0a5600eb7f8263c7c79fec0d85cc159d54aba636
OBS-URL: https://build.opensuse.org/request/show/573381
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1009
- Import commit 8ec9f58d334c76e736957812d9e57151502a6f63
07c6ee3eb compat-rules: get rid of scsi_id when generating compat symlinks for NVMe devices (bsc#1051465)
261a4ef38 compat-rules: generate compat by-id symlinks with 'nvme' prefix missing (bsc#1063249)
- Drop 0001-compat-rules-get-rid-of-scsi_id-when-generating-comp.patch
It's been imported in branch "compats/udev-compat-symlinks" which
has been merged in branch "openSUSE-Factory" in its turn.
- Import commit c516268845b0fd0683cef2e491b84077371e8f01
37da1facb core: disable session keyring per system sevice entirely for now (bnc#1045886)
8a1ae0449 strv: fix buffer size calculation in strv_join_quoted()
- Drop 0001-core-disable-session-keyring-per-system-sevice-entir.patch
It's been merged in branch "SUSE/v234".
OBS-URL: https://build.opensuse.org/request/show/571921
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1008
- Import commit cc94ce8513221061898c83f57862544b16021f0e
aa3eba828 delta: don't ignore PREFIX when the given argument is PREFIX/SUFFIX
b1ea0173a delta: extend skip logic to work on full directory paths (prefix+suffix) (bsc#1070428)
77c5065f9 delta: check if a prefix needs to be skipped only once
db32866d1 Fix parsing of features in detect_vm_xen_dom0 (#7890) (bsc#1048510)
11d40461a sd-bus: use -- when passing arguments to ssh (#6706)
1148d99f6 tmpfiles: consider /etc uninitialized also when /etc/machine-id is present but empty (#7849) (bsc#1075179)
3a95f69bf tmpfiles: downgrade warning about duplicate line
- Edit scripts-systemd-fix-machines-btrfs-subvol.sh
We shouldn't be creating a /var/lib/machines subvolume if /var is
already a seperate partition or subvolume. /var/lib/machines will
already be excluded from snapper & similar tooling in this case.
OBS-URL: https://build.opensuse.org/request/show/566368
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1004
- Import commit 82dbe8a2ae56649231111eaadd4c302a2d2175ee
8c7f0c449 service: Don't stop unneeded units needed by restarted service (bsc#1066156)
869be64ce sysctl: use raw file descriptor in sysctl_write (#7753)
0c2400810 sysctl: disable buffer while writing to /proc (bsc#1071558)
9eb1f30b8 Use read_line() and LONG_LINE_MAX to read values configuration files. (bsc#1071558)
4dbea654f def: add new constant LONG_LINE_MAX
48f14cd71 fileio: add new helper call read_line() as bounded getline() replacement
861e1a222 build-sys: udevadm should have LOG_REALM=LOG_REALM_UDEV
8ed5cf3fb meson: libudev_core and udevadm should have LOG_REALM=LOG_REALM_UDEV (#7666)
a9f93f1d0 virt: use XENFEAT_dom0 to detect the hardware domain (#6442, #6662) (#7581) (bsc#1048510)
fe56abdf9 seccomp: arm64/x32 do not have _sysctl
c9194fe37 seccomp: arm64 does not have mmap2
31d9b3c32 fs-util: small tweak in chase_symlinks()
9dd0bc7a3 meson: do not include man/meson.build if xsltproc not found
7e29e2b07 analyze: replace --no-man with --man=no in the man page (bsc#1068251)
OBS-URL: https://build.opensuse.org/request/show/563316
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1002
- Import commit e30f1b10e276fb18db10ea2463fbd7146ae778f6
63481b24b firstboot: do not write vconsole.conf when arg_keymap is empty (bsc#1070124)
- Add 0001-compat-rules-get-rid-of-scsi_id-when-generating-comp.patch (bsc#1051465)
This patch is not yet merged in the 'compats/udev-compat-symlinks'
branch: we asked to upstream if it would be possible to introduce a
new specifier that wouldn't strip trailing whitespaces , see
https://github.com/systemd/systemd/issues/7462
Also this allows to give the patch more testing before merging it in
the git repo.
OBS-URL: https://build.opensuse.org/request/show/546398
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=999
- Import commit 4b9afa11f918796184e1264d618b4ff5d18e481b
22dcb1d04 tmpfiles: when /etc is not fully initialized, some specifiers are expected to be unresolvable (#6860) (bsc#1055664)
216beb768 tmpfiles: Allow create symlink on directories (#6039)
baf85eb79 udev: net_setup_link: don't error out when we couldn't apply link config (#7328)
- Remove stderr redirection to /dev/null when calling %tmpfiles_create
since it's not needed anymore due to commit 22dcb1d04. Indeed the
messages are no more emitted at LOG_WARN but LOG_NOTICE.
- Import commit b9a41367b6c1164318443491cc3dae0e8208e15c
86804326f systemd-firstboot: add vconsole keymap support (#7035) (bsc#1046436)
9b64225e9 resolved: fix loop on packets with pseudo dns types (bsc#1065276 CVE-2017-15908)
- Drop 0001-systemd-firstboot-add-vconsole-keymap-support.patch since
it's been merged upstream and backported to SUSE/v234 (see above).
OBS-URL: https://build.opensuse.org/request/show/544936
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=997
- Import commit 9e0985dc330b1cf04bc44049962343bdf4ba851a
4fd7cd041 pam_logind: skip leading /dev/ from PAM_TTY field before passing it on
dd6312828 logind: make sure we don't process the same method call twice (#6583)
- Update scripts-systemd-upgrade-from-pre-210.sh script
- drop dependency on awk
- fallback to runlevel #3 if something goes wrong
Note: I'm not sure how this is supposed to work as /etc/inittab is
likely to be missing in my understanding. Indeed this file is part
of the aaa_base package which might be upgraded before systemd is
installed...
- Drop macros.systemd.upstream as it's not used
OBS-URL: https://build.opensuse.org/request/show/528799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=989
- Import commit 58ea3c819cca1639ef8c922505c573ba5e262b3d
334945091 shutdown: fix incorrect fscanf() result check (#6806)
027202892 shutdown: don't remount,ro network filesystems. (#6588) (bsc#1035386)
bc77b53a5 shutdown: don't be fooled when detaching DM devices with BTRFS (boo#1055641)
d9d293847 util: make get_block_device() available
421ce7382 tmpfiles: silently ignore any path that passes through autofs (#6506) (bsc#1045472)
ca8f90e62 device: make sure to remove all device units sharing the same sysfs path (#6679)
- Make use of "%tmpfiles_create" in %post of the logger subpackage
- Add scripts-udev-convert-lib-udev-path.sh (bsc#1050152)
This script takes care of converting /lib/udev into a symlink
pointing to /usr/lib/udev when upgrading a distro using an old
version of udev.
- Make use of "%make_build" rpm macro
- Renumber scripts to start at index 100
- Introduce scripts-systemd-upgrade-from-pre-210.sh
It collects all existing hacks done in %post to fix old/deprecated
settings in systemd older than 210. This includes hacks needed to
fix system that are migrating from SysV.
There shouldn't be any functional changes.
- Move scripts for packaging workaround/fixes in /usr/lib/systemd/scripts
It also renames fix-machines-subvol-for-rollbacks.sh into
scripts-systemd-fix-machines-btrfs-subvol.sh
Note that the "scripts-systemd-" prefix is used for those scripts so
we can gather them. Why not using a directory instead ? because osc
OBS-URL: https://build.opensuse.org/request/show/526193
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=988
- Add 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch (bsc#1048605)
It's a temporary but urgent fix for a regression discovered in bug
1048605. The fix is still under discussion with upstream but we need
to make progress here and limit the number of affected users.
Consequently this fix reintroduces bsc#1004995 (the bug report has
been re-opened) but this one is far less critical and a workaround
was provided.
The final solution will fix both bugs.
OBS-URL: https://build.opensuse.org/request/show/519863
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=987
- Import commit 6887cc21f23e33ac37801a01d76176e5c16fd8ea
9dcc6c04e pid1: forward port console specificities handling for s390 arch to v234
- Import commit 986e98fd5a75470ba17e21fea12d7d4e966c1ecc
4706ebc62 call chase_symlinks without the /sysroot prefix (#6411) (boo#1051172)
- Remove the unneeded hack forcing systemd-crypsetup binary to be linked against the just built libudev
OBS-URL: https://build.opensuse.org/request/show/512931
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=985
- Import commit 06bed720274d9436405a7c27c8238d7d1aefca2b
66fffdf12 build-sys: don't hook var-lib-machined.mount to remote-fs.target when machined is disabled
96c232066 Revert "core: don't load dropin data multiple times for the same unit (#5139)"
- Drop support for compression from the mini package
Hence remove the relevant build-requires from the mini package.
- Upgrade to v234 (commit 78af11131da1b2760778206806c0ebe8616a5284)
- package /etc/systemd/system/dbus-org.freedesktop.network1.service
- /usr/lib/systemd/resolv.conf is not installed if resolved is disabled
- Make sure dracut (if installed) will embed the new compat rule
- Import commit 06bed720274d9436405a7c27c8238d7d1aefca2b
66fffdf12 build-sys: don't hook var-lib-machined.mount to remote-fs.target when machined is disabled
96c232066 Revert "core: don't load dropin data multiple times for the same unit (#5139)"
- Drop support of compression from the mini package
Hence remove the relevant build-requires from the mini package.
- Upgrade to v234 (commit 78af11131da1b2760778206806c0ebe8616a5284)
- package /etc/systemd/system/dbus-org.freedesktop.network1.service
- /usr/lib/systemd/resolv.conf is not installed if resolved is disabled
- Make sure dracut (if installed) will embed the new compat rule
OBS-URL: https://build.opensuse.org/request/show/512646
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=983
- Import commit 21827ea0875ff197e16e72003b2bfaa1c6e8daad
1ad06735f core: fail when syntactically invalid values for User=/Group= fields are detected (bsc#1047023)
d563972e2 timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly
f4e0c16f5 gpt-auto-generator: fix the handling of the value returned by fstab_has_fstype() in add_swap() (#6280)
e1345aac5 fix add_esp() in the gpt-auto-generator.c (#6251)
c591ece9a automount: don't lstat(2) upon umount request (#6086) (bsc#1040968)
643ab2eea gpt-auto-generator: disable gpt auto logic for swaps if at least one is defined in fstab
f07d2022f fstab-util: introduce fstab_has_fstype() helper
bf735bb35 fstab-util: don't eat up errors in fstab_is_mount_point()
a4b40fbed resolved: simplify alloc size calculation (bsc#1045290 CVE-2017-9445)
8b960bec0 only check signature job error if signature job exists (#6118) (boo#1043758)
1418bfb5b job: Ensure JobRunningTimeoutSec= survives serialization (#6128) (bsc#1004995)
19b6d5f08 udev: turn off -Wformat-nonliteral for one safe case
717ace439 udev: net_id add support for platform bus (ACPI, mostly arm64) devices (#5933)
a3bf2e6b5 core/mount: pass "-c" flag to /bin/umount (#6093)
- Add minimal support for boot.d/* scripts in systemd-sysv-convert (boo#1046750)
While at it, the handling of the symlink priorities is also removed
since it doesn't appear to be used at all.
OBS-URL: https://build.opensuse.org/request/show/508561
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=980
- Make sure dracut (if installed) will embed the new compat rule (bsc#982303)
The new compat rule must be embedded in the initramfs so make sure
that the installed dracut supports it.
- Upgrade to v233 (commit 330b55d5e28d17f361062dba66426e46fb7d7857)
- package new systemd-umount binary
- package new environment generator stuff
- drop /dev/root symlink support
- /etc/pam.d/systemd-user is not patched anymore but we ship a
dedicated file for SUSE now.
- manage compat symlink generation in a dedicated branch (bsc#1040153)
- Fix systemd-sysv-convert when a package starts shipping service units (bsc#982303)
The database might be missing when upgrading a package which was
shipping no sysv init scripts nor unit files (at the time --save was
called) but the new version start shipping unit files.
- Fix indentation in systemd-sysv-convert
While at it, strip trailing whitespaces.
No functional changes.
- Disable group shadow support (bsc#1029516)
The new configure option will be imported during the next tarball
update.
OBS-URL: https://build.opensuse.org/request/show/501636
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=977
- Ship /var/log/README
Unfortunately it's not possible to also ship /etc/init.d/README
because of rpm "sanity" checks that prevent executable in
/etc/init.d
- Drop systemd-{journalctl,loginctl} legacy symlinks.
- Drop %preun section
Currently the only use of this section is to remove the symlinks
enabling systemd services on package removal. Those symlinks were
initially installed by the systemd package installation but could
have been overriden by the sysadmin later. If so the symlinks
shouldn't be uninstalled.
Also in a near futur disabling services will install a symlink to
/dev/null.
- Import commit 9e33c2ae69fbb705e8ad143536e419a231e93020
04ef0eab8 importd: support SUSE style checksums supplementary (#5800)
fb601ad9a importd: support SUSE style checksums (#5206) (fate#322054)
b76b27c76 hwdb: fix warning "atkbd serio0: Unknown key pressed" (#5772) (boo#1010220)
cb0d991f6 loginctl: fix typo causing ignoring multiple session IDs (#5732)
- Make use of %systemd_postun()
- Restart a couple of systemd services on package update
Those services (most notably journald) should support restarting
these days. However logind still doesn't but that should be fixed
pretty soon, well I hope :)
- Don't buildrequire pam-config, it's not used at this step.
OBS-URL: https://build.opensuse.org/request/show/492806
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=976
- Import commit f0325620d23a247682c629d28883a364e4a7a8c4
327814841 core: when a unit's SourcePath points to API VFS pretend we are never out-of-date (#5487)
f4b9fb58e units: move Before deps for quota services to remote-fs.target (#5627) (bsc#1028263)
44b9d27f8 udev: net_id - support predictable ifnames on vio buses (#5675) (bnc#1029183)
64f4761c9 units: apply plymouth warning fix to in rescue mode as well (#5615)
77607b887 units: do not throw a warning in emergency mode if plymouth is not installed (#5528) (bsc#1025398)
336d6016c core: downgrade "Time has been changed" to debug (#4906) (bsc#1028610)
- Consider chroot updates in fix-machines-subvol-for-rollbacks.sh (bsc#1030290)
OBS-URL: https://build.opensuse.org/request/show/487022
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=975
- Import commit 103259b3226251d06f79ca627f7b0ba0bd49f4bc
0ee7890dd automount: if an automount unit is masked, don't react to activation anymore (#5445)
99865a181 core: make sure to destroy all name watching bus slots when we are kicked off the bus (#5294) (bsc#1006687)
f34234c54 build-sys: add check for gperf lookup function signature (#5055)
44e39538f sd-event: "when exiting no signal event are pending" is a wrong assertion (#5271) (boo#995936 bsc#1022014)
471b26807 sd-event: when an event source fails, don't assume the type of it is still set
OBS-URL: https://build.opensuse.org/request/show/476801
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=972