- Own a couple of directories even if they don't belong to systemd
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/request/show/437403
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
Split systemctl and tmpfiles into a separate package
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/request/show/415263
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=942
- require curl and bzip2 to build importd
- 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/request/show/365799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=931
- 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.
- 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/request/show/315632
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=885
- 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.
- 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/request/show/314627
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=880
- remove patch sysctl-handle-boot-sysctl.conf-kernel_release.patch
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/request/show/313718
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=878
- 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
- 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/request/show/313597
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=876
- 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
- 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/request/show/309834
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=872
- spec : remove --with-firmware-path, firmware loader was removed in v217
- 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/request/show/286574
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=856
- 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
- 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/request/show/263284
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=826
- 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
- 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/request/show/262325
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=821