summaryrefslogtreecommitdiffstats
path: root/man/systemd-binfmt.service.xml (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-09-04shell-completions: add missing systemctl verbs/optionsFrantisek Sumsal1-7/+19
Resolves: #29048
2023-09-04shell-completions: code cleanupFrantisek Sumsal1-13/+15
2023-09-04userdbd: Order systemd-userdbd.service after systemd-remount-fs.serviceVictor Westerhuis1-1/+1
Otherwise the root filesystem might still be readonly and systemd-userdbd fails to start. Explicitly pick systemd-remount-fs.service instead of local-fs-pre.target to prevent a dependency cycle.
2023-09-03mkosi: temporarily disable ArchLuca Boccassi1-2/+3
The mkosi Arch CI doesn't work as the keyring package is out of date and cannot be built due to various build toolchain issues. Disable the job as it always fails and confuses submitters.
2023-09-03hwdb: Added config for RCA W101SA23T1 (#29041)Robby Red1-0/+6
2023-09-02Adding tests for dhcp client and dhcp6 client dbus state interfacepelaufer1-0/+80
2023-09-02Adding dhcp client and dhcp6 client dbus status interfacepelaufer9-1/+197
2023-09-02Adding dhcp client and dhcp6 client state interfacepelaufer7-3/+69
2023-09-02Adding dhcp_state_to_string and dhcp client state change loggingpelaufer4-9/+37
2023-09-02build(deps): bump actions/checkout from 3.5.3 to 3.6.0dependabot[bot]11-11/+11
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/c85c95e3d7251135ab7dc9ce3241c5835cc595a9...f43a0e5ff2bd294095638e18286ca9a3d1956744) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02build(deps): bump meson from 1.2.0 to 1.2.1 in /.github/workflowsdependabot[bot]1-3/+3
Bumps [meson](https://github.com/mesonbuild/meson) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/mesonbuild/meson/releases) - [Commits](https://github.com/mesonbuild/meson/compare/1.2.0...1.2.1) --- updated-dependencies: - dependency-name: meson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02build(deps): bump github/codeql-action from 2.21.2 to 2.21.5dependabot[bot]2-4/+4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.21.2 to 2.21.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/0ba4244466797eb048eb91a6cd43d5c03ca8bd05...00e563ead9f72a8461b24876bee2d0c2e8bd2ee8) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02loginctl: use vertical table for {user,session,seat}-statusMike Yuan1-195/+307
To make alignment better and more manageable. Requested in https://github.com/systemd/systemd/pull/27769#discussion_r1203952407
2023-09-02string-util: introduce strrepaMike Yuan2-0/+19
2023-09-02format-table: use format_timestamp_relative_monotonicMike Yuan1-3/+1
2023-09-02network/ndisc: drop captive portals with zero lifetime earlierYu Watanabe1-1/+16
This also adds a comment about that we use the main lifetime for captive portals.
2023-09-02Revert "shutdown: do not umount recursively before MS_MOVE"Lennart Poettering3-6/+3
This reverts commit 6b219b74de53729249956221a971047aab7c96e0. This commit doesn't look right to me. We have to unmount everything recursively *before* we MS_MOVE because the MS_MOVE will not get rid of it for us, and we simply cannot access these mounts after the MS_MOVE is complete anymore. This is a fundamental difference between MS_MOVE and pivot_root(). The latter repivots the entire mount table getting rid of anything outside of the new root. MS_MOVE otoh just mounts a bunch of mount points to the top, leaving in place whatever might be underneath it. Thus, if we go through the MS_MOVE codepath we must unmount everything explicitly before doing so because otherwise the mounts will be pinned forever, but be entirely invisble to userspace.
2023-09-02switch-root: when pivot_root() fails, but old root shall be mounted, do soLennart Poettering1-0/+6
If pivot_root() fails, we'll fall back to switching root via MS_MOVE. Unlike pivot_root() that won't place the old root fs anyway, but just hide it. That's problematic during shutdown for example, since after all we might still want to access it from the exitrd, to disassemble it properly. Hence let's make things somewhat systematic: regardless if pivot_root() or MS_MOVE is used, always make the old root fs show up in the selected new dir.
2023-09-02switch-root: rework SWITCH_ROOT_SKIP_RECURSIVE_RUN flagLennart Poettering4-20/+20
Negative flags always raise eyebrows. Let's normalize SWITCH_ROOT_SKIP_RECURSIVE_RUN to become SWITCH_ROOT_RECURSIVE_RUN, i.e. make recursive behaviour opt-in, rather than opt-out. We only want it for the initrd→host transition, and in all other cases we'd prefer to avoid it. This allows us to simplify some code. Also, normalize the mount point table in switch_root() a bit, to be static const, and then just select between two mount flag sets via SWITCH_ROOT_RECURSIVE_RUN, where the mount flag without MS_BIND (i.e. zero) just means "skip this entry". This does not actually change anything in behaviour, it's just refactoring. Follow-up for: b12d41a8bb7c99f7d7a1c7821a886d98b42d9ce0
2023-09-02man: add version informationZbigniew Jędrzejewski-Szmek1-2/+5
I'm keeping this as a separate commit. It is the first time version information is manually added after 6a73a4f7c466887a03c9939300ba6864203b1b3f and we might want to revert this later.
2023-09-02TODO: add entry about service and socket unitsZbigniew Jędrzejewski-Szmek1-0/+2
2023-09-02id128: rework conditional to reduce indentationZbigniew Jędrzejewski-Szmek1-13/+12
2023-09-02sd-id128: do not allow null 'app_id' paramZbigniew Jędrzejewski-Szmek4-2/+12
If it is null, we get the 'base' param unchanged: $ build/systemd-id128 show 00000000000000000000000000000001 \ --app-specific=00000000000000000000000000000000 00000000000000000000000000000001 This is not good, because it breaks our promise that the base (usually either machine-id or boot-id) cannot be derived from the result. Some application using the library could use a null app id, inadvertently exposing the machine or boot id. (This could happen because of forgotten initialization, or maybe because the app id is configurable, and the user configures it wrongly.) Note: the other way the secret is not exposed: $ build/systemd-id128 show 00000000000000000000000000000000 \ --app-specific=00000000000000000000000000000002 4f63080959264900b0d88d999dae2d3a Normally systemd would not allow a null machine-id or boot-id, but we can let the user do the calculation that if they want to.
2023-09-02id128: allow combining --app with showZbigniew Jędrzejewski-Szmek4-13/+57
This effectively exposes sd_id128_get_app_specific() on the commandline. Fixes https://github.com/systemd/systemd/issues/27514.
2023-09-02various: use id128_from_string_not_null()Zbigniew Jędrzejewski-Szmek5-46/+19
No functional change. In config_parse_address_generation_type() we would set the output parameter and then say it's ignored, so it _looked_ like an error in the code, but the variable was always initialized to SD_ID128_NULL anyway, so the code was actually fine.
2023-09-02core,systemctl: refuse switching root if we're not in initrdMike Yuan4-16/+24
2023-09-02core,systemctl: refuse switching root to current root properlyMike Yuan2-2/+16
Fixes #28970
2023-09-02Revert "network: ndisc - drop routes of lifetime 0"Yu Watanabe1-36/+4
This reverts commit 4ccd48cb2693a3603f14a30b6286228597285d92. From RFC 4861 section 4.2. > The Router Lifetime applies only to the router's usefulness as a default > router; it does not apply to information contained in other message fields > or options. Options that need time limits for their information include > their own lifetime fields. Hence, based on the lifetime field of the message header, we should not drop any other information. Note that, in ndisc_router_process_default(), we have already dropp the default gateway when the lifetime is zero. Hence, we can safely drop the change.
2023-09-02oomd: avoid unnecessary wake-ups for ManagedOOMSwapChristian Hergert1-6/+9
If there are no "ManagedOOMSwap" entries to monitor, then the event source can be completely disabled. This scenario appears to be common and avoiding the wake-ups can save idle energy consumption. This was discovered while using Sysprof for various GNOME 45 performance tuning. systemd-oomd goes from waking up a few times a second to no wake-ups helping keep a laptop in deep(er) sleep. Signed-off-by: Christian Hergert <chergert@redhat.com>
2023-09-01Adding client_set_state to sd-dhcp-client.c to support a client state change ↵pelaufer1-11/+19
hook
2023-09-01Journal: Add message IDs for emergency-level log messagesOMOJOLA JOSHUA9-36/+329
2023-09-01sd-login: Fix sd_pidfd_* function signature parameter typesmsizanoen1-8/+8
The type of a file descriptor is `int`, not `pid_t`. This should not have any effects on API consumers as `pid_t` is already typedef'd as `int` on all glibc-based systems.
2023-09-01man: mention version info for NFTSet= settingYu Watanabe1-0/+10
Follow-up for fc289dd0ad4c223c0fa02dc7e91f7244143fa918.
2023-08-31glyph-util: bring glyphs into same order everywhereLennart Poettering3-12/+15
The enum definition, the two string tables and the test all were using different orders (and in case of the test even missed entries). Let's unify this, and make sure we always use the same order. This settles the confusion, and makes the order used for the unicode string table the canonical one, adjusting the other lists to match it. And adds the missing entries to the tets.
2023-08-30NEWS: TypoMilton D. Miller II1-1/+1
Let's not encourage the lawyers.
2023-08-30busctl: do not print start/stop monitoring messages with --quiet/--jsonLuca Boccassi1-2/+4
2023-08-30journal: Relax boot ID and monotonic clock consistency checksmsizanoen2-18/+15
The monotonic clock value consistency should only be checked if the boot ID is the same as the last journal entry, and requiring that the current boot ID be the same as the boot ID of the last entry is not necessary for ensuring deterministic bisection as we already enforce strict ordering of the real time clock value in a single journal file. This fixes an issue where a new journal file is unnecessarily created every boot, potentially wasting storage space.
2023-08-30journal: Don't write to journal files without the new boot ID update ↵msizanoen1-0/+4
behavior guarantee With the old boot ID update behavior there's no way to compare the boot ID of a new entry to be written with the boot ID of the last entry in the journal in a performant manner, and therefore no way to determine if monotonic clock value consistency checking is needed. Refuse to open journal files without the new boot ID update behavior guarantee to simplify consistency checking.
2023-08-30mkosi: pin CentOS9 kernel to working versionLuca Boccassi4-2/+22
Newer kernels are affected by a regression that causes a kernel panic on shutdown, so pin them for now. Can be reverted once that problem is fixed. https://bugzilla.redhat.com/show_bug.cgi?id=2234390
2023-08-30test: add test for new measurement logLennart Poettering1-0/+10
2023-08-30tpm2: whenever we measure, also write a tpm log recordLennart Poettering4-4/+190
Previously we only logged our measurements to the journal. This is not a great solution though, since regular logs are subject to rotation, which is something we really cannot have for measurements (as it means we can never reproduce the PCR values from the data). Hence, let's maintain an explicit log. Ideally, we'd just use the TCG Canonical Event Log format 1:1 (https://trustedcomputinggroup.org/resource/canonical-event-log-format/). However it's not a perfect fit fo us, for various reasons. But let's follow it (in its JSON incantation) as closely at it makes sense, so that it can easily be converted to the full format by programs consuming it. Code comments explain where we deviate from the TCG CEL-JSON, and what to do about it when reading the data.
2023-08-30Revert "test-dhcp-client: add temporary workaround for assertion failure"Yu Watanabe1-3/+1
This reverts commit 1686c884bfa846f8da87621e87870eb18dd8107c. The issue should be fixed by the previous commit. Let's drop the workaround.
2023-08-30sd-dhcp-client: ensure IAID and DUID being set on startYu Watanabe1-7/+7
After b2851e8d6287ab9bb3cd6e42395271c45ce0e377, if IAID and DUID are not set on start, calling sd_dhcp_client_set_iaid_duid_en() in client_message_init() triggers assertion, as the client is already running at the stage. Let's set IAID and DUID earlier. Fixes #28990.
2023-08-29id128-util: add id128_from_string_not_null()Zbigniew Jędrzejewski-Szmek3-0/+27
2023-08-29systemd-id128: properly document the show verbZbigniew Jędrzejewski-Szmek2-5/+32
https://github.com/systemd/systemd/issues/27514 requested this functionality among other things, but it is already implemented. The man page was also missing 'show' in the synopsis, so add that, along with an example.
2023-08-29man: document sd_id128_get_app_specificZbigniew Jędrzejewski-Szmek2-13/+31
2023-08-29sd-id128: export sd_id128_get_app_specific()Zbigniew Jędrzejewski-Szmek4-4/+14
We exported sd_id128_get_machine_app_specific() and sd_id128_get_boot_app_specific(). But those operate on the current machine, and sometimes the user might want to do the same calculation for a different machine, or an earlier boot, etc. We expose the underlying implementation to make this easy.
2023-08-29sd-id128: avoid one memcpyZbigniew Jędrzejewski-Szmek1-6/+7
By aligning the output buffer, we can just use the result directly, no need to copy stuff around.
2023-08-29shared/id128-print: fix indentation, reduce variable scopeZbigniew Jędrzejewski-Szmek1-7/+5
2023-08-29id128: add option -P to only show valueZbigniew Jędrzejewski-Szmek3-3/+24
We have '-P' in systemctl with similar meaning. Partially closes https://github.com/systemd/systemd/issues/27514.