98bc28d824 tmpfiles: constify item_compatible() parameters
3faf1a2648 test: adapt install_pam() for openSUSE
b7ca34fa28 test: add test checking tmpfiles conf file precedence
2713693d93 test tmpfiles: add a test for 'w+'
ce2cbefe38 tmpfiles.d: only 'w+' can have multiple lines for the same path (bsc#1198090)
769f5a0cbe Support -D_FORTIFY_SOURCE=3 by using __builtin_dynamic_object_size.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1277
1c229f8fc1 cryptsetup: fall back to traditional unlocking if any TPM2 operation fails
8881f21539 cryptsetup: fix typo
5882148902 journald: make use of CLAMP() in cache_space_refresh()
6ee0601f73 journald: make sure journal_file_open() doesn't leave a corrupted file around after failing (bsc#1198114)
fe928f3d49 fs-util: make sure openat_report_new() initializes return param also on shortcut
3881af1806 fs-util: fix typos in comments
96060b73ba journal-file: port journal_file_open() to openat_report_new()
611d9955bb fs-util: add openat_report_new() wrapper around openat()
f16edb41d4 network: ignore all errors in loading .network files (bsc#1197968)
5422730a7b meson: build kernel-install man page when necessary
45c627cfc2 build: include status of TPM2 in the feature string show by --version
- Drop 0001-meson-build-kernel-install-man-page-when-necessary.patch
It's been merged in the SUSE git repo.
This includes the following bug fixes:
- upstream commit 34357545590d4791d1acbbeb07ae8f7636e187cb (bsc#1198093)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1274
sub-package: they may deserve a dedicated sub-package in the future but for
now move them to udev so they aren't installed in systemd based containers.
- Move a bunch of components operating on (mainly block) devices into udev as
without udev they're most likely useless.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1268
37b683c832 journal: preserve acls when rotating user journals with NOCOW attribute set
d043fabebc journal: when copying journal file to undo NOCOW flag, go via fd
78c2766689 journal-file: explicitly handle file systems that do not support hole punching
7ecfb4b098 journal-file: fix error handling of pread() in journald_file_punch_holes()
c4946a412c journal-file: don't use pread() when determining where to append, use mmap as before
d3fbd20628 journal: various fixes to journal_file_read_object()
5897a8e8d4 shared: Handle filesystems that don't support hole punching in COPY_HOLES
27746408e2 journal: Truncate file instead of punching hole in final object
59b6130030 shared: Ensure COPY_HOLES copies trailing holes
ac9ccba73f journal: stat journal file after truncating
0257283444 journal: Copy holes when archiving BTRFS journal files
26c2a9952d shared: Copy holes in sparse files in copy_bytes_full()
6c7191dece copy: fix wrong argument passed to S_ISREG() in copy_file_fd_full()
af0a43024d udev: 60-persistent-storage-tape.rules: handle duplicate device ID (bsc#1195529)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1263
Make sure that all mini variants won't be installed in real systems and won't
be involved when building medias with kiwi. Note that sub-packages that
requires systemd (such as udev) don't need any special treatment since the
specific deps are inherited from the main (mini) package.
- spec: simplify systemd-mini-doc dependencies by assuming that the doc
sub-package can't be a build requirement for other packages.
- spec: libsystemd-mini and libudev-mini need to provide libsystemd and libudev
respectively
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1251
systemd-sysvinit was probably provided to allow systems to switch from
sysvinit to systemd by overwriting /sbin/init with a link to systemd. But this
isn't very useful anymore due to the fact that sysvinit is not supported since
several years. Therefore the subpackage contains now the files needed to keep
backward compatibility with SysV init scripts (most notably sysv-generator)
and has been renamed accordingly. The few files that are not specific to
sysvinit (such as /bin/init) have been moved to the main package.
Normally this new subpackage shouldn't be needed (since all packages use
systemd unit files) unless a 3rd party application is installed and still
relies on SysV init scripts.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1250
actually installed when %{with machined} is true.
- Call ldconfig when container subpackage is installed since it ships
nss-mymachines NSS plug-in module.
- Drop 0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch
0009-sysv-add-back-support-for-all-virtual-facility-and-f.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1243
41334be59e meson: minor cleanup
3db0c28462 sysusers: split up systemd.conf
- Drop 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch (bsc#1195153)
Since v241, the patch isn't useful anymore because resolved is no more able to
create /etc/resolv.conf symlink by itself,it runs as 'systemd-resolve'
user. The symlink is now handled by a tmpfiles config file which is only
installed when systemd-resolved is. The tmpfiles config file has currently a
lower priority than the one shipped by netconfig.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1240
and systemd-container respectively.
These modules are plug-in modules hence the shared library packaging policy
doesn't apply for them. Moreover they're pretty useless alone without their
respective systemd services, Hence let's reduce the number of sub-packages as
the list keeps increasing.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1238
material.
- Extract bits from 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
which are not specific to the handling of 'Required-Start:' and move them into a
new patch 1010-sysv-add-back-support-for-all-virtual-facility-and-f.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1222
For a complete list of changes, visit:
458220239c...e2ca79dd77
- Drop the following patches as they have been merged into SUSE/v249 branch:
5000-shared-rm_rf-refactor-rm_rf_children_inner-to-shorte.patch
5001-shared-rm_rf-refactor-rm_rf-to-shorten-code-a-bit.patch
5002-shared-rm-rf-loop-over-nested-directories-instead-of.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1221
e95df40b09 shared/rm-rf: loop over nested directories instead of instead of recursing (CVE-2021-3997 bsc#1194178)
078e04305d shared/rm_rf: refactor rm_rf() to shorten code a bit
6d560d0aca shared/rm_rf: refactor rm_rf_children_inner() to shorten code a bit
6666ff056c localectl: don't omit keymaps files that are symlinks (bsc#1191826)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1220
5000-shared-rm_rf-refactor-rm_rf_children_inner-to-shorte.patch
5001-shared-rm_rf-refactor-rm_rf-to-shorten-code-a-bit.patch
5002-shared-rm-rf-loop-over-nested-directories-instead-of.patch
These patches will be dropped and cherry-picked from upstream once upstream
will commit them in their main branch.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1219
30cbebc56f tmpfiles: 'st' may have been used uninitialized
5443654ec0 macro: add new helper RET_NERRNO()
8d90ecc435 rm-rf: optionally fsync() after removing directory tree
591344010d rm-rf: refactor rm_rf_children(), split out body of directory iteration loop
8c7762c4f1 Bump the max number of inodes for /dev to a million (bsc#1192858)
dc9476c881 journal: don't remove the flushed flag when journald is stopped
29efc29efd TEST-10: don't attempt to write a byte to the socket
773fb785b6 Bump the max number of inodes for /dev to 128k (bsc#1192858)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1218
Change the default implementation of pam_setcred() again, previously
customized to run the full "auth" PAM stack and only call pam_deny.so which is
basically the SUSE default behavior without pam_warn.so.
This is considered safer, especially on SLE where a regression was spotted by
QA.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1217
For a complete list of changes, visit:
c34c987126...523f32df57
- Import commit c34c98712600bc206919ec6ed136195f75ac1967
f99aa40c6e TEST-12: make sure 'adm' group exist
6c7194ff99 TEST-08: don't force ext4 for /
dd1814b8f9 test: use kbd-mode-map we ship in one more test case
94c5febf2a test: fix TEST-10-ISSUE-2467
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1213
3b4a005095 meson: add missing include directory when using xkbcommon
4c4e642712 meson: allow extra net naming schemes to be defined during configuration (jsc#SLE-18514)
78466e4464 meson: drop the list of valid net naming schemes
b9a2098f9d netif-naming: inline one iterator variable
d7fbbc5e74 Add remaining supported schemes as options for default-net-naming-scheme
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1203
Build conditionals (%bcond_with and %bcond_without) are used to
define a specific feature of systemd. "gnu-efi" is rather an
implemenation detail. Also not really sure what "efi" option alone
is useful for since systemd-boot & co depends on "gnu-efi".
- Enable sd_boot support for aarch64
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1202
This setgid bit has been already reviewed in the past and wasn't a
concern. However we want the mode/ownership adjusted by tmpfiles and
avoid the duplication of these info in rpm.
- Don't ghost own any directories created dynamically by tmpfiles
Again rpmlint complains but it doesn't seem to make sense to try to
track all paths (including theirs perms, ownerships...) created
dynamically. And 'rpm -V' is likely to report issues later with
these paths anyway.
This effectively partially reverts the two previous commits.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1194
This sub package was introduced in order to configure persistent
journal and also to make sure that another syslog provider (such as
rsyslog) couldn't be installed at the same time: each syslog
provider conflicts with each others.
However this mechanism didn't work since uninstalling systemd-logger
wasn't magically turning off persistent logging because
/var/log/journal is likely to be populated hence not removed.
Moreover using a subpackage to configure the mode of journald was
overkill and the usual ways (main conf file or drop-ins) should be
preferred.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1190
8d65ec4a66 test: wc is needed by test/units/testsuite-50.sh
1527bcc5dd test: make the installation of the debug tools optional in the image
f4e6bf0b37 journalctl: never fail at flushing when the flushed flag is set (bsc#1188588)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1189
- it's been renamed into 'systemd-testsuite'
- it includes the extended tests too
- the relevant commits have been backported to SUSE/v249 so no SUSE
specific patch is needed to run the extended tests (see below)
- the deps needed by the extended tests have been added
- Import commit 7f23815a706cf2b2df3eac2eb2f8220736b8f427
ad216581b6 test: if haveged is part of initrd it needs to be installed in the image too
088fbb71d0 test: adapt install_pam() for openSUSE
4d631c1f0c Revert "test: adapt TEST-13-NSPAWN-SMOKE for SUSE"
ef956eb8a2 test: on openSUSE the static linked version of busybox is named "busybox-static"
6f7ce633b0 TEST-13-*: in busybox container sleep(1) takes a delay in seconds only
278baaa3ec test: don't try to find BUILD_DIR when NO_BUILD is set
3bba2f876a test: add support for NO_BUILD=1 on openSUSE
d77cbc1b64 test: make busybox TEST-13-only dependency
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1178
42ec1d537a login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag
ecc7c7b462 login: use a hwdb entry for tagging HyperV's fb devices with 'master-of-seat' tag
a4cfd70476 login: XGI Z7/Z9 (XG20 core) graphic chip requires master-of-seat to be set (bsc#1187154)
ef553e0199 sd-dhcp-client: tentatively ignore FORCERENEW command (bsc#1185972 CVE-2020-13529)
aae6c575fc sd-dhcp-client: logs when dhcp client unexpectedly gains a new lease
258a3d2043 sd-dhcp-client: shorten code a bit
0a80303114 sd-dhcp-client: check error earlier and reduce indentation
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1170
Added 1001-unit-name-generate-a-clear-error-code-when-convertin.patch
Added 1002-basic-unit-name-do-not-use-strdupa-on-a-path.patch
Added 1003-basic-unit-name-adjust-comments.patch
These patches will be moved to the git repo once the bug will become
public.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1169
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
- 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
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
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
- 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
- Import commit a4e393eecb9dbe140a6c7d57419c291d786155cf
d8e3bd4e22 Revert "core: don't send SIGKILL to user@.service immediatly during shutdown"
- Drop requirement on 'sysvinit-tools'
It was used to workaround bug #886599 by explicitly calling
vhangup(8) from getty@.service so when this service was stopped a
virtually hangup on the specified terminal when were stopped to give
the shell a few seconds to save its history.
But this workaround was dropped since it had no effect (SLE12-GM was
released with it but was still suffering from the bug) and was
replaced by commit e9db43d5910717a108, which was released from v226
and backported to SLE12/SLE12-SP1.
OBS-URL: https://build.opensuse.org/request/show/829723
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1109
- Fix inconsistent file modes for some ghost files (bsc#1173227)
Ghost files are assumed by rpm to have mode 000 by default which is
not consistent with file permissions set at runtime.
Also /var/lib/systemd/random-seed was tracked wrongly as a
directory.
Also don't track (ghost) /etc/systemd/system/runlevel*.target
aliases since we're not supposed to track units or aliases user
might define/override.
OBS-URL: https://build.opensuse.org/request/show/816596
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1105
- Import commit a6d31d1a02c2718a064bbbc40d003668acf72769
bb6e2f7906 pid1: update manager settings on reload too (bsc#1163109)
e9e8907b06 watchdog: reduce watchdog pings in timeout interval
385a8f9846 udev: rename the persistent link for ATA devices (bsc#1164538)
66018a12ae tmpfiles: remove unnecessary assert (bsc#1171145)
- Disable bump of /proc/sys/fs/nr-open
Hopefully a _temporary_ workaround until bsc#1165351 is fixed
otherwise user instances crashes the system is using NIS (and the
nscd cache is empty).
OBS-URL: https://build.opensuse.org/request/show/809896
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1100
- Drop legacy /sbin/{udevd,udevadm) symlinks hopefully for good
Since boo#1160890 has been fixed since a couple of months now.
- Drop content of /usr/share/factory/ (bsc#1170146)
systemd ships several files in /usr/share/factory/etc that are
copied to /etc in case those files are missing there. Unfortunately
the content does not match the openSUSE defaults.
- Drop most of the tmpfiles that deal with generic paths (bsc#1078466)
They are problematic because some of them conflict with SUSE
defaults. Therefore it seems better to let the revelant packages
owning these paths to provide their own definitions instead.
OBS-URL: https://build.opensuse.org/request/show/798553
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1097
- Import commit 08cd65ac385c884ed6e4bd71128a0796f56ecd17 (include merge of v245.5)
1ceedf8535 meson: fix build of udev 'path_id_compat' builtin with meson 0.54
e61569d4a9 pid1: by default make user units inherit their umask from the user manager (bsc#1162698)
64fdacd5f1 user-util: rework how we validate user names (bsc#1170272)
[...]
- Drop 0001-meson-fix-build-of-udev-path_id_compat-builtin-with-.patch
It's been merged in 'openSUSE-Factory' branch otherwise this branch
won't build anymore since meson has been upgraded to version 0.54 in
Factory.
OBS-URL: https://build.opensuse.org/request/show/796731
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1094
- Import commit 31f82b39c811b4f731c80c2c2e7c56a0ca924a5b (merge v245.2)
d1d3f2aa15 docs: Add syntax for templated units to systemd.preset man page
3c69813c69 man: add a tiny bit of markup
bf595e788c home: fix segfault when parsing arguments in PAM module
e110f4dacb test: wait a bit after starting the test service
e8df08cfdb fix journalctl regression (#15099)
eb3a38cc23 NEWS: add late note about job trimming issue
405f0fcfdd systemctl: hide the 'glyph' column when --no-legend is requested
1c7de81f89 format-table: allow hiding a specific column
b7f2308bda core: transition to FINAL_SIGTERM state after ExecStopPost=
2867dfbf70 journalctl: show duplicate entries if they are from the same file (#14898)
[...]
Added 0001-Revert-job-Don-t-mark-as-redundant-if-deps-are-relev.patch:
upstream commit 097537f07a2fab3cb73aef7bc59f2a66aa93f533 has been
reverted for now on as it introduced a behavior change which has
impacted plymouth at least.
OBS-URL: https://build.opensuse.org/request/show/787500
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1091
- Import commit f8adabc2b1f3e3ad150e7a3bfa88341eda5a8a57 (merge v244.2)
77c04ce5c2 hwdb: update to v245-rc1
b4eb884824 Fix typo in function name
e2d4cb9843 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
83bfc0d8dd sd-bus: introduce API for re-enqueuing incoming messages
5926f9f172 polkit: use structured initialization
0697d0d972 polkit: on async pk requests, re-validate action/details
2589995acd polkit: reuse some common bus message appending code
5b2442d5c3 bus-polkit: rename return error parameter to ret_error
0a19ff7004 shared: split out polkit stuff from bus-util.c → bus-polkit.c
1325dfb577 test: adapt to the new capsh format
3538fafb47 meson: update efi path detection to gnu-efi-3.0.11
3034855a5b presets: "disable" all passive targets by default
c2e3046819 shared/sysctl-util: normalize repeated slashes or dots to a single value
6f4364046f dhcp6: do not use T1 and T2 longer than one provided by the lease
0ed6cda28d network: fix implicit type conversion warning by GCC-10
f6a5c02d26 bootspec: parse random-seed-mode line in loader.conf
ddc5dca8a7 sd-boot: fix typo
2bbbe9ae41 test: Synchronize journal before reading from it
072485d661 sd-bus: fix introspection bug in signal parameter names
80af3cf5e3 efi: fix build.
[...]
- Use suse.pool.ntp.org server pool on SLE (jsc#SLE-7683)
- Drop scripts-udev-convert-lib-udev-path.sh
Nobody should need it these days.
OBS-URL: https://build.opensuse.org/request/show/770659
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1085
- Temporarily restore /sbin/{udevd,udevadm) obsolete symlinks
They're restored until YaST stop using them (see boo#1160890)
- Import commit 8254b8d9646f3e0f5f8057d1ffb5d6c20f079aaa (merge v244.1)
639dc9f4bf network: set ipv6 mtu after link-up or device mtu change
cbced49daa man: fix typo in net-naming-scheme man page
7dd04c99b0 network: tc: drop unused element
bf4b7d07ba man: fix typos (#14304)
1ba2e7a730 ipv4ll: do not reset conflict counter on restart
49806bb310 macro: avoid subtraction overflow in ALIGN_POWER2()
c4c1600689 test-network: add a test case for SendOption=
6f15b45949 network: fix segfault in parsing SendOption=
2e531b830d seccomp: real syscall numbers are >= 0
f7616ed52b network: fix copy and paste mistake
e8b53300c4 network: do not drop foreign config if interface is in initialized state
00f05813bf seccomp: mmap test results depend on kernel/libseccomp/glibc
4de1909e61 seccomp: use per arch shmat_syscall
d83010521d seccomp: ensure rules are loaded in seccomp_memory_deny_write_execute
2c6568221a seccomp: fix multiplexed system calls
bcf0aa02bf Fix typo (duplicate "or")
96d7083c54 network: if /sys is rw, then udev should be around
e874419902 nspawn: do not fail if udev is not running
29c9144655 Create parent directories when creating systemd-private subdirs
9cbb8b5254 network: do not return error but return UINT64_MAX if speed meter is disabled
c08429ae33 core: swap priority can be negative
f25c0be335 networkctl: fix to show BSSID
65fd2fce59 systemctl: enhance message about kexec missing kernel
bdd0af5f81 Fixup typo in NEWS
OBS-URL: https://build.opensuse.org/request/show/764320
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1084
- Import commit d8f6a204858bff68b8e0e7be86b418c36087ab2e
6c5e492a65 cryptsetup: umount encrypted devices before detaching it during shutdown
- Upgrade to v244 (commit 090da85161ceb1ba0b4c208963c7156a8fdf10c6)
See https://github.com/openSUSE/systemd/blob/SUSE/v243/NEWS for
details.
Legacy and obsolete symlinks have been finally dropped.
Dropped 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch.
Users were notified about the deprecation of UserTasksMax option and
how to move to the new mechanism. The dropin replacement for
UserTasksMax is therefore no more generated but its use still
produces a warning.
Added 0001-SUSE-policy-do-not-clean-tmp-by-default.patch and
0001-Fix-run-lock-group-to-follow-openSUSE-policy.patch.
These patches were extracted from the git repo because it's not
clear where the SUSE tmpfiles specificities should be located.
OBS-URL: https://build.opensuse.org/request/show/755902
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1082
- Import commit dbb1d4734daffa62e0eddecfa4f784c84a9d8e76
1439d72a72 udevd: don't use monitor after manager_exit()
99288dd778 Revert "udevd: fix crash when workers time out after exit is signal caught"
152577d6d0 udevd: fix crash when workers time out after exit is signal caught
f854991504 udevd: wait for workers to finish when exiting (bsc#1106383)
Changes from the v243-stable (84 commits):
e51d9bf9e5 man: add entry about SpeedMeter=
aa1fc791c7 udev: silence warning about PROGRAM+= or IMPORT+= rules
b9a619bb67 udevadm: ignore EROFS and return earlier
1ec5b9f80c basic: add vmware hypervisor detection from device-tree
7fa7080248 umount: be happy if /proc/swaps doesn't exist
[...]
47d0e23d26 udev: fix memleak caused by wrong cleanup function
a6fb0542c5 parse_hwdb: fix compatibility with pyparsing 2.4.*
cb1d892f17 parse_hwdb: process files in order
OBS-URL: https://build.opensuse.org/request/show/753452
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1081
- Import commit 0b715187a87907e18edf98eab9d0a50fced4a424
9dbdbc2f10 logind: fix (again) the race that might happen when logind restores VT (bsc#1101591 bsc#1140081)
c848bec110 libblkid: open device in nonblock mode. (bsc#1084671)
b70ad6c927 resolved: check for IP in certificate when using DoT with GnuTLS (bsc#1155539 CVE-2018-21029)
bbedf3d557 resolved: require at least version 3.6.0 of GnuTLS for DNS-over-TLS
eb732c2e29 resolved: fix connection failures with TLS 1.3 and GnuTLS
4e45084ac5 shared/install: failing with -ELOOP can be due to the use of an alias in install_error()
2e297f0d87 shared/install: fix error codes returned by install_context_apply()
dd29d70d32 man: alias names can't be used with enable command
- Allow YaST to select Iranian (Persian, Farsi) keyboard layout
(bsc#1092920)
OBS-URL: https://build.opensuse.org/request/show/748020
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1080
- Drop 0001-compat-rules-escape-when-used-for-shell-expansion.patch
It's part of the previous import.
- Import commit b7467b7b553d6d0d6f92758d966b69f1a88b6b42
441f44f371 fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs (bsc#1133495)
8a1bb5c66b swap: do not make swap units wanted by its device unit anymore
- Import commit 5df9000899ef7d45ddbcacd0fdf73afa07a40f6b
f0ed7237e4 udev/cdrom_id: Do not open CD-rom in exclusive mode. (bsc#1154256)
b37054aa5a compat-rules: escape '$' when used for shell expansion
Changes from the v243-stable:
ef677436aa test: Pass personality test even when i686 userland runs on x86_64 kernel
3f6398c450 docs: fix inadvertent change in uid range
25bb377a73 cgroup: fix typo in BPF firewall support warning message
6d97aca0d5 fix build with compilers with default stack-protector enabled
fbad077cec nspawn: surrender controlling terminal to PID2 when using the PID1 stub
0553c3c668 pid1: fix DefaultTasksMax initialization
f406a691a7 src/core/automount: use DirectoryMode when calling mkdir -p
20438f96c3 udevadm trigger: do not propagate EACCES and ENODEV
6480630bc3 hwdb: Correct WWWW Pattern In Documentation Comment
9d8e889810 nspawn: consistenly fail if parsing the environment fails
40e169b304 nspawn: default to unified hierarchy if --as-pid2 is used
b5df1037a0 cgroup: Mark memory protections as explicitly set in transient units
f14e3e02cc cgroup: Respect DefaultMemoryMin when setting memory.min
ea248e53bf cgroup: Check ancestor memory min for unified memory config
de1d25a506 cgroup: docs: memory.high doc fixups
2ab45f38d8 cgroup: docs: Mention unbounded protection for memory.{low,min}
19a43dc38a Consider smb3 as remote filesystem
5c0224c7bf Handle d_type == DT_UNKNOWN correctly
8282bc61df util-lib: Don't propagate EACCES from find_binary PATH lookup to caller
OBS-URL: https://build.opensuse.org/request/show/744383
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1077
- Import commit 0f9271c1336c5c9055e75389732a44745d796851 (changes from v242-stable)
07f0549ffe network: do not send ipv6 token to kernel
9d34e79ae8 systemd-mount: don't check for non-normalized WHAT for network FS
5af677680c core: set fs.file-max sysctl to LONG_MAX rather than ULONG_MAX (bsc#1142099)
29dda7597a random-util: eat up bad RDRAND values seen on AMD CPUs
eb6c17c178 util-lib: fix a typo in rdrand
829c20dc8e random-util: rename "err" to "success"
5442366fbf man: rework the description of Aliases and .wants/.requires directories
ae71c6f634 docs: typo in arg name replace-irreversible -> replace-irreversibly
09774a5fcb meson: make nologin path build time configurable
69ffeeb0b1 man: add note about systemctl stop return value
4cf14b5513 shared/conf-parser: say "key name" not "lvalue", add dot
4481ca7f86 shared/conf-parser: emit a nicer warning for something like "======"
46f3db894b shared/conf-parser: be nice and ignore lines without "="
7d928995f7 nspawn: fix memleak in argument parsing
7727e6c0ae resolve: fix memleak
7f32a81976 journal: properly read unaligned le64 integers
fa419099e5 activate: move array allocation to heap
815a9fef2a systemctl: print non-elapsing timers as "n/a" not "(null)"
a4fc3c88f1 factory: include pam_keyinit.so in PAM factory configuration
a453d63315 factory: add comment to PAM file, explaining that the defaults are not useful
d9a5a70a59 factory: tighten PAM configuration
5e2d3bf80b test: make sure colors don't confuse our test
5fe3be1334 wait-online: change log level
c49b6959d5 systemctl: emit warning when we get an invalid process entry from pid1 and continue
3c9f43eb03 systemctl: do not suggest passing --all if the user passed --state=
5964d1474e man: offline-updates: make dependence on system-update.target explicit
a04dd26e03 alloc-util: drop _alloc_ decorator from memdup_suffix0()
7c46a694ca man: add example for setting multiple properties at once
1d72789271 man: CPUShares= is so 2015
OBS-URL: https://build.opensuse.org/request/show/718031
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1065
- Import commit eaa7b8b148927d471609de75e542dffcc1b36df4
7e58b89136 udevd: change the default value of udev.children-max (again) (bsc#1107617)
- Add 0001-rc-local-generator-deprecate-halt.local-support.patch
/etc/init.d/halt.local support will removed from the next systemd
version (v243) so for now on warn (hopefully the few) users who rely
on this script so they have a chance to switch to systemd-shutdown
interface.
OBS-URL: https://build.opensuse.org/request/show/705895
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1064
- Add 0001-Revert-insserv.conf-generator.patch (bsc#1052837)
All remaining packages have been fixed so they don't rely on the
insser-generator to generate proper deps. So let's drop it as all
services should carry the proper dependencies itself.
- Drop debug-only-remove-new-policies.patch
The new DBUS methods have been reviewed by the security team.
OBS-URL: https://build.opensuse.org/request/show/705662
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1063
- Import commit 9984a86d0d2259d54c7060f9c09f214202b4efa7
f2459bf373 random-util: eat up bad RDRAND values seen on AMD CPUs
c90a2e9793 util-lib: fix a typo in rdrand
4db1cc9d46 random-util: rename "err" to "success"
981a62a102 random-util: hash AT_RANDOM getauxval() value before using it
64a9c3d918 random-util: use gcc's bit_RDRND definition if it exists
c5d6ecfdca random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAIL
298d13df7e network: remove redunant link name in message
77cbde31f2 hwdb: Align airplane mode toggle key mapping for all Acer series
460f03794e Revert "hwdb: Apply Acer mappings to all Gateway and Packard Bell models"
fe9271ad84 test: return a non-zero return code when 'nobody' user doesn't exist
29d355e755 fstab-generator: Prevent double free of reused FILE*
f30f1adc11 meson: make source files including nspawn-settings.h depend on libseccomp
84bab914b8 alloc-util: don't use malloc_usable_size() to determine allocated size
5240972d8d units: drop reference to sushell man page
0a26de5e33 codespell: fix spelling errors
582de105c8 nspawn-expose-ports: fix a typo in error message
OBS-URL: https://build.opensuse.org/request/show/702859
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1062
- Add debug-only-remove-new-policies.patch
A temporary patch to suppress the new DBUS methods introduced by
v242 until they are reviewed and whitelisted by the secteam.
- Add a comment explaining why static enablement symlinks in /etc are suppressed
Also remove any /etc/systemd/system/*.requires/ symlinks for the
same reason.
- preset remote-cryptsetup.target during package installation
This target is supposed to be part of the targets that should be
enabled (or not depending on the presets) at package installation.
OBS-URL: https://build.opensuse.org/request/show/701727
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1060