summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* vmspawn: extend kernel cmdline with extra argsv255-rc1Sam Leonard2023-11-062-5/+19
| | | | | | | | This changes how the "extra" command line arguments passed to vmspawn are handled. Previously they were appended to the QEMU command line directly. Now they are appended to the kernel command line using SMBIOS instead.
* Merge pull request #29875 from bluca/newsLuca Boccassi2023-11-066-21445/+21928
|\ | | | | Update NEWS and hwdb
| * NEWS: finalizeLuca Boccassi2023-11-061-0/+2
| |
| * Update hwdbLuca Boccassi2023-11-065-21423/+21900
| |
| * NEWS: update contributors listLuca Boccassi2023-11-061-22/+26
|/
* Merge pull request #29873 from yuwata/network-revert-hop-limitLuca Boccassi2023-11-067-17/+9
|\ | | | | network: several follow-ups for IPv6 hop limit
| * network: do not try to set invalid value for IPv6 hop limitYu Watanabe2023-11-065-7/+6
| |
| * network: fix indentationYu Watanabe2023-11-061-2/+1
| | | | | | | | Follow-up for f141b2c053527cdf2500dae5cd4f470ed964b436.
| * Revert "ndisc: Also set link hoplimit"Yu Watanabe2023-11-063-8/+2
|/ | | | | | | | | | | | | This reverts commit 0ba8374bb8a7032ca13ba98d10e8d7c3378ca9c6. - link->network->ipv6_hop_limit must not be updated, as it may be used by multiple interfaces, - We may receive multiple RA from multiple routers with different hop limit, and we should not make the default hop limit flicking, - First of all, there is no reason that we need to update the default hop limit, - The original issue should be caused by the hash and compare functions for Route object.
* NEWS: mention new rpm macrosZbigniew Jędrzejewski-Szmek2023-11-051-0/+5
|
* NEWS: reword things, change ordering, remove one duplicateZbigniew Jędrzejewski-Szmek2023-11-051-78/+79
|
* kernel-install: Log location that uki is installed inDaan De Meyer2023-11-051-2/+2
| | | | Let's log where we install a UKI when running in verbose mode.
* test: make the test happy with coverage buildsFrantisek Sumsal2023-11-051-3/+3
| | | | | Bump the LimitFSIZE=, since the process needs to write quite a lot of .gcda files, and suppress coverage errors with DynamicUser=true.
* Update NEWSLuca Boccassi2023-11-041-5/+7
| | | | Note that vmspawn and pcrlock are new and the interface might change
* Merge pull request #29862 from mrc0mmand/udevadm-followupsLuca Boccassi2023-11-041-2/+2
|\ | | | | A couple of follow-ups for `udevadm control`
| * udevadm: actually set the log levelFrantisek Sumsal2023-11-041-1/+1
| | | | | | | | Follow-up to e4080a6d97.
| * udevadm: make sure we don't reset max children on each invocationFrantisek Sumsal2023-11-041-1/+1
| | | | | | | | Follow-up to e4080a6d97.
* | Merge pull request #29858 from bluca/newsLuca Boccassi2023-11-042-2/+7
|\ \ | | | | | | man/NEWS update for sleep.conf
| * | man: drop obsolete reference to SuspendMode=Luca Boccassi2023-11-041-2/+1
| | | | | | | | | | | | Follow-up for 1f82c21dce
| * | NEWS: update for deprecated sleep configsLuca Boccassi2023-11-041-0/+6
| | |
* | | Merge pull request #29402 from ↵Luca Boccassi2023-11-042-73/+153
|\ \ \ | | | | | | | | | | | | | | | | yuwata/sd-journal-cleanups-for-generic-array-bisect sd-journal: cleanups for generic_array_bisect()
| * | | sd-journal: rework generic_array_bisect()Yu Watanabe2023-11-042-65/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename generic_array_bisect_one() -> generic_array_bisect_step(), as there is also generic_array_bisect_plus_one(), so the original name is confusing. - Make generic_array_bisect_step() return TEST_GOTO_NEXT or TEST_GOTO_PREVIOUS when the current array does not contain any matching entries. - Make generic_array_bisect_step() symmetric with respect to the direction we are going to, except for the journal corruption handling. - Make generic_array_bisect_step() gracefully handle journal corruptions, so the corruption handling in the caller side can be mostly dropped. - Especially, when the last entry in an array is corrupted, previously we tried to find a valid entry sequentially from the end of the array, but now we anyway bisect the array. That should improve performance of reading corrupted journal files. - Return earlier when no entry linked to the chained array (n == 0). - Add many comments. No behavior change unless journal is corrupted.
| * | | sd-journal: drop redundant re-reading of entry array objectYu Watanabe2023-11-041-15/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This effectively reverts e562f131585fe6ae32b1f035ba48c1548d695259. In the loop of the generic_array_bisect(), the offset of the entry array object is unchanged, the object is read at the beginning of the loop, and we do not read any other entry array object. Hence, it is not necessary to re-read the object every time we use the object.
* | | | Merge pull request #29469 from yuwata/sd-journal-pin-objectLuca Boccassi2023-11-046-133/+190
|\ \ \ \ | |_|_|/ |/| | | sd-journal: add a way to 'pin' object to protect from reading another object with the same type
| * | | sd-journal: make generic_array_bisect_plus_one() take data objectYu Watanabe2023-11-041-47/+31
| | | | | | | | | | | | | | | | | | | | Then, rename it to generic_array_bisect_for_data(). No functional change, just refactoring.
| * | | sd-journal: introduce journal_file_pin_object()Yu Watanabe2023-11-045-11/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, OBJECT_UNUSED was used for 'pinning' the mmap cache for an object. But, OBJECT_UNUSED is also used for reading object when type cannot be determined before read, e.g. when reading the tail object. Let's introduce another category for pinning mmap cache, and use it when we want to temporary pin an object.
| * | | mmap-cache: introduce window_matches_by_addr()Yu Watanabe2023-11-041-4/+12
| | | | | | | | | | | | | | | | | | | | It is similar to window_matches(), but checks the mapped address. Mostly preparation for later commits.
| * | | mmap-cache: introduce enum MMapCacheCategoryYu Watanabe2023-11-044-41/+51
| | | | | | | | | | | | | | | | | | | | | | | | Then rename context -> category. No functional change, just refactoring and modernization.
| * | | mmap-cache: drop Context and boolean flags in WindowYu Watanabe2023-11-041-47/+46
| |/ / | | | | | | | | | No functional change, just refactoring.
* / / tree-wide: fix typoYu Watanabe2023-11-045-8/+8
|/ /
* | test: wait for the nvme device to appearFrantisek Sumsal2023-11-041-4/+5
| | | | | | | | | | Also, use a /dev/disk/by-id/ symlink to the device, which should be predictable, unlike the /dev/nvmeX stuff.
* | Merge pull request #29848 from poettering/base64url-tooLuca Boccassi2023-11-042-2/+31
|\ \ | | | | | | hexdecoct: implicitly parse URL-safe base64 format, too
| * | test: add test for the combined base64/base64url decoderLennart Poettering2023-11-031-0/+29
| | |
| * | hexdecoct: implicitly parse URL-safe base64 format, tooLennart Poettering2023-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JSON-I (RFC 7493) suggests to use the URL safe base64 alphabet, rather than the regular one when encoding binary data in JSON strings. We generally uses the regular alphabet though. Let's be tolerant in what we parse however: simply accept both formats when we parse base64. This does nothing about base64 generation though, only about parsing.
* | | fuzz: limit the interface definition input size to 64KFrantisek Sumsal2023-11-031-0/+3
| |/ |/| | | | | | | | | To avoid timeouts with larger inputs. Resolves: #29856
* | Update NEWSLuca Boccassi2023-11-031-0/+2
| |
* | test: add a couple of tests for systemd-bsodFrantisek Sumsal2023-11-032-1/+91
| | | | | | | | | | Add some basic tests for systemd-bsod, mainly to have something to build on for #29056.
* | Revert "test: don't panic on soft lockups"Frantisek Sumsal2023-11-031-0/+1
| | | | | | | | | | | | | | | | Let's put this back in, as it could help with occasional machine lock ups on overloaded systems (and it didn't help with the original issue anyway). This reverts commit 3a89904e45cbbd96fb1c5d0768de5e5fcdaaa508.
* | Merge pull request #29839 from goenkam/maanya/portabled_support_for_confextLuca Boccassi2023-11-0312-98/+195
|\ \ | |/ |/| portable: add support for confext
| * portable: add support for confextMaanya Goenka2023-11-038-51/+113
| | | | | | | | Support confexts for portable services
| * core: check that extensions have the hierarchies before overlayingLuca Boccassi2023-11-032-47/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before confext was added, hierarchies always existed in extensions. Now they are optional - i.e., a sysext will not contain /etc/. So mixing a confext and a sysext fails, as we'll try to create an overlay with /etc/ from the base, the confext and the sysext, but the latter doesn't have the directory. After the source images are mounted, check that each hierarchy exists in each source image before creating the overlay, and drop them if they don't. Follow-up for 55ea4ef096543
| * strv: add strv_free_many() to be used with CLEANUP_ARRAY()Luca Boccassi2023-11-032-0/+11
| |
* | Merge pull request #29847 from dtardon/udevadm-control-arg-processingLuca Boccassi2023-11-032-73/+118
|\ \ | | | | | | Streamline `udevadm control` arg. handling
| * | udev-ctrl: drop the unused maybe_disconnected stuffDavid Tardon2023-11-031-12/+3
| | |
| * | udevadm-control: return early if --exit is usedDavid Tardon2023-11-031-25/+10
| | | | | | | | | | | | | | | | | | All the following commands would just fail with -ENOANO anyway, hence there's no point in sending them. And it allows us to shave off some error handling code.
| * | udevadm-control: parse all args in advanceDavid Tardon2023-11-031-61/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly just refactoring to make the code more manageable and extendable. It doesn't introduce any semantic changes, but it "optimizes" the communication with udevd a bit: * If an option is used multiple times, only one command will be sent. If the option takes a value, the value of the final appearance of the option is used. The only exception is --property, which is additive by nature. * Options --start-exec-queue and --stop-exec-queue are handled together. Only one of START_QUEUE/STOP_QUEUE commands will be sent to udevd even if both options appear on the command line.
* | | cryptsetup: do not print (null) if pkcs11 uri not setAntonio Alvarez Feijoo2023-11-031-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | The pkcs11 uri is no set if the smart card is not inserted while using `pkcs11-uri=auto` with libcryptsetup plugins. ``` > systemd-cryptsetup attach cr_data /dev/sda1 - pkcs11-uri=auto Set cipher aes, mode xts-plain64, key size 512 bits for device /dev/sda1. Security token (null) not present for unlocking volume Linux filesystem (cr_data), please plug it in. ```
* | NEWS: add entry for vmspawnLuca Boccassi2023-11-031-0/+5
| |
* | NEWS: fix typo and reword meson option entryLuca Boccassi2023-11-031-5/+5
| |
* | update NEWSLennart Poettering2023-11-031-0/+21
| |