We have to keep support for UserTasksMax= for a while before
dropping it. This patch is supposed to do that and also to make
users aware of this change. It also hints how to configure that
differently.
- Import commit f39674d6d114d999c50672c7bea8cad21e1eaed9
7d1e04e85 units: use =yes rather than =true everywhere
185ce0d34 units: assign user-runtime-dir@.service to user-%i.slice
a051f5e41 units: make sure user-runtime-dir@.service is Type=oneshot
30c6842c3 units: set StopWhenUnneeded= for the user slice units too
e74de046e login: fix typo in log message
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1045
This was incorrectly dropped during the split of the SUSE specific
configurations.
- Drop a Conflicts: in systemd-coredump
It not needed anymore since the mini variant of systemd-coredump is
not built anymore.
- Import commit b54f5d7a8b41898ce98f43cd1a6cc92c0071806d
5def29d24 coredump: only install coredump.conf when ENABLED_COREDUMP=true
9133e2d6e dhcp6: make sure we have enough space for the DHCP6 option header (bsc#1113632 CVE-2018-15688)
ebc3fa418 dhcp6: split assert_return() to be more debuggable when hit
51eefb6ac chown-recursive: let's rework the recursive logic to use O_PATH (bsc#1113666 CVE-2018-15687)
e1e1aa237 core: skip unit deserialization and move to the next one when unit_deserialize() fails
1c726c87d core: when deserializing state always use read_line(…, LONG_LINE_MAX, …) (bsc#1113665 CVE-2018-15686)
4cd7d11ac core: don't create Requires for workdir if "missing ok" (bsc#1113083)
- Make systemd-coredump sub-package optional
and don't build the mini variant.
- Drop duplicated %{?mini} suffix for systemd-{container,coredump} subpackages
"-mini" is already part of the name of the main package so there's
no need to append it again for those sub packages. It's only needed
when the name of a subpackage is completely redefined, IOW when '-n'
option is used with the %package directive.
- Dont ship /usr/sbin/resolvconf symlink for now
It conflicts with the bin shipped by openresolv and provides
limited compat only.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1044
This script was part of systemd-sysvinit sub-package but it was
wrong since systemd-sysv-install is a script used to redirect
enable/disable operations to chkconfig when the unit targets are
sysv init scripts. Therefore it's never been a SySV init tool.
While at it, don't ship this script (as well as
systemd-sysv-convert) when sysvcompat is not defined.
- Import commit 19b3868d32af20f1ecc86fe3c997144ff456fd65
06c2284d64 core: introduce systemd.early_core_pattern= kernel cmdline option
479b002083 core: add missing 'continue' statement
c7fbccc62e journald: don't ship systemd-journald-audit.socket (bsc#1109252)
f17a6c790c detect-virt: do not try to read all of /proc/cpuinfo (bsc#1109197)
5a1aa84544 compat-rules: generate more compat by-id symlinks for NVMe devices (bsc#1095096)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1041
f8457adf9d emergency: make sure console password agents don't interfere with the emergency shell
b8bbb50634 man: document that 'nofail' also has an effect on ordering
a5410b2229 journald: take leading spaces into account in syslog_parse_identifier
b793c312c7 journal: do not remove multiple spaces after identifier in syslog message
f9595f0481 syslog: fix segfault in syslog_parse_priority()
d464f06934 journal: fix syslog_parse_identifier()
e70422883a socket-util: attempt SO_RCVBUFFORCE/SO_SNDBUFFORCE only if SO_RCVBUF/SO_SNDBUF fails (bsc#991901)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1040
962b38aaf user@.service: don't kill user manager at runlevel switch (bsc#1091677)
3986c4d82 units: make sure user@.service runs with dbus still up
5e68aa0f2 Revert "udevd: increase maximum number of children" (bsc#1107617)
099138fd9 fix race between daemon-reload and other commands (v237) (bsc#1105031)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1038
8983bd246 core: don't include libmount.h in a header file (#8580)
3e4156a8f tmpfiles: don't adjust qgroups on existing subvolumes
42edc93ac core/service: rework the hold-off time over message
- Enable regexp matching support
Currently only used by "journalctl --grep=xxx".
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1035
fbf43a697 core: don't freeze OnCalendar= timer units when the clock goes back a lot (bsc#1090944)
4134ba8b6 man: SystemMaxUse= clarification in journald.conf(5) (bnc#1101040)
78bb2a0c4 socket-util: fix getpeergroups() assert(fd) (#8080) (bsc#1096516)
1753d0420 systemctl: mask always reports the same unit names when different unknown units are passed (bsc#1095973)
50ebf79d7 scsi_id: Fixup prefix for pre-SPC inquiry reply (bsc#1039099)
570f7655b locale-util: on overlayfs FTW_MOUNT causes nftw(3) to not list *any* files
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1034
Otherwise systemd pulls in tools to generate the initrd even in
container/chroot installations that don't have a kernel anyways.
For environments where initrd matters, dracut should be pulled via a
pattern.
- Drop runtime dependency on dracut (bsc#1098569)
Otherwise systemd pulls in tools to generate the initrd even in
container/chroot installations that don't have a kernel anyways.
For environments where initrd matters, dracut should be pulled via a
pattern.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1033
621b247f3 device: skip deserialization of device units when udevd is not running
a7da5bdbc device: make sure to always retroactively start device dependencies (bsc#1088052)
303624f6f systemd-udevd: limit children-max by available memory (#8668) (bsc#1086785 bsc#1066422)
76acf3ae9 tmpfiles: fix directory removal with force symlink (#8619)
- Ship 99-sysctl.conf instead of creating it during package installation/update (bsc#1088769)
Previously this symlink was created in /etc/sysctl.d during %post
which made the symlink not owned and more importantly it was created
only if /etc/sysctl.conf is already installed which is not always
the case during the installation process it seems.
So ship the symlink unconditionally and put it in /usr/lib/sysctl.d
instead since it's a distro default behavior that might be overriden
by sysadmin later.
- Be consistent in 60-io-scheduler.rules
And use "?*" when checking for the non empty string (instead of "*?").
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1027
* Set optimal blk-mq schedulers (bfq and mq-deadline for HDD and
SSD respectively)
* Explicitly set CFQ for rotational disks when no `elevator`
is specified
* Verbose comments explaining what is going on
* Rename the rules file since it is not ssd-only anymore
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1026
Now we directly ship the completion scripts from the main package as
we already do for zsh. I couldn't see any advantages in this split.
- Be more accurate when specifiying the tools version we provide
- Make sure rpm won't expand %autopatch even if it's commented
- stat(1) as well as systemctl are not use in %post section of udev
So remove stat(1) from the list of dep and move systemctl to the
requirements of %postun since it's called from there.
- Be more accurate when specifiying the tools version we provide
- Make sure rpm won't expand %autopatch even if it's commented
- stat(1) as well as systemctl are not use in %post section of udev
So remove stat(1) from the list of dep and move systemctl to the
requirements of %postun since it's called from there.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1024
e0a8285e2 pid1: when creating service directories, don't chown existing files (#8181) (boo#1085971)
fb25886b1 Fix format-truncation compile failure by typecasting USB IDs (#8250) (bsc#1084638)
5a6e9c92e sysusers: make sure to reset errno before calling fget*ent()
c2e1ee488 sysusers: also add support for NIS entries in /etc/shadow
51cb94fa1 sysusers: do not append entries after the NIS ones (bsc#1085062 bsc#1045092)
783f3d368 basic/macros: rename noreturn into _noreturn_ (#8456)
- Drop 0001-basic-macros-rename-noreturn-into-_noreturn_.patch
It's been merged in the git repo.
- Rename the tarball
So it's clear that it contains some additional patches on top of the
upstream version. Use the commit hash in the name so the exact
version can easily be identified.
Provide _service file which can be used to retrieve the tarball from
the git repo (with "osc service disabledrun").
- Split systemd-coredump sub-package off (bsc#1083849)
- Don't ship machines.target in systemd-container but in systemd main package
machines.target is supposed to be a standard target for
starting/stopping all containers. systemd-nspawn is the main user of
it but other container managers could also make use of it.
- Build a mini variant of systemd-container
So we don't have to manually track and remove all files that should
be shipped by systemd-container in the case of a bootstrap build.
- Run migrate-sysconfig-i18n.sh also during package installation (bsc#1086164)
This is needed when we upgrade from SLE11.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1023
During its installation pam-config seems to overwrite the defaults
shipped by "pam" for "some" reasons (see bsc#1084924)
No idea why but since pam_systemd is not part of the "pam-config"
defaults, we need to restore pam_systemd in common-session
manually...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1021
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/package/show/Base:System/systemd?expand=0&rev=1020
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/package/show/Base:System/systemd?expand=0&rev=1017
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/package/show/Base:System/systemd?expand=0&rev=1016
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/package/show/Base:System/systemd?expand=0&rev=1013
- 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/package/show/Base:System/systemd?expand=0&rev=1012
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/package/show/Base:System/systemd?expand=0&rev=1009
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/package/show/Base:System/systemd?expand=0&rev=1008
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/package/show/Base:System/systemd?expand=0&rev=1002
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/package/show/Base:System/systemd?expand=0&rev=999
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/package/show/Base:System/systemd?expand=0&rev=997
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/package/show/Base:System/systemd?expand=0&rev=989
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/package/show/Base:System/systemd?expand=0&rev=988