1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
The systemd System and Service Manager
Go to file
Luca Boccassi 6e06b80854 test-audit-util: do not assert on unknown container managers
The test can be ran on systems that are not booted on systemd, and/or
in a strange and unknown container manager stub pid1 that does not
behave as we expect, so making assertions based on the precise state
of an unknown, foreign pid1 is not guaranteed to yield the expected
results and may fail at any given time.

More specifically, this happens when building systemd on the buildd
network, which is used to build packages in Debian/Ubuntu:

 Assertion 'audit_session_from_pid(&pid1, &sessionid) == -ENODATA' failed at src/test/test-audit-util.c:27, function test_audit_loginuid_from_pid(). Aborting.

https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=amd64&ver=257%7Erc2-1&stamp=1731712935&raw=0

Add a failsafe and print a loud complaint in the unit test, asking to
fix the container manager, if this situation is detected.
2024-11-22 13:48:22 +00:00
.clusterfuzzlite ci: unpin CFLite 2022-04-26 09:13:57 +00:00
.github github: adjust version number in templates 2024-11-07 15:39:30 +01:00
.semaphore semaphore: do not build docs 2024-10-07 19:40:58 +01:00
catalog catalog: beef up new sysctl message 2024-09-13 07:29:04 +02:00
coccinelle introduce FOREACH_ELEMENT 2024-04-18 17:39:34 +02:00
docs docs: add reminder to run update-man-rules before tagging a release 2024-11-06 19:21:14 +00:00
factory man: don't suggest using pam_unix.so's use_authtok switch 2024-01-17 23:59:05 +00:00
hwdb.d hwdb: Add quirk for Logitech MX Keys for Mac 2024-11-21 21:16:07 +01:00
LICENSES boot: Add HWID calculation from SMBIOS strings and matching against a built-in list 2024-11-05 22:29:58 +03:00
man man: add enrollment type sections to cryptenroll man page 2024-11-22 10:42:37 +01:00
mime creds-util: add a concept of "user-scoped" credentials 2024-01-30 17:07:47 +01:00
mkosi.conf.d mkosi: ruff is not available on all distros 2024-11-12 18:05:17 +00:00
mkosi.extra mkosi: Fix up ownership of testuser home directory on first boot 2024-10-11 11:35:02 +02:00
mkosi.images mkosi: Enable clangd execution for all distributions 2024-11-18 23:21:24 +00:00
mkosi.repart mkosi: Switch back to btrfs 2024-08-05 15:00:24 +02:00
mkosi.sanitizers mkosi: Don't create sanitizer wrappers for every mkfs binary 2024-09-03 08:48:34 +02:00
mkosi.uki-profiles Rework TEST-86-MULTI-PROFILE-UKI 2024-10-21 17:24:14 +02:00
modprobe.d modprobe: set 'ifb numifbs=0' to avoid autocreating ifb0 2024-01-12 23:24:54 +00:00
network network: request non-NULL SSID when a wlan interface is configured as station 2024-07-31 10:06:04 +09:00
po po: Translated using Weblate (Ukrainian) 2024-11-22 05:02:16 +09:00
presets presets: Don't enable systemd-homed-firstboot.service by default 2024-06-08 11:29:55 +01:00
profile.d shell: define three system credentials we can propagate into shell prompts and welcome messages 2024-09-09 19:03:48 +02:00
rules.d udev: consider serial ports as unconfigured only if both port and iomem_base sysattr is zero 2024-10-17 18:59:38 +09:00
shell-completion bash-completion: add --list-devices to systemd-cryptenroll 2024-11-22 10:38:19 +01:00
src test-audit-util: do not assert on unknown container managers 2024-11-22 13:48:22 +00:00
sysctl.d sysctl.d: Fix pid_max comment 2023-10-31 13:07:49 +01:00
sysusers.d sysusers.d: lock all system users defined by us 2024-10-29 11:00:13 +01:00
test test-network: actually check metric and preference 2024-11-21 03:43:35 +09:00
tmpfiles.d tmpfiles: add period at end of the sentence 2024-11-21 18:35:18 +01:00
tools fetch-distro: use git log --first-parent 2024-11-13 17:03:35 +00:00
units units: add initrd directory to list of conditions for systemd-confext 2024-11-20 09:12:24 +01:00
xorg xorg/50-systemd-user: add a full license header 2021-10-01 14:45:00 +02:00
.clang-format Improve the formatting by adding AlignArrayOfStructures and setting it to Right(right justify) 2024-03-06 15:24:23 +01: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 editorconfig: add NEWS whitespace configuration 2023-10-26 22:41:03 +01:00
.gitattributes Mark all base64 files as generated 2023-08-16 12:49:45 +02:00
.gitignore gitignore: Ignore /pkg/ instead of pkg/ (#33119) 2024-05-31 14:06:07 +08:00
.gitmodules mkosi: Replace submodules with our own thing 2024-05-30 19:31:32 +02:00
.mailmap mailmap: "reduce contributor count by 13" 2023-08-16 12:49:42 +02:00
.packit.yml Revert "packit: temporarily build systemd without BPF stuff" 2024-02-11 16:45:03 +01:00
.pylintrc Add .pylintrc to globally suppress warnings we don't really care about 2023-08-10 18:13:29 +02:00
.vimrc vimrc: explicitly set shiftwidth for the C file type 2023-09-18 13:11:45 +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
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
meson_options.txt meson: add separate option for sysupdated, disable in release builds 2024-10-31 21:08:08 +00:00
meson.build Add proper dependencies to ukify target 2024-11-15 10:32:24 +00:00
meson.version meson: update version 2024-11-15 19:16:58 +00:00
mkosi.clangd mkosi: Set BuildSourcesEphemeral=no in mkosi.clangd 2024-11-01 13:30:45 +01:00
mkosi.clean mkosi: Add missing SPDX line 2024-09-22 15:23:08 +02:00
mkosi.conf Rework TEST-86-MULTI-PROFILE-UKI 2024-10-21 17:24:14 +02:00
mkosi.coredump-journal-storage.conf mkosi: Adapt configuration to take into account configuration rework 2024-07-09 08:07:09 +02:00
mkosi.functions mkosi: Move copying packages to the output directory to the postinst script 2024-10-29 11:28:47 +01:00
mkosi.leak-sanitizer-suppressions mkosi: Adapt configuration to take into account configuration rework 2024-07-09 08:07:09 +02:00
mkosi.postinst.chroot mkosi: Move copying packages to the output directory to the postinst script 2024-10-29 11:28:47 +01:00
NEWS NEWS: update date 2024-11-15 19:16:47 +00:00
README Bump kernel recommended baseline to v5.4 2024-10-16 18:06:11 +02:00
README.md README.md: link bug bounty program 2024-04-11 12:58:53 +02:00
TODO update TODO 2024-11-19 11:03:16 +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 9
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, join our IRC channel #systemd on libera.chat or Matrix channel

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

We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack