Lennart Poettering [Mon, 6 Nov 2023 09:47:10 +0000 (10:47 +0100)]
kernel-install: make version/kernel image parameters optional for "add"
Let's make kernel-install a bit easier to use:
If the kernel version is not specified, let's imply "uname -r", so that
we regnerate the entries for the current kernel.
If the kernel image is not specified let's imply using
/usr/lib/modules/$version/vmlinuz, i.e. the location distros like Fedora
drop the kernel into, which we generally recommend people to use.
If the kernel is not found there, don't try to automatically pick the
kernel path, and fail, as before.
Lennart Poettering [Mon, 6 Nov 2023 09:30:58 +0000 (10:30 +0100)]
kernel-install: add command to list installed kernels
This simply dumps the dirs in /usr/lib/modules/ and whether they contain
a vmlinuz binary.
Lennart Poettering [Mon, 6 Nov 2023 10:33:51 +0000 (11:33 +0100)]
string-util: add strdup_or_null() helper
Antonio Alvarez Feijoo [Tue, 7 Nov 2023 08:55:56 +0000 (09:55 +0100)]
bootspec: fix typo
Diego Viola [Tue, 7 Nov 2023 09:29:24 +0000 (06:29 -0300)]
TODO: fix more typos
Diego Viola [Tue, 7 Nov 2023 07:46:39 +0000 (04:46 -0300)]
TODO: fix typos
Mike Yuan [Tue, 7 Nov 2023 01:53:57 +0000 (09:53 +0800)]
Merge pull request #29879 from Flowdalic/cgroup-memory-peak
cgroup: add support for memory.peak
Luca Boccassi [Tue, 7 Nov 2023 00:10:43 +0000 (00:10 +0000)]
Merge pull request #29888 from mrc0mmand/network-generator
test: add a couple of tests for systemd-network-generator
Daan De Meyer [Wed, 25 Oct 2023 07:57:44 +0000 (09:57 +0200)]
kernel-install: Add --root, --image and --image-policy
Currently only supported for the "inspect" verb as "add" and "remove"
require figuring out what to do with plugins.
Tad Fisher [Fri, 6 Oct 2023 20:52:07 +0000 (13:52 -0700)]
resolve: use exact-match domain as routing domain for single-labels
With ResolveUnicastSingleLabel=yes, a scope's search domains are affixed to the
query even when a routing domain matches the single-label query name,
preventing the use of dotless single-label domains entirely.
This changes dns_scope_name_wants_search_domain() to return false when the
scope contains an exact match of the single-label name in the query, allowing
lookups for dotless domains with ResolveUnicastSingleLabel enabled.
Luca Boccassi [Mon, 6 Nov 2023 21:24:08 +0000 (21:24 +0000)]
Merge pull request #29882 from keszybz/documentation-cleanup
Documentation cleanup
Frantisek Sumsal [Mon, 6 Nov 2023 19:00:09 +0000 (20:00 +0100)]
test: wait for the "latest" systemd-bsod message
Let's wait for the "latest" message systemd-bsod prints to the console
to appear, otherwise we might be too fast and take a console snapshot
before it contains all the information:
[ 44.237788] testsuite-04.sh[1744]: + setterm --term linux --dump --file /tmp/console.dump
[ 44.246089] systemd-bsod[1858]: QR code could not be printed, ignoring: Operation not supported
[ 44.305692] testsuite-04.sh[1744]: + grep -aq 'The current boot has failed' /tmp/console.dump
[ 44.308047] testsuite-04.sh[1744]: + grep -aq 'Service emergency message' /tmp/console.dump
[ 44.311200] testsuite-04.sh[1744]: + grep -aq 'Press any key to exit' /tmp/console.dump
[ 44.314359] testsuite-04.sh[1744]: + at_exit
[ 44.315087] testsuite-04.sh[1744]: + local EC=1
[ 44.315945] testsuite-04.sh[1744]: + [[ 1 -ne 0 ]]
[ 44.316647] testsuite-04.sh[1744]: + [[ -e /tmp/console.dump ]]
[ 44.318305] testsuite-04.sh[1744]: + cat /tmp/console.dump
[ 44.319320] testsuite-04.sh[1871]: The current boot has failed!
[ 44.319970] testsuite-04.sh[1871]: Service emergency message
Yu Watanabe [Mon, 6 Nov 2023 18:20:38 +0000 (03:20 +0900)]
test-network: test MultiPathRoute= via another interface
Prompted by https://github.com/systemd/systemd/pull/14194#issuecomment-
1795489641.
Frantisek Sumsal [Mon, 6 Nov 2023 16:49:17 +0000 (17:49 +0100)]
test: add a couple of tests for systemd-network-generator
Only for ip= stuff, for now.
Luca Boccassi [Mon, 6 Nov 2023 20:29:16 +0000 (20:29 +0000)]
Merge pull request #29894 from bluca/typo
udev/man typos
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 14:02:51 +0000 (15:02 +0100)]
man/systemd-stub: split and simplify a wall'o'text paragraph
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 14:02:20 +0000 (15:02 +0100)]
man/networkctl,systemd-soft-reboot: capitalize and add periods
We added version information, so now each bullet point contains multiple
paragraphs, so we need proper sentences.
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 14:00:46 +0000 (15:00 +0100)]
man: "Documentation" is not part of the title
<ulinks> contents are used to generate a SEE ALSO section at the
bottom of a man page, so we need to include the title, without additional
words, in the content.
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 13:59:00 +0000 (14:59 +0100)]
man: more hyperlinks and other fixes
Closes https://github.com/systemd/systemd/issues/29814.
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 13:52:01 +0000 (14:52 +0100)]
tree-wide: s/life-cycle/lifecycle/g
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 13:50:03 +0000 (14:50 +0100)]
docs: fix title levels, remove unneded words
The title applies to the whole page, not just the first section.
And there should be just one title ('# foo') in a given document.
Zbigniew Jędrzejewski-Szmek [Mon, 6 Nov 2023 11:43:40 +0000 (12:43 +0100)]
man: use meaningful titles for <ulink>s
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}')
Daan De Meyer [Mon, 6 Nov 2023 18:24:00 +0000 (19:24 +0100)]
Revert "mkosi: Use cache and build subdirectories"
We're not going ahead with the corresponding change in mkosi
after all so revert the preparatory change in systemd as well.
This reverts commit
f756bcdf17915ffb3b8e3e21b4aa2b53ccaaac1a.
Luca Boccassi [Mon, 6 Nov 2023 16:31:50 +0000 (16:31 +0000)]
test: fix build without SBAT_DISTRO
Follow-up for
c9bebec872
Luca Boccassi [Mon, 6 Nov 2023 18:50:30 +0000 (18:50 +0000)]
man: fix typo
allows to -> allows one to
Luca Boccassi [Mon, 6 Nov 2023 18:48:25 +0000 (18:48 +0000)]
udev: ressize -> result_size
Lintian flags it as a typo of 'resize', so rename it and make it clearer too
Florian Schmaus [Mon, 6 Nov 2023 16:28:41 +0000 (17:28 +0100)]
run: include peak memory in output
Fixes #28542.
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Florian Schmaus [Mon, 6 Nov 2023 16:24:14 +0000 (17:24 +0100)]
core: include peak memory in unit_log_resources()
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Florian Schmaus [Mon, 6 Nov 2023 12:15:55 +0000 (13:15 +0100)]
cgroup: add support for memory.peak
Linux's Control Group v2 interfaces exposes memory.peak, which contains the
"max memory usage recorded for the cgroup and its descendants since the
creation of the cgroup."
This commit adds a new property "MemoryPeak" for units and makes "systemctl
show" display this value if it is available.
Fixes #29878.
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Frantisek Sumsal [Mon, 6 Nov 2023 16:46:59 +0000 (17:46 +0100)]
network-generator: allow specifying MAC address without MTU
Also, don't panic when both optional arguments are empty. This should
make the syntax compatible-ish with the dracut one from dracut.cmdline(7).
Resolves: #29855
Frantisek Sumsal [Mon, 6 Nov 2023 16:05:11 +0000 (17:05 +0100)]
network-generator: correctly handle IPv6 DNS servers in ip=
IPv6 addresses in the ip= assignment need to be enclosed in [], which
was handled for all IP-related fields except for the two optional DNS
fields.
Peter Hutterer [Wed, 1 Nov 2023 01:57:21 +0000 (11:57 +1000)]
login: switch an if condition to a switch statement
No functional changes but makes the code more readable once we expand
the list of device types.
Lennart Poettering [Mon, 6 Nov 2023 16:37:21 +0000 (17:37 +0100)]
update TODO
jjimbo137 [Mon, 6 Nov 2023 16:39:01 +0000 (11:39 -0500)]
tcrypt: try all entered passphrases instead of just the first one (#29837)
Previously only the first entered passphrase would be used. Add the ability to check all the passwords entered by the user. The total number of passwords entered is still limited by passphrase entry limit.
Antonio Alvarez Feijoo [Mon, 6 Nov 2023 13:54:42 +0000 (14:54 +0100)]
Antonio Alvarez Feijoo [Mon, 6 Nov 2023 15:32:49 +0000 (16:32 +0100)]
Antonio Alvarez Feijoo [Mon, 6 Nov 2023 14:29:23 +0000 (15:29 +0100)]
man/measure: document --uname
Follow up to
b6f2e6860220aa89550f690b12246c4e8eb6e908
Yu Watanabe [Mon, 6 Nov 2023 16:07:03 +0000 (01:07 +0900)]
Merge pull request #29675 from DaanDeMeyer/kernel-install-json
kernel-install: Add --json option for inspect verb
Luca Boccassi [Mon, 6 Nov 2023 14:43:23 +0000 (14:43 +0000)]
Merge pull request #29872 from yuwata/udevadm-trigger-receive-buffer-size
udevadm-trigger: extend receive buffer size
Lennart Poettering [Mon, 6 Nov 2023 12:32:02 +0000 (13:32 +0100)]
pcrlock: show emojis for each PCR line
I am sorry, I totally forgot adding emojis reflecting the state of each
PCR. I hope I can do better in future, and hereby I'd like to rectify
the situation a bit.
Lennart Poettering [Mon, 6 Nov 2023 14:18:40 +0000 (15:18 +0100)]
NEWS: drop left-over .md suffix
Daan De Meyer [Mon, 23 Oct 2023 09:18:35 +0000 (11:18 +0200)]
kernel-install: Add --json option for inspect verb
In mkosi, we can't use kernel-install directly but we do want to
mimick its behavior as much as possible. Let's make that easier by
making it easy to fetch data from kernel-install as JSON.
To get all the necessary data, we extend the inspect verb to also
allow passing in a kernel version and initrds, to mimick the "add"
verb. The kernel version is used to determine the "Entry Directory",
and in absence of auto-detection of kernel version in kernel-install
we have to allow users to pass it.
We also add --no-pager while we're at it.
Daan De Meyer [Mon, 23 Oct 2023 09:18:19 +0000 (11:18 +0200)]
boot-entry: Add boot_entry_token_type_to_string()
Daan De Meyer [Mon, 23 Oct 2023 09:18:01 +0000 (11:18 +0200)]
kernel-install: Fix doc whitespace
Luca Boccassi [Mon, 6 Nov 2023 12:25:58 +0000 (12:25 +0000)]
NEWS: fix typo
Sam Leonard [Mon, 6 Nov 2023 10:25:12 +0000 (10:25 +0000)]
vmspawn: extend kernel cmdline with extra args
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.
Luca Boccassi [Mon, 6 Nov 2023 11:43:21 +0000 (11:43 +0000)]
Merge pull request #29875 from bluca/news
Update NEWS and hwdb
Yu Watanabe [Mon, 6 Nov 2023 11:39:46 +0000 (20:39 +0900)]
sd-device-monitor: unconditionally increase buffer size by sd_device_monitor_new()
As suggested at https://github.com/systemd/systemd/pull/29872#discussion_r1382932633:
> socket memory is these days accounted to the process that owns a socket,
> hence we shouldn't be too concerned that this might waste memory.
Frantisek Sumsal [Mon, 6 Nov 2023 11:26:53 +0000 (20:26 +0900)]
test: add test case for issue #29863
Luca Boccassi [Mon, 6 Nov 2023 10:38:17 +0000 (10:38 +0000)]
NEWS: finalize
Luca Boccassi [Mon, 6 Nov 2023 10:37:29 +0000 (10:37 +0000)]
Update hwdb
Luca Boccassi [Mon, 6 Nov 2023 10:35:45 +0000 (10:35 +0000)]
NEWS: update contributors list
Luca Boccassi [Mon, 6 Nov 2023 10:00:46 +0000 (10:00 +0000)]
Merge pull request #29873 from yuwata/network-revert-hop-limit
network: several follow-ups for IPv6 hop limit
Yu Watanabe [Mon, 6 Nov 2023 06:46:39 +0000 (15:46 +0900)]
network: do not try to set invalid value for IPv6 hop limit
Yu Watanabe [Mon, 6 Nov 2023 06:42:53 +0000 (15:42 +0900)]
network: fix indentation
Follow-up for
f141b2c053527cdf2500dae5cd4f470ed964b436.
Yu Watanabe [Mon, 6 Nov 2023 06:28:12 +0000 (15:28 +0900)]
Revert "ndisc: Also set link hoplimit"
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.
Yu Watanabe [Mon, 6 Nov 2023 05:50:43 +0000 (14:50 +0900)]
udevadm-trigger: extend receive buffer size
We may trigger huge number of devices and will receive many events.
Let's extend the buffer size, otherwise the buffer may be filled.
Fixes #29863.
Zbigniew Jędrzejewski-Szmek [Sun, 5 Nov 2023 17:44:35 +0000 (18:44 +0100)]
NEWS: mention new rpm macros
Zbigniew Jędrzejewski-Szmek [Fri, 3 Nov 2023 14:41:55 +0000 (15:41 +0100)]
NEWS: reword things, change ordering, remove one duplicate
Daan De Meyer [Sun, 5 Nov 2023 12:50:25 +0000 (13:50 +0100)]
kernel-install: Log location that uki is installed in
Let's log where we install a UKI when running in verbose mode.
Frantisek Sumsal [Sat, 4 Nov 2023 20:16:27 +0000 (21:16 +0100)]
test: make the test happy with coverage builds
Bump the LimitFSIZE=, since the process needs to write quite a lot of
.gcda files, and suppress coverage errors with DynamicUser=true.
Luca Boccassi [Sat, 4 Nov 2023 16:51:28 +0000 (16:51 +0000)]
Update NEWS
Note that vmspawn and pcrlock are new and the interface might change
Luca Boccassi [Sat, 4 Nov 2023 16:48:48 +0000 (16:48 +0000)]
Merge pull request #29862 from mrc0mmand/udevadm-followups
A couple of follow-ups for `udevadm control`
Frantisek Sumsal [Sat, 4 Nov 2023 13:05:04 +0000 (14:05 +0100)]
udevadm: actually set the log level
Follow-up to
e4080a6d97.
Frantisek Sumsal [Sat, 4 Nov 2023 11:28:49 +0000 (12:28 +0100)]
udevadm: make sure we don't reset max children on each invocation
Follow-up to
e4080a6d97.
Luca Boccassi [Sat, 4 Nov 2023 10:43:35 +0000 (10:43 +0000)]
Merge pull request #29858 from bluca/news
man/NEWS update for sleep.conf
Luca Boccassi [Fri, 3 Nov 2023 21:33:52 +0000 (21:33 +0000)]
man: drop obsolete reference to SuspendMode=
Follow-up for
1f82c21dce
Luca Boccassi [Fri, 3 Nov 2023 21:32:36 +0000 (21:32 +0000)]
NEWS: update for deprecated sleep configs
Luca Boccassi [Sat, 4 Nov 2023 10:38:03 +0000 (10:38 +0000)]
Merge pull request #29402 from yuwata/sd-journal-cleanups-for-generic-array-bisect
sd-journal: cleanups for generic_array_bisect()
Luca Boccassi [Sat, 4 Nov 2023 10:37:43 +0000 (10:37 +0000)]
Merge pull request #29469 from yuwata/sd-journal-pin-object
sd-journal: add a way to 'pin' object to protect from reading another object with the same type
Yu Watanabe [Sat, 4 Nov 2023 02:58:12 +0000 (11:58 +0900)]
tree-wide: fix typo
Yu Watanabe [Sat, 30 Sep 2023 04:30:15 +0000 (13:30 +0900)]
sd-journal: make generic_array_bisect_plus_one() take data object
Then, rename it to generic_array_bisect_for_data().
No functional change, just refactoring.
Yu Watanabe [Sat, 30 Sep 2023 03:03:13 +0000 (12:03 +0900)]
sd-journal: introduce journal_file_pin_object()
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.
Yu Watanabe [Sat, 30 Sep 2023 02:46:42 +0000 (11:46 +0900)]
mmap-cache: introduce window_matches_by_addr()
It is similar to window_matches(), but checks the mapped address.
Mostly preparation for later commits.
Yu Watanabe [Sat, 30 Sep 2023 03:44:22 +0000 (12:44 +0900)]
mmap-cache: introduce enum MMapCacheCategory
Then rename context -> category.
No functional change, just refactoring and modernization.
Yu Watanabe [Fri, 29 Sep 2023 19:49:53 +0000 (04:49 +0900)]
mmap-cache: drop Context and boolean flags in Window
No functional change, just refactoring.
Yu Watanabe [Wed, 27 Sep 2023 17:14:31 +0000 (02:14 +0900)]
sd-journal: rework generic_array_bisect()
- 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.
Yu Watanabe [Mon, 25 Sep 2023 21:05:21 +0000 (06:05 +0900)]
sd-journal: drop redundant re-reading of entry array object
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.
Frantisek Sumsal [Fri, 3 Nov 2023 14:31:52 +0000 (15:31 +0100)]
test: wait for the nvme device to appear
Also, use a /dev/disk/by-id/ symlink to the device, which should be
predictable, unlike the /dev/nvmeX stuff.
Luca Boccassi [Fri, 3 Nov 2023 23:26:33 +0000 (23:26 +0000)]
Merge pull request #29848 from poettering/base64url-too
hexdecoct: implicitly parse URL-safe base64 format, too
Frantisek Sumsal [Fri, 3 Nov 2023 19:37:59 +0000 (20:37 +0100)]
fuzz: limit the interface definition input size to 64K
To avoid timeouts with larger inputs.
Resolves: #29856
Luca Boccassi [Fri, 3 Nov 2023 20:50:48 +0000 (20:50 +0000)]
Update NEWS
Frantisek Sumsal [Fri, 6 Oct 2023 15:14:34 +0000 (17:14 +0200)]
test: add a couple of tests for systemd-bsod
Add some basic tests for systemd-bsod, mainly to have something to build on
for #29056.
Frantisek Sumsal [Fri, 3 Nov 2023 14:15:33 +0000 (15:15 +0100)]
Revert "test: don't panic on soft lockups"
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.
Luca Boccassi [Fri, 3 Nov 2023 20:37:46 +0000 (20:37 +0000)]
Merge pull request #29839 from goenkam/maanya/portabled_support_for_confext
portable: add support for confext
Lennart Poettering [Fri, 3 Nov 2023 20:34:45 +0000 (21:34 +0100)]
test: add test for the combined base64/base64url decoder
Lennart Poettering [Fri, 3 Nov 2023 13:07:39 +0000 (14:07 +0100)]
hexdecoct: implicitly parse URL-safe base64 format, too
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.
Luca Boccassi [Fri, 3 Nov 2023 20:34:53 +0000 (20:34 +0000)]
Merge pull request #29847 from dtardon/udevadm-control-arg-processing
Streamline `udevadm control` arg. handling
Antonio Alvarez Feijoo [Fri, 3 Nov 2023 15:28:14 +0000 (16:28 +0100)]
cryptsetup: do not print (null) if pkcs11 uri not set
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.
```
David Tardon [Fri, 3 Nov 2023 13:08:37 +0000 (14:08 +0100)]
udev-ctrl: drop the unused maybe_disconnected stuff
David Tardon [Fri, 3 Nov 2023 13:01:54 +0000 (14:01 +0100)]
udevadm-control: return early if --exit is used
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.
David Tardon [Fri, 3 Nov 2023 12:12:42 +0000 (13:12 +0100)]
udevadm-control: parse all args in advance
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.
Maanya Goenka [Wed, 16 Aug 2023 18:43:06 +0000 (18:43 +0000)]
portable: add support for confext
Support confexts for portable services
Luca Boccassi [Wed, 1 Nov 2023 19:39:37 +0000 (19:39 +0000)]
core: check that extensions have the hierarchies before overlaying
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
Luca Boccassi [Fri, 3 Nov 2023 16:59:32 +0000 (16:59 +0000)]
strv: add strv_free_many() to be used with CLEANUP_ARRAY()
Luca Boccassi [Fri, 3 Nov 2023 16:43:01 +0000 (16:43 +0000)]
NEWS: add entry for vmspawn
Luca Boccassi [Fri, 3 Nov 2023 16:13:20 +0000 (16:13 +0000)]
NEWS: fix typo and reword meson option entry
Lennart Poettering [Fri, 3 Nov 2023 16:40:33 +0000 (17:40 +0100)]
update NEWS
Lennart Poettering [Fri, 3 Nov 2023 16:27:41 +0000 (17:27 +0100)]
namespace: fix whitespace mixup
Lennart Poettering [Fri, 3 Nov 2023 16:27:33 +0000 (17:27 +0100)]
more additions to NEWS