summaryrefslogtreecommitdiffstats
path: root/units/systemd-sysupdate-reboot.timer (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-06man: use meaningful titles for <ulink>sZbigniew Jędrzejewski-Szmek12-64/+73
As pointed out in https://github.com/systemd/systemd/issues/29814, we need to use phrases are are meaningful on their own, because the man page formatter creates a list at the bottom. With <ulink>see docs</ulink>, we end up with: NOTES: 1. see docs https://some.url/page 2. see docs https://some.url/page2 which is not very useful :( Also, the text inside the tag should not include punctuation. Python helper: from xml_helper import xml_parse for p in glob.glob('../man/*.xml'): t = xml_parse(p) ulinks = t.iterfind('.//ulink') for ulink in ulinks: if ulink.text is None: continue text = ' '.join(ulink.text.split()) print(f'{p}: {text}')
2023-11-06network: do not try to set invalid value for IPv6 hop limitYu Watanabe5-7/+6
2023-11-06network: fix indentationYu Watanabe1-2/+1
Follow-up for f141b2c053527cdf2500dae5cd4f470ed964b436.
2023-11-06Revert "ndisc: Also set link hoplimit"Yu Watanabe3-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.
2023-11-05NEWS: mention new rpm macrosZbigniew Jędrzejewski-Szmek1-0/+5
2023-11-05NEWS: reword things, change ordering, remove one duplicateZbigniew Jędrzejewski-Szmek1-78/+79
2023-11-05kernel-install: Log location that uki is installed inDaan De Meyer1-2/+2
Let's log where we install a UKI when running in verbose mode.
2023-11-05test: make the test happy with coverage buildsFrantisek Sumsal1-3/+3
Bump the LimitFSIZE=, since the process needs to write quite a lot of .gcda files, and suppress coverage errors with DynamicUser=true.
2023-11-04Update NEWSLuca Boccassi1-5/+7
Note that vmspawn and pcrlock are new and the interface might change
2023-11-04udevadm: actually set the log levelFrantisek Sumsal1-1/+1
Follow-up to e4080a6d97.
2023-11-04udevadm: make sure we don't reset max children on each invocationFrantisek Sumsal1-1/+1
Follow-up to e4080a6d97.
2023-11-04man: drop obsolete reference to SuspendMode=Luca Boccassi1-2/+1
Follow-up for 1f82c21dce
2023-11-04NEWS: update for deprecated sleep configsLuca Boccassi1-0/+6
2023-11-04tree-wide: fix typoYu Watanabe5-8/+8
2023-11-04sd-journal: make generic_array_bisect_plus_one() take data objectYu Watanabe1-47/+31
Then, rename it to generic_array_bisect_for_data(). No functional change, just refactoring.
2023-11-04sd-journal: introduce journal_file_pin_object()Yu Watanabe5-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.
2023-11-04mmap-cache: introduce window_matches_by_addr()Yu Watanabe1-4/+12
It is similar to window_matches(), but checks the mapped address. Mostly preparation for later commits.
2023-11-04mmap-cache: introduce enum MMapCacheCategoryYu Watanabe4-41/+51
Then rename context -> category. No functional change, just refactoring and modernization.
2023-11-04mmap-cache: drop Context and boolean flags in WindowYu Watanabe1-47/+46
No functional change, just refactoring.
2023-11-04sd-journal: rework generic_array_bisect()Yu Watanabe2-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.
2023-11-04sd-journal: drop redundant re-reading of entry array objectYu Watanabe1-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.
2023-11-04test: wait for the nvme device to appearFrantisek Sumsal1-4/+5
Also, use a /dev/disk/by-id/ symlink to the device, which should be predictable, unlike the /dev/nvmeX stuff.
2023-11-03fuzz: limit the interface definition input size to 64KFrantisek Sumsal1-0/+3
To avoid timeouts with larger inputs. Resolves: #29856
2023-11-03Update NEWSLuca Boccassi1-0/+2
2023-11-03test: add a couple of tests for systemd-bsodFrantisek Sumsal2-1/+91
Add some basic tests for systemd-bsod, mainly to have something to build on for #29056.
2023-11-03Revert "test: don't panic on soft lockups"Frantisek Sumsal1-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.
2023-11-03test: add test for the combined base64/base64url decoderLennart Poettering1-0/+29
2023-11-03hexdecoct: implicitly parse URL-safe base64 format, tooLennart Poettering1-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.
2023-11-03cryptsetup: do not print (null) if pkcs11 uri not setAntonio Alvarez Feijoo1-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. ```
2023-11-03udev-ctrl: drop the unused maybe_disconnected stuffDavid Tardon1-12/+3
2023-11-03udevadm-control: return early if --exit is usedDavid Tardon1-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.
2023-11-03udevadm-control: parse all args in advanceDavid Tardon1-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.
2023-11-03portable: add support for confextMaanya Goenka8-51/+113
Support confexts for portable services
2023-11-03core: check that extensions have the hierarchies before overlayingLuca Boccassi2-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
2023-11-03strv: add strv_free_many() to be used with CLEANUP_ARRAY()Luca Boccassi2-0/+11
2023-11-03NEWS: add entry for vmspawnLuca Boccassi1-0/+5
2023-11-03NEWS: fix typo and reword meson option entryLuca Boccassi1-5/+5
2023-11-03update NEWSLennart Poettering1-0/+21
2023-11-03namespace: fix whitespace mixupLennart Poettering1-5/+5
2023-11-03more additions to NEWSLennart Poettering1-97/+186
2023-11-03bsod: restore vt on SIGTERM/SIGINTFrantisek Sumsal1-13/+30
Let's install a simple no-op signal handler without SA_RESTART for SIGINT/SIGTERM, which allows us to interrupt read_one_char() and follow it up with a proper cleanup, including restoring the vt to the original state. Resolves: #29478
2023-11-03virt: also check if PID1 is in chrootYu Watanabe1-4/+4
In PID1, running_in_chroot() is called by safety_checks(), but without this change, the check did nothing.
2023-11-03nspawn: allow disabling os-release checkFrantisek Sumsal3-2/+46
Introduce a new env variable $SYSTEMD_NSPAWN_CHECK_OS_RELEASE, that can be used to disable the os-release check for bootable OS trees. Useful when trying to boot a container with empty /etc/ and bind-mounted /usr/. Resolves: #29185
2023-11-03nspawn: fix two failure pathsLennart Poettering1-4/+8
We need to go to "finish" rather than just return. All our exit paths got this right, except two.
2023-11-03update TODOLennart Poettering1-15/+14
2023-11-03update TODOLennart Poettering1-78/+17