1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +03:00
Backports of patch from systemd git to stable distributions
Go to file
Lennart Poettering fa467a411f pid1: make clear that $WATCHDOG_USEC is set for the shutdown binary, noone else
We use the $WATCHDOG_USEC variable for two very closely uses: as part of
the sd_watchdog_enabled() protocol for implementing service watchdogs.
And as part of the protocol between the service manager and
systemd-shutdown across the PID 1 execve() transition during shutdown.

Apparently some exitrds tools got confused by the latter use. Let's
address that by setting $WATCHDOG_PID to 1, in accordance to the
sd_watchdog_enabled() protocol to make clear this is only intended for
PID 1 and nothing else.

Replaces: #35135
(cherry picked from commit 4b20ae9a0e914e61d6bac095e5fc9664510ac03e)
(cherry picked from commit cf7b3cc18225ef8824f9cac9c88b7ea0b0dce3cd)
(cherry picked from commit cab88476b2)
2024-11-30 10:58:42 +00:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github ci: link systemd-keyutil into place 2024-11-15 19:06:31 +00:00
.semaphore semaphore: do not build docs 2024-10-09 23:05:19 +01:00
catalog portable: log structured message when attach/detach succeeds 2024-02-28 00:15:39 +00:00
coccinelle coccinelle/take-fd: match for -EBADF instead of -1 2023-07-09 14:07:48 +09:00
docs docs: add a missing : character 2024-11-15 19:06:31 +00:00
factory man: don't suggest using pam_unix.so's use_authtok switch 2024-01-24 22:45:52 +00:00
hwdb.d hwdb: update to main@{2024-11-12} 2024-11-15 19:06:31 +00:00
LICENSES LICENSES/README: expand text to summarize state for binaries and libs 2024-07-06 18:17:45 +02:00
man man: tone down claims on processes having exited already in ExecStop= 2024-11-15 19:06:31 +00:00
mkosi.conf.d mkosi: Enable hyperscale-packages-experimental for CentOS 2024-07-06 18:17:45 +02:00
mkosi.presets mkosi: install libgcrypt20 and libcryptsetup12 manually in debian 2024-09-11 10:22:42 +02:00
modprobe.d modprobe: set 'ifb numifbs=0' to avoid autocreating ifb0 2024-01-24 22:45:52 +00:00
network network: request non-NULL SSID when a wlan interface is configured as station 2024-08-19 16:52:18 +02:00
po po: fix invalid printf format specifier 2023-11-09 14:45:42 +00:00
presets preset: enable systemd-networkd-wait-online.service by default 2023-06-07 21:51:37 +01:00
rules.d udev: consider serial ports as unconfigured only if both port and iomem_base sysattr is zero 2024-11-15 19:06:31 +00:00
shell-completion zsh/_networkctl: remove duplicated argument for completion (#31926) 2024-07-24 20:11:48 +01:00
src pid1: make clear that $WATCHDOG_USEC is set for the shutdown binary, noone else 2024-11-30 10:58:42 +00:00
sysctl.d sysctl.d: Fix pid_max comment 2023-11-09 14:45:42 +00:00
sysusers.d Revert "sysusers.d: create the user for systemd-journal-upload.service" 2023-12-22 13:07:51 +01:00
test test: fix test scripts filename pattern 2024-11-15 19:06:31 +00:00
tmpfiles.d tmpfiles.d/systemd: use ACL 'X' bit where appropriate 2024-04-25 20:06:35 +02:00
tools fuzz: don't panic without a C++ compiler 2024-04-25 20:06:35 +02:00
units logind: allow read/write to char-hvc devices 2024-11-15 19:06:31 +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 mkosi: Use 4 space indentation for scripts 2023-02-21 14:22:52 +01:00
.gitattributes gitattributes: introduce and use "generated" attribute 2021-10-18 09:42:55 +02:00
.gitignore mkosi: Update .gitignore to account for changed output locations 2023-05-12 11:38:02 +02:00
.mailmap NEWS: more preparation for 254-rc1 2023-07-06 11:16:16 +02:00
.packit.yml packit: use the closest matching tag for the checked out revision 2024-01-24 22:45:52 +00:00
.vimrc vimrc: use 109ch text width for shell scripts as well 2023-05-13 22:02:37 +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-09 12:22:43 +02: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 shared: add libpasswdqc support 2023-07-06 10:59:41 +00:00
meson.build meson: add loongarch64's definition to cpu_arch_defines 2024-11-15 19:06:31 +00:00
mkosi.kernel.config mkosi: Make sure we build custom kernels with EROFS support 2023-06-13 15:42:17 +02:00
NEWS NEWS: adjust grammar 2023-08-09 13:51:00 +02:00
README README: update requirements for signed dm-verity 2024-07-06 18:17:45 +02:00
README.md Update badge on README to refer new scorecard viewer (#28050) 2023-06-15 19:24:32 +01:00
TODO man: slightly enhance docs about "exitrd" and remove TODO entry for it 2024-10-09 23:05:19 +01: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)
Fossies codespell report
Weblate
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.