minimum in systemd-sysv-install to enable/disable SysV init scripts
(bsc#1186595 bsc#1186359)
Indeed there's no much point in dropping SysV support completely
until upstream will do especially since 3rd party applications such
as vmware still rely on it, see bsc#1186359).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1161
- systemd.spec: clean some of the build deps up:
- libpcre is redundant with libpcre2 (only required by the full
build) and the mini variant needs none of them. Hence drop the ref
to libpcre.
- normally libidn2 is needed by some optional features in
systemd-network (only). But it's implicitly pulled in by libgnutls
(required by the main package). Let's make sure the related
features won't be disabled inadvertently in the future by making
the dep explicit.
- enable libiptc for masquerading support in networkd
- create subpackage systemd-experimental to host pstore, repart,
userdb and homed
OBS-URL: https://build.opensuse.org/request/show/885896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=329
udev uses a different license (GPL-2.0-only) than the main package
and "osc service localrun format_spec_file" has the good taste to
restore the license tags for all other subpackages if one of the
subpackage tag differs.
- Drop "License:" tags from all subpackages and make it inherited
from the main package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1158
This subpackage is mainly used before submitting a new version of
the systemd packages. As such it's not intended for regular users
hence can be removed/renamed at any time. One might wonder why the
unit tests are not executed during package builds (%check)... the
reason is that the environment used to build package (chroot) is too
limited and therefore only a subset of the unit tests would be
executed in this environment.
To disable the build of the subpackage, use "--without=tests".
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1155
See https://github.com/openSUSE/systemd/blob/SUSE/v248/NEWS for
details.
- A couple runtime dependencies on libraries are now tracked
manually (with Recommends:) due to the fact that some symbols of
these libs are dynamically loaded with dlopen() (heck!)
- oomd is left disablde for now
- pam configuration file 'systemd-user' is now shipped in
/usr/etc/pam.d
- Rebased 0001-conf-parser-introduce-early-drop-ins.patch
0003-strip-the-domain-part-from-etc-hostname-when-setting.patch
0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch
- Dropped 0004-tmpfiles-support-exclude-statements-based-on-file-ow.patch
as it is SLE specific.
- Clean systemd-experimental up:
- Enclose "%package/%descriptoin experimental" within a "%if
%experimental/%endif" block condition
- List the build requirements in the sub-package instead of listing
them in the main package.
- Enable support for fido2, pwquality and qrencode in the home
stuff
- Improve the package description
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1149
- Import commit 14581e01203df7aa63c7c8383a12e6ebe258476f (merge of v246.13)
423b1e759c Revert "resolved: gracefully handle with packets with too large RR count" (bsc#1183745)
4723778738 meson.build: make xinitrcdir configurable (bsc#1183408)
[...]
For a complete list of changes, visit:
9753d1c175...14581e0120
- Drop 0001-Revert-resolved-gracefully-handle-with-packets-with-.patch
as it's part of v246.13.
- Make use of the new build option to ship xinitrc in
/usr/etc/X11/xinit/xinitrc.d (bsc#1183408)
- Add 0001-Revert-resolved-gracefully-handle-with-packets-with-.patch
Temporary workaround for bsc#1183745 (upstream issue 18917) until an
actual fix is found.
- Default to the "unified" cgroup hierarchy. At this point, most
users of cgroup (such as docker, libvirt, kubernetes) should be
ready for this change. It's still possible to switch back to the
old "hybrid" hierarchy by passing "systemd.unified_cgroup_hierarchy=0"
option to the kernel command line.
OBS-URL: https://build.opensuse.org/request/show/882182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=328
- libpcre is redundant with libpcre2 (only required by the full
build) and the mini variant needs none of them. Hence drop the ref
to libpcre.
- normally libidn2 is needed by some optional features in
systemd-network (only). But it's implicitly pulled in by libgnutls
(required by the main package). Let's make sure the related
features won't be disabled inadvertently in the future by making
the dep explicit.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1146
423b1e759c Revert "resolved: gracefully handle with packets with too large RR count" (bsc#1183745)
4723778738 meson.build: make xinitrcdir configurable (bsc#1183408)
[...]
For a complete list of changes, visit:
9753d1c175...14581e0120
- Drop 0001-Revert-resolved-gracefully-handle-with-packets-with-.patch
as it's part of v246.13.
- Make use of the new build option to ship xinitrc in
/usr/etc/X11/xinit/xinitrc.d (bsc#1183408)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1145
- Import commit 9753d1c17545a5d46530696cb14254f5f12024f1 (merge of v246.11)
For a complete list of changes, visit:
134cf1c8bc...9753d1c175
- Rebase 0001-conf-parser-introduce-early-drop-ins.patch
- Import commit 13bc08870147b35f87cefb074aec22e767b7ac04
846d61e0a1 boot: Move console declarations to missing_efi.h
171a37228b boot: Add startswith() and endswith() functions with no_case variants
0fad9f309a boot: Drop unnecessary braces
c38bbb0874 boot: Fix void pointer arithmetic warning
438210924b boot: Replace raw efivar gets with typed variants
e46cb3e4a0 boot: Add efivar_get/set_uint64_le() functions
e16bee35c8 boot: Rename efivar_get/set_int() to efivar_get/set_uint_string()
2808d0e9a3 boot: Tighten scope of variables used in loops
d3f3d57743 boot: Add efivar_get_boolean_u8()
0551ecce71 boot: Make all efivar util functions take the guid as an argument
8376ba3b9f boot: Turn all guid constants into C99 compound initializers
166fc2dad2 boot: Enable C99
c87d66e261 boot: Move Secure Boot logic to new file
da7bba9438 udev: fix memleak
e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598)
8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020)
- Make sure the udev socket units are reloaded during udev package updates
- fix-machines-btrfs-subvol.sh is only shipped when machined is built
OBS-URL: https://build.opensuse.org/request/show/879358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=327
- systemd requires aaa_base >= 13.2
This dependency is required because 'systemctl
{is-enabled,enable,disable} <initscript>" ends up calling
systemd-sysv-install which in its turn calls "chkconfig
--no-systemctl".
aaa_base package has a weird versioning but the '--no-systemctl'
option has been introduced starting from SLE12-SP2-GA, which shipped
version "13.2+git20140911.61c1681".
Spotted in bsc#1180083.
OBS-URL: https://build.opensuse.org/request/show/874480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=326
This dependency is required because 'systemctl
{is-enabled,enable,disable} <initscript>" ends up calling
systemd-sysv-install which in its turn calls "chkconfig
--no-systemctl".
aaa_base package has a weird versioning but the '--no-systemctl'
option has been introduced starting from SLE12-SP2-GA, which shipped
version "13.2+git20140911.61c1681".
Spotted in bsc#1180083.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1137
- Add 0001-conf-parser-introduce-early-drop-ins.patch
Introduce early configuration drop-in file. This type of drop-ins
are reserved for vendor own purposes only and should never been used
by users. It might be removed in the future without any notice.
- Drop use of %systemd_postun in %postun
This macro is supposed to operate on units but it was used without
passing any parameters. This call was probably used for issuing a
daemon-reload but the following calls to
%systemd_postun_with_restart imply that already. So let's simply
drop it.
OBS-URL: https://build.opensuse.org/request/show/873790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=325
This macro is supposed to operate on units but it was used without
passing any parameters. This call was probably used for issuing a
daemon-reload but the following calls to
%systemd_postun_with_restart imply that already. So let's simply
drop it.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1135
- Import commit 520e53b6d85087b05892ee637ae93f1b269e7e52 (merge of v246.9)
For a complete list of changes, visit:
2401461e5f...520e53b6d8
- Import commit 2401461e5f0e32922823d954c56106f96344070e
6131548b0f udev: link_update() should fail if the entry in symlink dir couldn't have been created
f6cb8c7d79 udev: make algorithm that selects highest priority devlink less susceptible to race conditions (bsc#1084748)
fc64e47291 basic/stat-util: make mtime check stricter and use entire timestamp
ae91d45d3d test/sys-script.py: add missing DEVNAME entries to uevents
09e3473a7a test/udev_test.pl: add "expected good" count
fc89379b5b test/udev-test.pl: suppress umount error message at startup
d9e114f10d test/sd-script.py: new helper script for udev testing
f2672eae66 test/udev-test.pl: generator for large list of block devices
42b68e43e2 test/udev-test.pl: add repeat count
eec8ec375a tests/udev-test.pl: add multiple device test
73b8f3cf93 test/udev-test.pl: count "good" results
ee04d70bb6 test/udev-test.pl: merge import parent tests into one
03942c8fbc test/udev-test.pl: merge "space and var with space" tests
ec95546189 test/udev-test.pl: remove bogus rules from magic subsys test
f704429217 test/udev-test.pl: Make some tests a little harder
ce1a877dc0 test/udev-test.pl: last_rule is unsupported
913c72ff2d test/udev-test.pl: fix wrong test descriptions
eeb25a1be6 test/udev-test.pl: allow checking multiple symlinks
00ab4292da test/udev-test.pl: test correctness of symlink targets
5b71ee2911 test/udev-test.pl: use computed devnode name
2e04bb9ae8 test/udev-test.pl: allow concurrent additions and removals
8816dd593c test/udev-test.pl: create rules only once
214418632d test/udev-test.pl: allow multiple devices per test
1eb6b23f27 udev-test: do not rely on "mail" group being defined
4a0a4dcf10 udev: Fix sound.target dependency (bsc#1179363)
OBS-URL: https://build.opensuse.org/request/show/856898
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1131
- Enable support for zstd compression
systemd-journald will now use zstd for compressing large fields in
journal files. systemd-coredump will also use this algorithm to
compress coredump files.
Please note that systemd older than v246 won't be able to read new
journal files as zstd algorithm is not supported by these versions.
This incompatible change was actually not the only one introduced by
v246 since the hash tables in journal files have been hardened
against hash collisions too in an incompatible way with older
versions.
OBS-URL: https://build.opensuse.org/request/show/856647
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1130
- Explicitly require group(kvm) by udev: the group used to be
created by system-users-hardware, but has been split/moved to
qemu/kvm, where it is more logical. The file
/usr/lib/udev/rules.d/50-udev-default.rules references this
group, thus we should make sure the group exists. Otherwise there
are errors in the journal in the form of:
/usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring
OBS-URL: https://build.opensuse.org/request/show/855788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=322
- Explicitly require group(kvm) by udev: the group used to be
created by system-users-hardware, but has been split/moved to
qemu/kvm, where it is more logical. The file
/usr/lib/udev/rules.d/50-udev-default.rules references this
group, thus we should make sure the group exists. Otherwise there
are errors in the journal in the form of:
/usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring
- Explicitly require group(kvm) by udev: the group used to be
created by system-users-hardware, but has been split/moved to
qemu/kvm, where it is more logical. The file
/usr/lib/udev/rules.d/50-udev-default.rules references this
group, thus we should make sure the group exists. Otherwise there
are errors in the journal in the form of:
/usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring
OBS-URL: https://build.opensuse.org/request/show/855679
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1129
- Don't post-require systemd-default-settings-branding anymore
This is actually not needed now that the branding package issues a
PID1 reloading every times it's being updated.
- Import commit 49caf8e37aba04841e5493ccc25e7edab462d95b
f8f7286527 units: restore sysfs conditions in sys-fs-fuse-connections.mount and sys-kernel-config.mount
e9c7158dc7 units: wait until some fs modules are entirely loaded before mounting their corresponding filesystem (bsc#1178631)
ac7ddc4201 Revert "units: skip modprobe@.service if the unit appears to be already loaded"
17310a1d19 core: serialize u->pids until the processes have been moved to the scope cgroup (bsc#1174436)
1416965614 meson: add option to skip installing to $sysconfdir
f71a1ef5d0 systemctl: give a nice hint about org.freedesktop.LogControl1 when applicable
20a3f9fd95 systemctl: immediately reject invalid log levels
9f67d2e57b systemctl: merge log_target(), log_level(), service_log_setting()
ddf7cf4872 systemctl: add service-log-{level,target} verbs
026d7d156d systemctl: list unit introspection verbs first, modification second
- systemd-default-settings is needed by %post scriptlet
- Revert the change that dropped %{release} from the package version
constraints used in Requires:
The release number is actually relevant since it can be increased
when some patches, which might touch multiple sub-packages of
systemd, are added/modified.
However the %{release} is still no more used in conflicts.
- Don't post-require systemd-default-settings-branding anymore
This is actually not needed now that the branding package issues a
PID1 reloading every times it's being updated.
- Import commit 49caf8e37aba04841e5493ccc25e7edab462d95b
OBS-URL: https://build.opensuse.org/request/show/850486
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1126
- Import commit fdce77ce2067f9dd90d816bad28b51efed0b6dc1
05fff5bd02 generator: use kmsg in system-level generators, journal otherwise
ecc07954de log: normalize log target condition check
d32ceea42b log: update comment
2ebad02b60 basic/virt: Detect PowerVM hypervisor (bsc#1176800)
- Simplify systemd-sysv-convert
- the previous code incorrectly assumed that the sysv init scripts
were uninstalled before %post get executed. It therefore save the
enablement state in %pre and restore it in %post. Now all is done
in %post (making --save option useless) and there's no more need
to remember the enablement state.
- "--save" option is a NOP but is still kept for backward
compatibility.
- the previous simplifcation made /var/lib/systemd/migrated no more
used.
- we do not search for units in /lib/systemd anymore, this shouldn't
be needed anymore these days especially since this path was only
used when systemd was introduced in openSUSE and it was never used
in SLE (checked SLE12-GA).
- the option --show has been dropped. It's never been used even
internally.
- the DB is populated only once even if the script was enabled at
multiple runlevels. The runlevel info was never used. A dummy
value is still added to keep the same format just in case.
- No more need to clean the journal-upload stuff with --without=journal_remote
Since -Dremote build option has been introduced with meson, this
workaround is no more needed.
OBS-URL: https://build.opensuse.org/request/show/846415
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1124