1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00
Backports of patch from systemd git to stable distributions
Go to file
Morten Hauke Solvang 4f7eeeea29 resolved: if one transaction completes, expect other transactions within candidate to succeed quickly
Fixes #22575, as suggested by poettering in #35514.

Intended as a workaround for some buggy routers, which refuse to send empty
replies. If systemd-resolved starts two DnsTransactions, one for A and one
for AAAA, and the domain in question has no AAAA entry, then the server will
send a reply for A and no reply for AAAA. Correct behavior for the server would
be to send an empty reply for AAAA.

systemd-resolved would previously keep retrying the AAAA transaction, and
eventually timeout the whole query, returning an error to the caller.

Now, if the server replies to one query and not another, we cut short the
timeout and return the partial result. Returning the partial result allows
the rest of the system to keep working. It matches how e.g. glibc libnss_dns
behaves.

(cherry picked from commit 0da73fab56506ff1e4f8e59c167d27961f0fbf33)
(cherry picked from commit 1748265915e09120d75766baaa4516b2779140eb)
(cherry picked from commit e65fd8eb4b559ba621e2bd802894105ac1d575da)
(cherry picked from commit 3761ffa0c9)
(cherry picked from commit 615ab029f4)
(cherry picked from commit a019470312)
2024-12-24 07:08:58 +00:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github mkosi: work around jammy's debootstrap issue 2024-07-03 15:56:04 +02:00
.semaphore Revert "semaphore: skip some tests" 2024-12-24 07:08:58 +00:00
catalog meson: Install all catalogs 2023-02-10 20:28:11 +00:00
coccinelle basic/list: drop LIST_IS_EMPTY 2022-07-02 12:46:16 +02:00
docs docs: add a missing : character 2024-11-16 18:30:43 +00:00
factory man: don't suggest using pam_unix.so's use_authtok switch 2024-01-26 21:35:39 +00:00
hwdb.d hwdb: update to main@{2024-11-28} 2024-12-01 13:25:05 +00:00
LICENSES LICENSES/README: expand text to summarize state for binaries and libs 2024-07-07 12:52:10 +02:00
man Fixing VLAN ranges in man systemd.network. 2024-12-24 07:08:58 +00:00
mkosi.default.d mkosi: policykit-1 was renamed to polkitd 2024-07-25 13:45:32 +01:00
modprobe.d modprobe: set 'ifb numifbs=0' to avoid autocreating ifb0 2024-01-26 21:35:39 +00:00
network network: request non-NULL SSID when a wlan interface is configured as station 2024-08-19 22:25:31 +02:00
po po: Translated using Weblate (Chinese (Simplified) (zh_CN)) 2022-10-31 12:54:01 +01:00
presets units: enable systemd-network-generator by default 2021-12-16 09:49:39 +01:00
rules.d udev: consider serial ports as unconfigured only if both port and iomem_base sysattr is zero 2024-11-16 18:30:43 +00:00
shell-completion shell completion: fix machinectl import-{tar,raw} 2024-05-09 18:47:40 +02:00
src resolved: if one transaction completes, expect other transactions within candidate to succeed quickly 2024-12-24 07:08:58 +00:00
sysctl.d sysctl.d: Fix pid_max comment 2023-11-10 00:22:41 +00:00
sysusers.d sysusers: also add root group 2023-02-16 18:10:56 +00:00
test test: set nsec3-salt-length=8 in knot.conf 2024-12-24 07:08:58 +00:00
tmpfiles.d Revert "tmpfiles.d/systemd: use ACL 'X' bit where appropriate" 2024-05-26 11:55:39 +01:00
tools tools: syscall tables moved to a subdirectory 2023-11-10 00:22:41 +00:00
units logind: allow read/write to char-hvc devices 2024-11-16 18:30:43 +00:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format clang-format: Adjust style of pointers 2022-05-30 04:00:54 +09:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig docs: configure editorconfig for css and html 2022-05-17 21:13:17 +02:00
.gitattributes gitattributes: introduce and use "generated" attribute 2021-10-18 09:42:55 +02:00
.gitignore core/cgroup: CPUWeight/CPUShares support idle input 2022-08-11 14:25:58 +02:00
.mailmap mailmap: two more names 2021-03-30 13:17:58 +02:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
configure configure: update meson invocation 2023-08-10 09:43:05 +01:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile tree-wide: add spdx header on all scripts and helpers 2021-01-28 09:55:35 +01:00
meson_options.txt meson: fix description for link-udev-shared option 2023-06-02 13:42:21 +01:00
meson.build meson: sort includes 2024-11-16 18:30:43 +00:00
mkosi.build mkosi: Make sure bpf-framework works on CentOS Stream 8 as well 2022-10-17 08:45:48 +02:00
mkosi.postinst mkosi: mask unit from newer versions that gets installed by package 2023-11-10 00:22:41 +00:00
NEWS tree-wide: use https for the 0pointer.de doc links 2023-07-08 10:42:52 +01:00
README README: add missing CONFIG_MEMCG kernel config option for oomd 2024-07-07 12:52:10 +02:00
README.md README.md: add a missing line break 2022-10-19 11:17:33 +02:00
TODO doc: replace wrong á preposition by à 2023-03-30 18:59:30 +02:00

Systemd

System and Service Manager

Semaphore CI 2.0 Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
CentOS CI - CentOS 8
CentOS CI - Arch
CentOS CI - Arch (sanitizers)
CentOS CI - Rawhide (SELinux)
Fossies codespell report
Coverage Status
Packaging status
OpenSSF Scorecard

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Code Map for information about this repository's layout and content.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.