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/package/show/Base:System/systemd?expand=0&rev=983
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/package/show/Base:System/systemd?expand=0&rev=980
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/package/show/Base:System/systemd?expand=0&rev=977
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/package/show/Base:System/systemd?expand=0&rev=976
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/package/show/Base:System/systemd?expand=0&rev=975
76d4d05fb udev: fix variable assignment
473df8cc4 udev-rules: perform whitespace replacement for symlink subst values (bsc#1025886)
d6c3ff647 udev-event: add replace_whitespace param to udev_event_apply_format
30ad15f7c libudev-util: change util_replace_whitespace to return number of chars in dest
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=973
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/package/show/Base:System/systemd?expand=0&rev=972
e587b6ce0 disable RestrictAddressFamilies on all architectures but x86_64 one (bsc#1023460)
c8ae05632 journald: don't flush to /var/log/journal before we get asked to (bsc#1004094)
7261eaf3e sd-event: fix sd_event_source_get_priority() (#4712)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=969
Move that part after the fix on timer timestamp files otherwise the
comment doesn't make sense.
- Import commit 028fd9b60580976dffb09b3576a2b652ee35137c
cc2ca55ff build-sys: do not install ctrl-alt-del.target symlink twice
ececae77a device: Avoid calling unit_free(NULL) in device setup logic (#4748)
- Ship systemd-resolved but it's disabled by default (bsc#1018387)
The NSS plugin will also be disabled, users need to enable it
manually.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=968
This service was introduced to support stateless systems that
support offline /usr updates properly.
AFAIK we don't support any such system for now, so disable it. If
it's wrong it's easy enough to restore it back.
Related to bsc#1019470.
- Be more consistent with indentation (*no* functional changes)
Indentation should use 8 spaces now (no tabs).
- Import commit 2559bc0c076b58f0a649056e79ca90fe5f1d556c
9c4a759ab systemctl: 'show' don't exit with a failure status if the requested property does not exist [SUSE] (bsc#1021062)
f9194193b systemctl: remove duplicate entries showed by list-dependencies (#5049) (bsc#1012266)
2a6653335 rule: don't automatically online standby memory on s390x (bsc#997682)
- Fix permission set on /var/lib/systemd/linger/*
Those files are created by logind which run with umask(0022), so
they are not world writable and shouldn't be affected by
bsc#1020601. But it's cleaner to not let files forever with their
setuid bit set for no good reason.
- Fix permissions set on permanent timer timestamp files (bsc#1020601) (CVE-2016-10156)
This change makes sure to fix the permissions of the timestamp files
which could have been created by an affected version of systemd.
Local unprivileged users could have run arbitrary code as root if
systemd previously created world writable suid root files such as
permanent timer stamp files.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=967
27b544224 core: make sure to not call device_is_bound_by_mounts() when dev is null (#5033) (bsc#1018399)
- Use the %{resolved} build conditional for the nss-resolve subpackage
- /usr/bin/systemd-resolve was missing from the filelist
- Silent warnings emitted when udev socket units are restarted during package upgrade (bsc#1018214)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=966
- a4dff165d nspawn: resolv.conf might not be created initially (#4799)
- b543fe907 nspawn: fix condition for mounting resolv.conf (#4622)
- 1aed89e55 core: make mount units from /proc/self/mountinfo possibly bind to a device (#4515) (boo#909418 bsc#912715 bsc#945340)
- bfb54ecdc coredumpctl: let gdb handle the SIGINT signal (#4901) (bsc#1012591)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=965
Instead of fix-machines-subvol-for-rollbacks.sh...
- Enable lz4 (which becomes the default)
It's much faster than xz and thus should be more appropriate to
compress journals and coredumps.
The LZ4 logic is now officially supported and no longer considered
experimental.
The new frame api was released in v125.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=964
There's no longer need for enabling/disabling the support for the
compatlibs as it's been dropped from the source code.
- Drop /usr/lib/systemd/libsystemd-shared-%{version}.so from the 32bit package
This shared library is not for public use, and is neither API nor
ABI stable, but is likely to change with every new released
update. Only systemd binaries are supposed to link against it.
This also prevents from the 32bit package to conflit with the 64bit
one if this lib was installed by both packages.
- Upgrade to v232, commit c5c3445825981e2a5c3ed71214127d5b1b9de802:
- Dropped backported commits which has been merged
- Forward-port Suse specific patches
- Added --disable-lto option to ./configure
- Added systemd-mount
- Removed in %file /usr/lib/systemd/user/*.socket: since
798c486fbcdce3346cd86 units/systemd-bus-proxyd.socket has been
removed.
- Removed in %file %{_sysconfdir}/systemd/bootchart.conf
since commit 232c84b2d22f2d96982b3c bootchart is not part of systemd
anymore.
- Backward compat libs have been disabled since it's been dropped from
the source code.
- Added /usr/bin/systemd-socket-activate in %file
- Added --without-kill-user-processes ./configure option
- Bump libseccomp build require (>= 2.3.1) as described in README
- Specifiy version of libmount as required in the README
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=963
Otherwise the build system detects that systemd-bash-completion and
its mini variant are conflicting at files level even though those
packages can't be installed on the same system.
- specfile: clean up nss-* plugins descriptions and drop
nss-myhostname-config script for now.
Currently /etc/nsswitch.conf is supposed to be edited by the
sysadmin to enable the modules. However for some reasons only
nss-myhostname is removed from the conf file when the corresponding
package is uninstalled. This is inconsistent so let's remove it.
Actually I'm wondering if we shouldn't make those NSS plugins part
of the main package and get rid of all those sub-packages...
- specfile: remove old comments and unneeded sed command
- specfile: no need to create systemd-update-utmp-runlevel.service symlinks anymore
The symlinks in /usr/lib/systemd/system/<target>.target.wants/systemd-update-utmp-runlevel.service
are created in Makefile.am since commit d5d8429a12c4b1.
'reboot' and 'poweroff' targets initially had the symlinks but
there's not point since the latter conflicts shutdown.target whereas
the 2 targets pull it in.
See: https://github.com/systemd/systemd/pull/4429
- specfile: remove the following warnings:
[ 256s] warning: File listed twice: /usr/lib/systemd/system/dbus.target.wants
[ 256s] warning: File listed twice: /usr/lib/systemd/system/default.target.wants
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=961
otherwise the build system will complain.
Some directories (owned by others packages) are simply used by
systemd to ship some scripts or config files to customize others
*optional* components. Since thos components are not build required
by systemd those directories are not owned by any packages and the
BS complains...
- Import commit
15ea716 journal-remote: change owner of /var/log/journal/remote and create /var/lib/systemd/journal-upload (bsc#1006372)
- %sysusers_create and %tmpfiles_create must be called in %post
Calling %pre is broken since the respective conf files are not yet
installed.
- %{_libexecdir}/{tmpfiles.d,sysusers.d}/systemd-remote.conf are
part of systemd-journal-remote package (only).
- systemd-journal-{gatewayd,remote,upload} units are only part of
"systemd-journal-remote" package.
So exclude them from the main package.
- Import commit a1c145e6ad6588555dca64402f9103fb1e02b1a0
7f34037 man: explain that *KeyIgnoreInhibited only apply to a subset of locks
df5798b Revert "logind: really handle *KeyIgnoreInhibited options in logind.conf" (bsc#1001790 bsc#1005404)
f79fee7 Revert "kbd-model-map: add more mappings offered by Yast"
3760c10 manager: tighten incoming notification message checks
d6efd71 core: only warn on short reads on signal fd
6eebd91 manager: be stricter with incomining notifications, warn properly about too large ones
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=959
is always initialized (bsc#982211)
If "--save" command was used and the sysv init script wasn't enabled
at all, the database file wasn't created at all. This makes the
subsequent call to "--apply" fail even though it's a valid scenario.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=954
The backstory is that %{?systemd_requires} in all kinds of .spec files
pulls in systemd, which is not always desirable. Upstream has come up
with some solution where they make use of a rpm tag (available in
4.10+) that is only about ordering - cf
2424b6bd71
. The commit explicitly states though, that "installing systemd
afterwards [...], does not result in the same outcome."
With this proposed change to our systemd.spec, we could have the cake
and eat it too:
* symlinks in /etc/systemd can be created at install time, permitting
the administrator to install/use systemd as init system in a container
at a later date (enabling "same outcome")
* mandatory tmp directories will be created at install time already,
so the administrator does not have to run `tmpfiles --root=/mycontainer`
before launching the (systemd-less) container.
* the only protruding dependency of systemctl.rpm is libgcrypt20,
i.e. comparatively light.
* the OrderWithRequires feature can be done independently
Sounds like a plan? @mpluskal too #boo980389
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=942
- curl also causes building of journal-upload. That one has rather
unusal certificate usage, set it's ca root to /etc/pki/systemd
instead of the built-in default /etc/ssl as journal-remote and
journal-upload think they kan put stuff in /etc/ssl/certs then but
that directory is managed by p11-kit and doesn't serve the purpose
those programs think.
- /var/lib/systemd/random-seed is a file
- own /var/lib/machines
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=931
in OBS. /etc/hostname is not present and systemd then does
strchr(hostname,soemthing) with hostname NULL.
- hostname-NULL.patch: Work around a crash on XEN hosts
in OBS. /etc/hostname is not present and systemd then does
strchr(hostname,soemthing) with hostname NULL.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=888
- Drop upstream patches
0006-pam_systemd-Properly-check-kdbus-availability.patch
0023-core-fix-reversed-dependency-check-in-unit_check_unn.patch
0031-install-fix-bad-memory-access.patch
1032-ata_id-unbotch-format-specifier.patch
- Drop SUSE patch 1013-no-runtime-PM-for-IBM-consoles.patch
udev does no longer enable USB HID power management at all.
- The udev accelerometer helper was removed, obsoleted by
iio-sensor-proxy package.
- networkd gained a new configuration option IPv6PrivacyExtensions.
- udev does not longer support the WAIT_FOR_SYSFS= key in udev
rules. There are no known issues with current sysfs,
and udev does not need or should be used to work around such bugs.
- Systemd v222, bugfix release.
- Drop upstream patches
0006-pam_systemd-Properly-check-kdbus-availability.patch
0023-core-fix-reversed-dependency-check-in-unit_check_unn.patch
0031-install-fix-bad-memory-access.patch
1032-ata_id-unbotch-format-specifier.patch
- Drop SUSE patch 1013-no-runtime-PM-for-IBM-consoles.patch
udev does no longer enable USB HID power management at all.
- The udev accelerometer helper was removed, obsoleted by
iio-sensor-proxy package.
- networkd gained a new configuration option IPv6PrivacyExtensions.
- udev does not longer support the WAIT_FOR_SYSFS= key in udev
rules. There are no known issues with current sysfs,
and udev does not need or should be used to work around such bugs.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=885
unsupported since v218.
Note that this option was only parsed and that's it. the logic
to give "start priority" was never implemented.
- change the default fallback ntp servers to the opensuse
pool.ntp.org vendor zone.
- We still need to run systemd-sysctl.service after local-fs.target
otherwise it works only when /boot is in the root filesystem but
not when it is a separate partition.
- remove SysVStartPriority= from after-local.service,
unsupported since v218.
Note that this option was only parsed and that's it. the logic
to give "start priority" was never implemented.
- change the default fallback ntp servers to the opensuse
pool.ntp.org vendor zone.
- We still need to run systemd-sysctl.service after local-fs.target
otherwise it works only when /boot is in the root filesystem but
not when it is a separate partition.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=880
from the filelist.
- libpcre, glib2 and libusb are not used by systemd, remove
from buildrequires.
- 1032-ata_id-unbotch-format-specifier.patch: fix udev ata_id
output.
- 0023-core-fix-reversed-dependency-check-in-unit_check_unn.patch
fix StopWhenUnneeded=true in combination with a Requisite=
dependency.
- 0031-install-fix-bad-memory-access.patch: Fix Bad memory access
- 0006-pam_systemd-Properly-check-kdbus-availability.patch: if
kdbus is enabled (i.e boot with kdbus=1) DBUS_SESSION_BUS_ADDRESS
must not be exported.
- spec: add a min_kernel_version macro to ensure the package
conflicts with kernel versions in which systemd cannot run.
- sysctl-handle-boot-sysctl.conf-kernel_release.patch dropped,
replaced by a tmpfiles.d snippet "current-kernel-sysctl.conf"
(feature implemented in v220 just for our usecase)
- fix build when resolved is enabled
- remove fsck -l test in spec file, systemd requires util-linux
2.26 or later where this feature is already available.
- remove patch sysctl-handle-boot-sysctl.conf-kernel_release.patch
from the filelist.
- libpcre, glib2 and libusb are not used by systemd, remove
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=878
built in bootstrap mode)
- Drop commented sections from baselibs.conf, allows format_spec_file
to have a successful run
- Fix bootstrap build by guarding filelists (man pages don't get
built in bootstrap mode)
- Drop commented sections from baselibs.conf, allows format_spec_file
to have a successful run
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=876
network.service the same way NetworkManager and wicked does.
This is needed by yast2 and other parts of the system. boo#933092
- Modify patch 1021-udev-re-add-persistent-net-rules.patch to use
the new return values of proc_cmdline() in enable_name_policy()
this should fix boo#931165
- Add 1098-systemd-networkd-alias-network-service.patch to alias
network.service the same way NetworkManager and wicked does.
This is needed by yast2 and other parts of the system. boo#933092
- Modify patch 1021-udev-re-add-persistent-net-rules.patch to use
the new return values of proc_cmdline() in enable_name_policy()
this should fix boo#931165
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=872
- spec: remove --disable-multi-seat-x, gone.(fixed in xorg)
- spec: Do not enable systemd-readahead-collect.service and
systemd-readahead-replay.service as these do not exist anymore.
- spec: drop timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch
Yast was fixed to write all timezone changes exactly how timedated expects
things to be done.
- spec: remove handle-etc-HOSTNAME.patch, since late 2014 the netcfg
package handles the migration from /etc/HOSTNAME to /etc/hostname
and owns both files.
-spec: remove boot.udev and systemd-journald.init as they currently
serve no purpose.
- suse-sysv-bootd-support.diff: Remove HAVE_SYSVINIT conditions, we
are in sysvcompat-only codepath, also remove the code targetting other
distributions, never compiled as the TARGET_$DISTRO macros are never defined.
- systemd-powerd-initctl-support.patch guard with HAVE_SYSV_COMPAT
- set-and-use-default-logconsole.patch: fix HAVE_SYSV_COMPAT guards
- insserv-generator.patch: Only build when sysvcompat is enabled
- vhangup-on-all-consoles.patch add a comment indicating this is a workaround
for a kernel bug.
- spec: Add option to allow disabling sysvinit compat at build time.
- spec: Add option to enable resolved at build time.
- spec: Remove all %ifs for !factory products, current systemd releases can
neither be built nor installed in older products without upgrading
several components of the base system.
(removed: 1008-add-msft-compability-rules.patch was only for =< 13.1)
- spec: remove all dummy "aliases" to /etc/init.d, that made sense only when
those init scripts still existed. (dummy localfs.service source: gone)
- systemd-sleep-grub: moved to the grub2 package where it belongs as a
suspend/resume hook (SR#286533) (drops prepare-suspend-to-disk.patch)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=856
'maximum number of children reached' (bnc#907393).
Add 1097-udevd-increase-maximum-number-of-children.patch
- Increase number of children/workers to CPU_COUNT * 256 to avoid
'maximum number of children reached' (bnc#907393).
Add 1097-udevd-increase-maximum-number-of-children.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=826
partially duplicate hooks run by systemd which may potentially
lead to problems, instead temporarily re-enable
Forward-suspend-hibernate-calls-to-pm-utils.patch until
boo#904828 can be addressed properly
- fix bashisms in write_net_rules script
- update patches:
* 1053-better-checks-in-write_net_rules.patch
- remove pm-utils-hooks-compat.sh again, pm-utils built-in hooks
partially duplicate hooks run by systemd which may potentially
lead to problems, instead temporarily re-enable
Forward-suspend-hibernate-calls-to-pm-utils.patch until
boo#904828 can be addressed properly
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=821
'rotational' equals 0, usually SSDs (bnc#904517).
Add 1095-set-ssd-disk-to-use-deadline-scheduler.patch
- Create rule to set I/O scheduler to deadline if device attribute
'rotational' equals 0, usually SSDs (bnc#904517).
Add 1095-set-ssd-disk-to-use-deadline-scheduler.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=813
udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
to
1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
- Rename:
udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
to
1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=745
entries in the generate rules (bnc#888178).
Add 1053-better-checks-in-write_net_rules.patch
- Enable better checks in write_net_rules to skip adding duplicated
entries in the generate rules (bnc#888178).
Add 1053-better-checks-in-write_net_rules.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=726
0001-udev-net_setup_link-add-a-bit-more-logging.patch
to
1048-udev-net_setup_link-add-a-bit-more-logging.patch
- Rename
0001-udev-net_setup_link-add-a-bit-more-logging.patch
to
1048-udev-net_setup_link-add-a-bit-more-logging.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=706
the kernel does not support CONFIG_EFI, it won't work.
(ia64 also supports it, but that's dead so is not included)
- Do not build EFI support code in architectures on which
the kernel does not support CONFIG_EFI, it won't work.
(ia64 also supports it, but that's dead so is not included)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=671
- In order to use unit directive AppArmorProfile= libapparmor-devel
must be present in buildRequires.
- Correct the libseccomp distribution version test must be >= 13.1
- In order to use unit directive AppArmorProfile= libapparmor-devel
must be present in buildRequires.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=657
rules are disabled at boot time with 'net.ifnames=0' option.
add: 1021-udev-re-add-persistent-net-rules.patch
- udev: remove seqnum API and all assumptions about seqnums
add: 1022-udev-remove-seqnum-API-and-all-assumptions-about-seq.patch
- Re-add persistent rules to have a backup option if predictable
rules are disabled at boot time with 'net.ifnames=0' option.
add: 1021-udev-re-add-persistent-net-rules.patch
- udev: remove seqnum API and all assumptions about seqnums
add: 1022-udev-remove-seqnum-API-and-all-assumptions-about-seq.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=649
patches from upstream and their commits:
add: 1014-udev-update-net_id-comments.patch
add: 1015-udev-persistent-naming-we-cannot-use-virtio-numbers-.patch
- Drop upstream-net_id-changes.patch and replace them with the correct
patches from upstream and their commits:
add: 1014-udev-update-net_id-comments.patch
add: 1015-udev-persistent-naming-we-cannot-use-virtio-numbers-.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=623
- Release v208:
+ logind gained support for facilitating privileged input and drm
devices access for unprivileged clients (helps Wayland /
kmscon).
+ New kernel command line luks.options= allows to specify LUKS
options, when used with luks.uuid=
+ tmpfileS.d snippets can uses specifier expansion in path names
(%m, %b, %H, %v).
+ New tmpfiles.d command "m" introduced to change
owner/group/access mode of a file/directory only if it exists.
+ MemorySoftLimit= cgroup settings is no longer supported
(underlying kernel cgroup attribute will disappear in the
future).
+ memeory.use_hierarchy cgroup attribute is enabled for all
cgroups systemd creates in memory cgroup hierarchy.
+ New filed _SYSTEMD_SLICE= is logged in journal messages related
to a slice.
+ systemd-journald will no longer adjust the group of journal
files it creates to "systemd-journal" group. Permissions and
owernship is adjusted when package is upgraded.
+ Backlight and random seed files are now stored in
/var/lib/systemd.
+ Boot time performance measurements included ACPI 5.0 FPDT
informations if available.
- Drop merged patches:
0001-cgroup-add-the-missing-setting-of-variable-s-value.patch,
0002-cgroup-correct-the-log-information.patch,
0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch,
0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch,
0005-core-cgroup-first-print-then-free.patch,
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=448
encrypted mounts survives runlevel changes (bnc#843085).
- Add 0001-Fix-buffer-overrun-when-enumerating-files.patch: fix
logind crash when /run/systemd/sessions was too big (bnc#840055,
initial fix from hpj@suse.com).
- Update sysctl-handle-boot-sysctl.conf-kernel_release.patch to
only check for /boot/sysctl.conf-<uname -r> presence.
- Add service wrapper for after.local (bnc#778715).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=447
VUL-0: polkit: process subject race condition [bnc#835827]
- Build with --disable-ima as the openSUSE kernel
does not support IMA (CONFIG_IMA is not set)
- Build with --disable-smack as the openSUSE kernel
does not support smack (CONFIG_SECURITY_SMACK is not set)
- 0009-polkit-Avoid-race-condition-in-scraping-proc.patch
VUL-0: polkit: process subject race condition [bnc#835827]
- Build with --disable-ima as the openSUSE kernel
does not support IMA (CONFIG_IMA is not set)
- Build with --disable-smack as the openSUSE kernel
does not support smack (CONFIG_SECURITY_SMACK is not set)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=439
really fixes the swap unit problem mentioned in previous
commit & the opensuse-factory mailing list.
- 0008-swap-create-.wants-symlink-to-auto-swap-devices.patch
really fixes the swap unit problem mentioned in previous
commit & the opensuse-factory mailing list.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=436
missing important check on return value.
- 0002-cgroup-correct-the-log-information.patch fix misleading
log information.
- 0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch fix
setting memory cgroup
- 0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch
should fail if write fails.
- 0005-core-cgroup-first-print-then-free.patch use-after-free
will trigger if there is an error condition.
- 0006-swap-fix-reverse-dependencies.patch reported in
opensuse-factory list, topic "swap isn't activated"
- 0007-libudev-fix-move_later-comparison.patch libudev
invalid usage of "move_later".
- while testing this new release I get in the logs ocassionally
at boot "systemd[1]: Failed to open private bus connection:
Failed to connect to socket /var/run/dbus/system_bus_socket:
No such file or directory" indeed DBUS_SYSTEM_BUS_DEFAULT_ADDRESS
is defined to /var/run/dbus/system_bus_socket instead of
/run/dbus/system_bus_socket and that does not fly when /var/run
is not yet available. (systemd-dbus-system-bus-address.patch)
- 0001-cgroup-add-the-missing-setting-of-variable-s-value.patch
missing important check on return value.
- 0002-cgroup-correct-the-log-information.patch fix misleading
log information.
- 0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch fix
setting memory cgroup
- 0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=434
release notes see NEWS.
- Fixed:
* Failed at step PAM spawning /usr/lib/systemd/systemd:
Operation not permitted
* Fix shutdown hang "a stop job is running for Session 1 of user root"
that was reported in opensuse-factory list.
- systemd-sysctl no longer reads /etc/sysctl.conf however backward
compatbility is to be provides by a symlink created at %post.
- version 207, distribution specific changes follow, for overall
release notes see NEWS.
- Fixed:
* Failed at step PAM spawning /usr/lib/systemd/systemd:
Operation not permitted
* Fix shutdown hang "a stop job is running for Session 1 of user root"
that was reported in opensuse-factory list.
- systemd-sysctl no longer reads /etc/sysctl.conf however backward
compatbility is to be provides by a symlink created at %post.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=429
* Unit files now understand the new %v specifier which
resolves to the kernel version string as returned by "uname-r".
* "journalctl -b" may now be used to look for boot output of a
specific boot. Try "journalctl -b -1"
* Creation of "dead" device nodes has been moved from udev
into kmod and tmpfiles.
* The udev "keymap" data files and tools to apply keyboard
specific mappings of scan to key codes, and force-release
scan code lists have been entirely replaced by a udev
"keyboard" builtin and a hwdb data file.
- remove patches now in upstream
- systemd now requires libkmod >=14 and cryptsetup >= 1.6.0
- systemd now require the kmod tool in addition to the library.
- version 206 , highlights:
* Unit files now understand the new %v specifier which
resolves to the kernel version string as returned by "uname-r".
* "journalctl -b" may now be used to look for boot output of a
specific boot. Try "journalctl -b -1"
* Creation of "dead" device nodes has been moved from udev
into kmod and tmpfiles.
* The udev "keymap" data files and tools to apply keyboard
specific mappings of scan to key codes, and force-release
scan code lists have been entirely replaced by a udev
"keyboard" builtin and a hwdb data file.
- remove patches now in upstream
- systemd now requires libkmod >=14 and cryptsetup >= 1.6.0
- systemd now require the kmod tool in addition to the library. (forwarded request 184035 from elvigia)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=416
+ two new unit types have been introduced:
- Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1
forking off the processes.
- Slice units may be used to partition system resources in an
hierarchial fashion and then assign other units to them. By
default there are now three slices: system.slice (for all
system services), user.slice (for all user sessions),
machine.slice (for VMs and containers).
+ new concept of "transient" units, which are created at runtime
using an API and not based on configuration from disk.
+ logind has been updated to make use of scope and slice units to
manage user sessions. Logind will no longer create cgroups
hierchies itself but will relying on PID 1.
+ A new mini-daemon "systemd-machined" has been added which
may be used by virtualization managers to register local
VMs/containers. machinectl tool has been added to query
meta-data from systemd-machined.
+ Low-level cgroup configuration options ControlGroup=,
ControlGroupModify=, ControlGroupPersistent=,
ControlGroupAttribute= have been removed. High-level attribute
settings or slice units should be used instead?
+ A new bus call SetUnitProperties() has been added to alter
various runtime parameters of a unit, including cgroup
parameters. systemctl gained set-properties command to wrap
this call.
+ A new tool "systemd-run" has been added which can be used to
run arbitrary command lines as transient services or scopes,
while configuring a number of settings via the command
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
parse-etc-insserv.conf-and-adds-dependencies-accordingly.patch
patch with insserv-generator.patch: no longer patch systemd main
binary but generate systemd drop-in files using a generator, for
insserv.conf compatibility.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=410
in /dev/disk/by-id, will need proper rework (bnc#826528).
- 0160-mount-when-learning-about-the-root-mount-from-mounti.patch Another
case where we are trying to umount the root directory at shutdown.
- 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch
only attempt to connect to a session bus if one likely exists
- Drop 1007-add-msft-compability-rules.patch, breaks boot and links
in /dev/disk/by-id, will need proper rework (bnc#826528).
- 0160-mount-when-learning-about-the-root-mount-from-mounti.patch Another
case where we are trying to umount the root directory at shutdown.
- 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch
only attempt to connect to a session bus if one likely exists
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=405
(bnc#703100, fate#311831).
add: 1008-physical-hotplug-cpu-and-memory.patch
0002-journal-remember-last-direction-of-search-and-keep-o.patch
fix possible infinite loops in the journal code, related to
bnc #817778
- Automatically online CPUs/Memory on CPU/Memory hotplug add events
(bnc#703100, fate#311831).
add: 1008-physical-hotplug-cpu-and-memory.patch
0002-journal-remember-last-direction-of-search-and-keep-o.patch
fix possible infinite loops in the journal code, related to
bnc #817778
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=401
0002-journal-remember-last-direction-of-search-and-keep-o.patch
fix possible infinite loops in the journal code, related to
bnc #817778
- 0001-journal-letting-interleaved-seqnums-go.patch and
0002-journal-remember-last-direction-of-search-and-keep-o.patch
fix possible infinite loops in the journal code, related to
bnc #817778 (forwarded request 179367 from elvigia)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=396
add: 1007-add-msft-compability-rules.patch
- Add sg3_utils requires, need it by 61-msft.rules (bnc#805059).
- Clean-up spec file, put udev patches after systemd patches.
- Rebase patches so they would apply nicely.
- Add udev MSFT compability rules (bnc#805059).
add: 1007-add-msft-compability-rules.patch
- Add sg3_utils requires, need it by 61-msft.rules (bnc#805059).
- Clean-up spec file, put udev patches after systemd patches.
- Rebase patches so they would apply nicely.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=391
fixes :
* systemd-journald[347]: Failed to set ACL on
/var/log/journal/11d90b1c0239b5b2e38ed54f513722e3/user-1000.journal,
ignoring: Invalid argument
- 006-systemctl-core-allow-nuking-of-symlinks-to-removed-u.patch
systemctl disable should remove dangling symlinks.
- 0008-service-don-t-report-alien-child-as-alive-when-it-s-.patch
alien childs are reported as alive when they are really dead.
- 0004-journald-DO-recalculate-the-ACL-mask-but-only-if-it-.patch
fixes :
* systemd-journald[347]: Failed to set ACL on
/var/log/journal/11d90b1c0239b5b2e38ed54f513722e3/user-1000.journal,
ignoring: Invalid argument
- 006-systemctl-core-allow-nuking-of-symlinks-to-removed-u.patch
systemctl disable should remove dangling symlinks.
- 0008-service-don-t-report-alien-child-as-alive-when-it-s-.patch
alien childs are reported as alive when they are really dead.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=390
+ systemd-nspawn creates etc/resolv.conf in container if needed.
+ systemd-nspawn will store metadata about container in container
cgroup including its root directory.
+ cgroup hierarchy has been reworked, all objects are now suffxed
(with .session for user sessions, .user for users, .nspawn for
containers). All cgroup names are now escaped to preven
collision of object names.
+ systemctl list-dependencies gained --plain, --reverse, --after
and --before switches.
+ systemd-inhibit shows processes name taking inhibitor lock.
+ nss-myhostname will now resolve "localhost" implicitly.
+ .include is not allowed recursively anymore and only in unit
files. Drop-in files should be favored in most cases.
+ systemd-analyze gained "critical-chain" command, to get slowest
chain of units run during boot-up.
+ systemd-nspawn@.service has been added to easily run nspawn
container for system services. Just start
"systemd-nspawn@foobar.service" and container from
/var/lib/container/foobar" will be booted.
+ systemd-cgls has new --machine parameter to list processes from
one container.
+ ConditionSecurity= can now check for apparmor and SMACK.
+ /etc/systemd/sleep.conf has been introduced to configure which
kernel operation will be execute when "suspend", "hibernate" or
"hybrid-sleep" is requrested. It allow new kernel "freeze"
state to be used too. (This setting won't have any effect if
pm-utils is installed).
+ ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape
passed argument if applicable.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=388
support has been removed from the kernel.
- Drop ensure-systemd-udevd-is-started-before-local-fs-pre-for-lo.patch
fixed in systemd v199, commit 89d09e1b5c65a2d97840f682e0932c8bb499f166
- Apply rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch
only on ARM, patch rejected upstream because is too generic.
- no such define TARGET_SUSE exists but it is used in
Revert-service-drop-support-for-SysV-scripts-for-the-early.patch
use HAVE_SYSV_COMPAT instead.
- Drop Add-bootsplash-handling-for-password-dialogs.patch bootsplash
support has been removed from the kernel.
- Drop ensure-systemd-udevd-is-started-before-local-fs-pre-for-lo.patch
fixed in systemd v199, commit 89d09e1b5c65a2d97840f682e0932c8bb499f166
- Apply rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch
only on ARM, patch rejected upstream because is too generic.
- no such define TARGET_SUSE exists but it is used in
Revert-service-drop-support-for-SysV-scripts-for-the-early.patch
use HAVE_SYSV_COMPAT instead.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=387
> for l in /etc/rc.d/rc4.d/*; do echo $l; done
/etc/rc.d/rc4.d/*
> systemd-sysv-convert --save iscsid
/usr/sbin/systemd-sysv-convert: line 44: [: too many arguments
/usr/sbin/systemd-sysv-convert: line 47: [: too many arguments
(resubmit of request 173801)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=374
- Generate %{_libexecdir}/modules-load.d/sg.conf so we load sg module at
boot time not from udev (bnc#761109).
- Drop unused patches:
1001-Reinstate-TIMEOUT-handling.patch
1005-udev-fix-sg-autoload-regression.patch
1026-re-add-persistent-net.patch
- Rename remaning udev patches (clean-up).
- Generate %{_libexecdir}/modules-load.d/sg.conf so we load sg module at
boot time not from udev (bnc#761109).
- Drop unused patches:
1001-Reinstate-TIMEOUT-handling.patch
1005-udev-fix-sg-autoload-regression.patch
1026-re-add-persistent-net.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=371
- Add more conflicts to -mini packages
- Disable Predictable Network interface names until it has been
reviewed by network team, with /usr/lib/tmpfiles.d/network.conf.
- Don't package /usr/lib/firmware/update (not used)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=367
+ 'systemctl list-jobs' got some polishing. '--type=' argument
may now be passed more than once. 'systemctl list-sockets' has
been added.
+ systemd gained a new unit 'systemd-static-nodes.service'
that generates static device nodes earlier during boot, and
can run in conjunction with udev.
+ systemd-nspawn now places all containers in the new /machine
top-level cgroup directory in the name=systemd hierarchy.
+ bootchart can now store its data in the journal.
+ journactl can now take multiple --unit= and --user-unit=
switches.
+ The cryptsetup logic now understands the "luks.key=" kernel
command line switch. If a configured key file is missing, it
will fallback to prompting the user.
- Rebase some patches
- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch to
properly handle SYSTEMCTL_OPTIONS
- Fix regression in the default for tmp auto-deletion
(systemd-tmp-safe-defaults.patch, FATE#314974).
- Add chromebook lid switch as a power switch to logind rule to
enable suspend on lid close
- Update to release 202:
+ 'systemctl list-jobs' got some polishing. '--type=' argument
may now be passed more than once. 'systemctl list-sockets' has
been added.
+ systemd gained a new unit 'systemd-static-nodes.service'
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=365
performance on spinning media with ext4.
- Add fix-journal-vacuum-logic.patch: fix vacuum logic in journal
(bnc#789589).
- Add fix-lsb-provides.patch: ensure LSB provides are correctly
handled if also referenced as dependencies (bnc#809646).
- Add fix-loopback-mount.patch: ensure udevd is started (and
therefore static devices are created) before mounting
(bnc#809820).
- Update systemd-sysv-convert to search services files in new
location (bnc#809695).
- Add logind-nvidia-acl.diff: set ACL on nvidia devices
(bnc#808319).
- Add do-no-isolate-on-fsck-failure.patch: do not turn off services
if fsck fails (bnc#812874)
- Add wait-for-processes-killed.patch: wait for processes killed by
SIGTERM before killing them with SIGKILL.
- Update systemctl-options.patch to only apply SYSTEMCTL_OPTIONS to
systemctl command (bnc#801878).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=361
exist (bnc#809843).
add: 1027-udev-always-rename-network.patch
- udev: re-add persistent network rules (bnc#809843).
add: 1026-re-add-persistent-net.patch
- rebase all patches, ensure that they apply properly.
- udev: ensure that the network interfaces are renamed even if they
exist (bnc#809843).
add: 1027-udev-always-rename-network.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=359
installed for the first time.
- Add improve-journal-perf.patch: improve journal performance on
query.
- Add support-hybrid-suspend.patch: add support for hybrid suspend.
- Add forward-to-pmutils.patch: forward suspend/hibernation calls
to pm-utils, if installed (bnc#790157).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=353
1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch
- udev: use unique names for temporary files created in /dev.
add: 1022-udev-use-unique-names-for-temporary-files-created-in.patch
- cdrom_id: add data track count for bad virtual drive.
add: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
- rework patch:
1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch
- udev: use unique names for temporary files created in /dev.
add: 1022-udev-use-unique-names-for-temporary-files-created-in.patch
- cdrom_id: add data track count for bad virtual drive.
add: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=344