]>
git.ipfire.org Git - thirdparty/systemd.git/log
Frantisek Sumsal [Thu, 2 Nov 2023 17:08:30 +0000 (18:08 +0100)]
test: check that `resolvectl monitor --json` generates valid JSON
Provides coverage for #29580.
Lennart Poettering [Tue, 31 Oct 2023 22:00:41 +0000 (23:00 +0100)]
resolved: make sure "resolvectl monitor" can properly deal with stub queries
If we receive a query via the two stubs we store the original packet
instead of just the question object. Hence when we send monitor info to
subscribed clients we need to extract its question and also include it
in the returned data.
Fixes: #29580
Joerg Behrmann [Wed, 1 Nov 2023 20:32:22 +0000 (21:32 +0100)]
NEWS: more typo fixes
Luca Boccassi [Wed, 1 Nov 2023 20:14:11 +0000 (20:14 +0000)]
Merge pull request #29816 from bluca/rel
Busywork for RC1
Frantisek Sumsal [Wed, 1 Nov 2023 20:00:10 +0000 (21:00 +0100)]
NEWS: fix a couple of typos and inconsistencies
And drop one duplicated paragraph.
Yu Watanabe [Wed, 1 Nov 2023 19:56:29 +0000 (04:56 +0900)]
Merge pull request #29817 from YHNdnzj/fchmodat2
Add support for fchmodat2 and use it where appropriate
Lennart Poettering [Wed, 1 Nov 2023 15:48:42 +0000 (16:48 +0100)]
parse-util: add parse_tristate() and use it everywhere
We parse tristates all the time, let's add an explicit parser for them.
dependabot[bot] [Wed, 1 Nov 2023 17:31:14 +0000 (17:31 +0000)]
build(deps): bump meson from 1.2.2 to 1.2.3 in /.github/workflows
Bumps [meson](https://github.com/mesonbuild/meson) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.2.2...1.2.3)
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 1 Nov 2023 09:38:48 +0000 (09:38 +0000)]
build(deps): bump ninja from 1.11.1 to 1.11.1.1 in /.github/workflows
Bumps [ninja](https://github.com/ninja-build/ninja) from 1.11.1 to 1.11.1.1.
- [Release notes](https://github.com/ninja-build/ninja/releases)
- [Commits](https://github.com/ninja-build/ninja/commits)
---
updated-dependencies:
- dependency-name: ninja
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Lennart Poettering [Wed, 1 Nov 2023 13:37:05 +0000 (14:37 +0100)]
sort-util: make bsearch_safe() actually typesafe, by returning the right type
Arseny Maslennikov [Sat, 21 Oct 2023 08:00:00 +0000 (11:00 +0300)]
nspawn-patch-uid: try fchmodat2() to restore mode of symlink
Prior to this commit, if the target had been a symlink, we did nothing
with it. Let's try with fchmodat2() and skip gracefully if not supported.
Co-authored-by: Mike Yuan <me@yhndnzj.com>
Arseny Maslennikov [Sat, 21 Oct 2023 08:00:00 +0000 (11:00 +0300)]
basic/fs-util: prefer fchmodat2 in fchmod_opath
Co-authored-by: Mike Yuan <me@yhndnzj.com>
Arseny Maslennikov [Fri, 20 Oct 2023 11:22:50 +0000 (14:22 +0300)]
basic/missing_syscall: add missing_fchmodat2()
Follow-up for
8b45281daa3a87b4b7a3248263cd0ba929d15596
and preparation for later commits.
Since libcs are more interested in the POSIX `fchmodat(3)`, they are
unlikely to provide a direct wrapper for this syscall. Thus, the headers
we examine to set `HAVE_*` are picked somewhat arbitrarily.
Also, hook up `try_fchmodat2()` in `test-seccomp.c`. (Also, correct that
function's prototype, despite the fact that mistake would not matter in
practice)
Co-authored-by: Mike Yuan <me@yhndnzj.com>
Lukas Nykryn [Thu, 19 Oct 2023 08:38:06 +0000 (10:38 +0200)]
udev: add new builtin net_driver
Currently the ID_NET_DRIVER is set in net_setup_link builtin.
But this is called pretty late in the udev processing chain.
Right now in some custom rules it was workarounded by calling ethtool
binary directly, which is ugly.
So let's split this code to a separate builtin.
Lennart Poettering [Wed, 1 Nov 2023 15:01:25 +0000 (16:01 +0100)]
man: run ninja update-man-rules again
Apparently this has been forgotten a couple of times.
Lennart Poettering [Wed, 1 Nov 2023 11:46:17 +0000 (12:46 +0100)]
chase: fix corner case when using CHASE_PARENT with a path ending in ".."
If we use CHASE_PARENT on a path ending in ".." then things are a bit
weird, because we the last path we look at is actually the *parent* and not
the *child* of the preceeding path. Hence we cannot just return the 2nd
to last fd we look at. We have to correct it, by going *two* levels up,
to get to the actual parent, and make sure CHASE_PARENT does what it
should.
Example: for the path /a/b/c chase() with CHASE_PARENT will return
/a/b/c as path, and the fd returned points to /a/b. All good. But now,
for the path /a/b/c/.. chase() with CHASE_PARENT would previously return
/a/b as path (which is OK) but the fd would point to /a/b/c, which is
*not* the parent of /a/b, after all! To get to the actual parent of
/a/b we have to go *two* levels up to get to /a.
Very confusing. But that's what we here for, no?
@mrc0mmand ran into this in https://github.com/systemd/systemd/pull/28891#issuecomment-
1782833722
Luca Boccassi [Wed, 1 Nov 2023 14:41:58 +0000 (14:41 +0000)]
Merge pull request #29764 from dtardon/varlink-io.systemd.service
Add varlink interface io.systemd.service
Luca Boccassi [Wed, 1 Nov 2023 14:36:28 +0000 (14:36 +0000)]
Merge pull request #29691 from yuwata/dissect
udev: update devlink with the newer device node even when priority is equivalent
Lennart Poettering [Wed, 1 Nov 2023 12:08:26 +0000 (13:08 +0100)]
bsod,loop-util: fix fd validity check
Lennart Poettering [Wed, 1 Nov 2023 10:26:03 +0000 (11:26 +0100)]
proc-cmdline: use read_virtual_file() for /proc/cmdline
Lennart Poettering [Wed, 1 Nov 2023 14:20:15 +0000 (15:20 +0100)]
Merge pull request #29788 from poettering/nspawn-barrier-fix
nspawn: fix barriers when wiping fully visible procfs/sysfs
Lennart Poettering [Wed, 1 Nov 2023 10:26:27 +0000 (11:26 +0100)]
cryptenroll: use erase_and_free() at two more places
Luca Boccassi [Wed, 1 Nov 2023 14:01:30 +0000 (14:01 +0000)]
meson: bump versions for v255-rc1
Luca Boccassi [Wed, 1 Nov 2023 13:58:01 +0000 (13:58 +0000)]
Update syscalls table
Luca Boccassi [Wed, 1 Nov 2023 13:50:56 +0000 (13:50 +0000)]
tools: syscall tables moved to a subdirectory
Luca Boccassi [Wed, 1 Nov 2023 13:44:24 +0000 (13:44 +0000)]
Update hwdb autosuspend rules
Luca Boccassi [Wed, 1 Nov 2023 13:43:31 +0000 (13:43 +0000)]
Update hwdb
Luca Boccassi [Wed, 1 Nov 2023 13:38:53 +0000 (13:38 +0000)]
NEWS: add contributors list
Yu Watanabe [Wed, 1 Nov 2023 09:47:36 +0000 (18:47 +0900)]
sd-netlink: res_id is 16bit but serial is 32bit
The explicit value here is not so important.
Let's chop off the higher bits.
Fixes the issue reported at
https://github.com/systemd/systemd/pull/29802#issuecomment-
1788637950 .
Luca Boccassi [Wed, 1 Nov 2023 13:20:11 +0000 (13:20 +0000)]
Merge pull request #29803 from poettering/coredump-message-tweaks
coredump: tweaks to log message & more
Yu Watanabe [Wed, 1 Nov 2023 08:49:44 +0000 (17:49 +0900)]
dhcp6: enterprise ID is 32bit
Follow-up for
6b44099b3baff64af1ef58db8e38ecddc8070e9b .
Fixes #29800.
dependabot[bot] [Wed, 1 Nov 2023 09:39:16 +0000 (09:39 +0000)]
build(deps): bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [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/
8ade135a41bc03ea155e62e844d188df1ea18608 ...
b4ffde65f46336ab88eb53be808477a3936bae11 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 1 Nov 2023 09:39:23 +0000 (09:39 +0000)]
build(deps): bump redhat-plumbers-in-action/differential-shellcheck
Bumps [redhat-plumbers-in-action/differential-shellcheck](https://github.com/redhat-plumbers-in-action/differential-shellcheck) from 4.2.2 to 5.0.1.
- [Release notes](https://github.com/redhat-plumbers-in-action/differential-shellcheck/releases)
- [Changelog](https://github.com/redhat-plumbers-in-action/differential-shellcheck/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/redhat-plumbers-in-action/differential-shellcheck/compare/
ac4483d8c6713bd2011037f44fe626989468af74 ...
aa647ec4466543e8555c2c3b648124a9813cee44 )
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/differential-shellcheck
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 1 Nov 2023 09:39:26 +0000 (09:39 +0000)]
build(deps): bump ossf/scorecard-action from 2.2.0 to 2.3.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/
08b4669551908b1024bb425080c797723083c031 ...
0864cf19026789058feabb7e87baa5f140aac736 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
David Tardon [Tue, 31 Oct 2023 08:30:25 +0000 (09:30 +0100)]
varlink: add generic impl. of io.systemd.service.SetLogLevel()
Yu Watanabe [Mon, 30 Oct 2023 04:50:10 +0000 (13:50 +0900)]
udev: revert workarounds for issues caused by the devlink creation optimization
This reverts the following two commits:
- "udev: decrease devlink priority for encrypted partitions"
c4521fc17bb33d10bf5aca3f87f6a394dfecf423 .
- "udev: decrease devlink priority for iso disks"
df1dccd25547b430258bd42ec60428fc9aff1370 .
These commits are workarounds for issues caused by
331aa7aa15ee5dd12b369b276f575d521435eb52 .
With the previous commit, these workarounds are not necessary anymore,
as partitions are always processed later than their whole disk, and
a decrypted volume is also processed later than its backing volume.
Yu Watanabe [Mon, 30 Oct 2023 04:31:23 +0000 (13:31 +0900)]
udev: update devlink with the newer device node even when priority is equivalent
Several udev rules depends on the previous behavior, i.e. that udev
replaces the devlink with the newer device node when the priority is
equivalent. Let's relax the optimization done by
331aa7aa15ee5dd12b369b276f575d521435eb52 .
Follow-up for
331aa7aa15ee5dd12b369b276f575d521435eb52 .
Note, the offending commit drops O(N) of file reads per uevent, and this
commit does not change the computational order. So, hopefully the
performance impact of this change is small enough.
Fixes #28141.
André Paiusco [Tue, 31 Oct 2023 14:25:01 +0000 (15:25 +0100)]
man: Improve text for SystemMaxFileSize when not set
If one sets the SystemMaxUse=64G by the current documentation would expect that each files size would be around 1/8 of this value (8G), althought if the SystemMaxFileSize is not explicit set, it has a max of 128M per file.
Peter Hutterer [Tue, 3 May 2022 04:24:42 +0000 (14:24 +1000)]
analyze: handle CAP_BPF support
Lennart Poettering [Wed, 1 Nov 2023 08:33:47 +0000 (09:33 +0100)]
man: explicitly mention that environment.d/ cannot be used to set the service manager's own env block
Fixes: #29414
Yu Watanabe [Wed, 1 Nov 2023 09:38:43 +0000 (18:38 +0900)]
Yu Watanabe [Tue, 31 Oct 2023 09:07:08 +0000 (18:07 +0900)]
network: support ID_NET_MANAGED_BY udev property
If the property is set, networkd manages the interface only when its
value is "io.systemd.Network".
Closes #29768.
Lennart Poettering [Wed, 1 Nov 2023 09:00:05 +0000 (10:00 +0100)]
coredump: let's always drop privileges
Let's unconditionally drop privileges before submitting the coredump log
message.
Let's make the codepaths where we acquired a coredump and where we
didn't more alike: let's drop privs in both cases.
This is not only safer, but means that the coredump messages are always
accessible by the owner of the aborted process.
Lennart Poettering [Wed, 1 Nov 2023 08:55:40 +0000 (09:55 +0100)]
coredump: tweak coredump log message
Let's not claim a process dumped core if that was disabled via resource
limits.
While we are at it, switch from stack to heap allocation for the log
message, as it includes a stack trace which can be arbitrarily large.
Fixes: #28559
Yu Watanabe [Wed, 1 Nov 2023 04:54:15 +0000 (13:54 +0900)]
NEWS: fix typo
Yu Watanabe [Wed, 1 Nov 2023 04:06:54 +0000 (13:06 +0900)]
Merge pull request #29770 from Werkov/doc-fixes
Doc fixes
Yu Watanabe [Wed, 1 Nov 2023 03:51:08 +0000 (12:51 +0900)]
Merge pull request #29786 from mrc0mmand/more-executor-stuff
test: exercise more systemd-executor related stuff
Marc Pervaz Boocha [Tue, 31 Oct 2023 17:39:14 +0000 (23:09 +0530)]
Fixed a typo in kernel-install/60-ukify.install.in for globing microcode
searches in a non-existent micocode/* dir instead of micocode* due a typo in #28592
Luca Boccassi [Thu, 26 Oct 2023 20:55:55 +0000 (21:55 +0100)]
core: rename and add comment to ExecParameters cleanup functions
Hugo Carvalho [Wed, 1 Nov 2023 02:48:14 +0000 (03:48 +0100)]
po: Translated using Weblate (Portuguese)
Currently translated at 100.0% (227 of 227 strings)
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/pt/
Translation: systemd/main
Lennart Poettering [Tue, 31 Oct 2023 15:10:32 +0000 (16:10 +0100)]
nspawn: make sure idmapped logic works if DDI contains only /usr/ tree
If we have a DDI that contains only a /usr/ tree (and which is thus
combined with a tmpfs for root on boot) we previously would try to apply
idmapping to the tmpfs, but not the /usr/ mount. That's broken of
course.
Fix this by applying it to both trees.
Luca Boccassi [Wed, 1 Nov 2023 00:43:55 +0000 (00:43 +0000)]
Update NEWS
Michal Sekletar [Tue, 31 Oct 2023 16:12:45 +0000 (17:12 +0100)]
man: change title of the section to better reflect actual content
Frantisek Sumsal [Tue, 31 Oct 2023 16:33:29 +0000 (17:33 +0100)]
core: fix a couple of typos
Frantisek Sumsal [Tue, 31 Oct 2023 14:17:41 +0000 (15:17 +0100)]
test: exercise more systemd-executor related stuff
Lennart Poettering [Tue, 31 Oct 2023 14:33:40 +0000 (15:33 +0100)]
barrier: use EBADF where appropriate
Frantisek Sumsal [Mon, 30 Oct 2023 18:30:59 +0000 (19:30 +0100)]
test: skip SocketBind*= tests when built without a bpf framework
The test intentionally checks for -BPF_FRAMEWORK so we run the test case
(and fail) even if we rename the feature flag.
Frantisek Sumsal [Mon, 30 Oct 2023 16:50:11 +0000 (17:50 +0100)]
core: check if we got a valid personality during deserialization
Lennart Poettering [Tue, 31 Oct 2023 14:30:12 +0000 (15:30 +0100)]
nspawn: fix barriers when wiping fully visible procfs/sysfs
Let's wait until the child is fully done with mounting it's own
instances of procfs/sysfs before we destroy our fully visible copies of
it.
This borrows heavily from Christian Brauners fix #29521, but splits the
place + sync into two steps so that the child payload is not started
before the parent has destroyed the procfs instance.
Alternative to: #29521
Fixes: #28157
Lennart Poettering [Tue, 31 Oct 2023 13:37:47 +0000 (14:37 +0100)]
Merge pull request #29763 from yuwata/vconsole-conf
locale,firstboot: add comments to vconsole.conf
Yu Watanabe [Tue, 31 Oct 2023 08:31:03 +0000 (17:31 +0900)]
udev: fix device name shown in the log message on failure
Prompted by #29500.
Yu Watanabe [Tue, 31 Oct 2023 08:05:51 +0000 (17:05 +0900)]
udevadm-trigger: mention --type=all in help
Follow-up for
1baeee5784f1b859d2a1446f6776efe6d7fde7b6 .
Fixes #29779.
Lennart Poettering [Tue, 31 Oct 2023 13:35:49 +0000 (14:35 +0100)]
Merge pull request #29769 from poettering/network-generator-ll
network-generator: add new mode ip=link-local
Lennart Poettering [Tue, 31 Oct 2023 13:34:47 +0000 (14:34 +0100)]
Merge pull request #29776 from jinliu/pam_kernel_keyring
New PAM module: pam_systemd_loadkey
Michal Koutný [Mon, 30 Oct 2023 18:50:20 +0000 (19:50 +0100)]
man: Add remarks about StandardInput=socket and sd_listen_fds()
It confuses users when they cannot find respective environment variables
with config that is supposes for (x)inetd activated service only.
Fix: #29670
Michal Koutný [Mon, 30 Oct 2023 17:33:51 +0000 (18:33 +0100)]
sysctl.d: Fix pid_max comment
The actual default is 2^15 and that is also 32b kernels default.
Fix the value, mention 32b and do not talk about default which may
depend on nr_cpus.
Fix: #29607
David Tardon [Mon, 30 Oct 2023 09:42:17 +0000 (10:42 +0100)]
varlink: add generic impl. of io.systemd.varlink.Ping()
David Tardon [Mon, 30 Oct 2023 09:35:45 +0000 (10:35 +0100)]
varlink: define interface io.systemd.service
Yu Watanabe [Tue, 24 Oct 2023 17:32:04 +0000 (02:32 +0900)]
dissect: reenable automatic removal before trying again
The device node may be different from we want to activate, and we may
try to activate different device in the subsequent loop. In such case,
we should enable the automatic removal for the unexpected device.
Otherwise, it will not be removed even when not necessary anymore.
Jin Liu [Tue, 31 Oct 2023 04:48:24 +0000 (12:48 +0800)]
New PAM module: pam_systemd_loadkey
This module reads password from kernel keyring and sets it as PAM authtok.
It's inspired by gdm's pam_gdm, which reads the LUKS password stored by
systemd-cryptsetup, so Gnome Keyring can be automatically unlocked if set
to the same password (when autologin is enabled so the user doesn't enter
a password in gdm).
Lennart Poettering [Tue, 31 Oct 2023 10:19:10 +0000 (11:19 +0100)]
Merge pull request #29778 from yuwata/log-tests-skipped
tests: use log_tests_skipped() more
Lennart Poettering [Mon, 30 Oct 2023 16:57:00 +0000 (17:57 +0100)]
update TODO
Lennart Poettering [Tue, 31 Oct 2023 10:01:44 +0000 (11:01 +0100)]
NEWS: mention that ip=off now means ip=off
Lennart Poettering [Mon, 30 Oct 2023 17:05:42 +0000 (18:05 +0100)]
man: document the new ip=link-local kernel cmdline option
Lennart Poettering [Mon, 30 Oct 2023 16:53:40 +0000 (17:53 +0100)]
network-generator: add support for ip=link-local
Lennart Poettering [Mon, 30 Oct 2023 16:53:58 +0000 (17:53 +0100)]
network-generator: name enum for "ip=dhcp" case same as literal string
Let's make this less confusing, and use the same string externally as
enum name internally.
Yu Watanabe [Mon, 30 Oct 2023 14:07:59 +0000 (23:07 +0900)]
locale: drop implementation detail from comment in config file
Yu Watanabe [Mon, 30 Oct 2023 11:30:12 +0000 (20:30 +0900)]
locale,firstboot: add headers to vconsole.conf
Closes #29717.
Replaces #29760.
Co-authored-by: cunshunxia <cunshunxia@tencent.com>
Yu Watanabe [Mon, 30 Oct 2023 06:04:18 +0000 (15:04 +0900)]
env-util: make write_env_file() optionally take headers
This also makes write_env_file() and write_env_file_label() optionally
take dir_fd, and drop write_env_file_at().
Preparation for later commits.
Yu Watanabe [Tue, 31 Oct 2023 08:14:20 +0000 (17:14 +0900)]
Merge pull request #29247 from naraghavan/naraghavan/dhcpv6-vendor-options
networkd: Add DHCP vendor specific sub options to dbus API
Yu Watanabe [Tue, 31 Oct 2023 05:53:10 +0000 (14:53 +0900)]
tests: use log_tests_skipped() and friend more
Yu Watanabe [Tue, 31 Oct 2023 05:46:38 +0000 (14:46 +0900)]
tests: make log_tests_skipped() and friend accept format string
Yu Watanabe [Tue, 31 Oct 2023 05:35:33 +0000 (14:35 +0900)]
tree-wide: fix typo
Ronan Pigott [Tue, 31 Oct 2023 00:24:42 +0000 (17:24 -0700)]
network: free dhcp6_hostname
Fixes: b90480c80daa ("network: introduce SendHostname/Hostname DHCPv6 options")
Yu Watanabe [Tue, 31 Oct 2023 01:59:44 +0000 (10:59 +0900)]
Merge pull request #29767 from poettering/host-to-host
automatic support for host-to-host networking that only does link-local addressing
Frantisek Sumsal [Mon, 30 Oct 2023 16:03:19 +0000 (17:03 +0100)]
test-network: copy rules from source & build trees if needed
When running with --build-dir= we need to copy over udev rules from
$BUILD_DIR/udev.d/ and $SOURCE_TREE/udev.d/ to make stuff work as
expected.
Lennart Poettering [Mon, 30 Oct 2023 16:25:18 +0000 (17:25 +0100)]
update TODO
Lennart Poettering [Mon, 30 Oct 2023 16:12:56 +0000 (17:12 +0100)]
network: add default .network file matching ID_NET_AUTO_LINK_LOCAL_ONLY=1
This is name ".network.example" for now, to match the existing
80-ethernet.network file.
I think it would make sense to actually install this by default if told
so via a meson file (and then hopefully this would happen even on
Fedora, though in a split off RPM or so). However, we aren't there yet,
hence for now, just ship the .network files as example, like the others.
Lennart Poettering [Mon, 30 Oct 2023 15:53:59 +0000 (16:53 +0100)]
hwdb,rules: mark host-to-host network devices as only requiring link local addressing
This is a generalization of this logic:
https://github.com/NetworkManager/NetworkManager/blob/main/data/90-nm-thunderbolt.rules
It applies not just to thunderbolt, but to any kind of device, even
matched by vendor/product, via hwdb.
I added two entries for Prolific PC-to-PC devices (of which I have one
lying around).
Frantisek Sumsal [Mon, 30 Oct 2023 10:44:46 +0000 (11:44 +0100)]
test: add one missing cleanup
So the test doesn't fail when run multiple times with the same image.
Raito Bezarius [Fri, 29 Sep 2023 01:51:54 +0000 (03:51 +0200)]
secure-boot: print just before cold-resetting to help diagnose hangs
When testing the secureboot enroll feature, it can be hard to distinguish without
using the QMP API of QEMU whether we are in a hang situation of the UEFI firmware.
Making it clear that we reached the `ResetSystem` can be helpful towards that need.
Mike Yuan [Sun, 29 Oct 2023 16:03:07 +0000 (00:03 +0800)]
sleep-config: allow setting empty HibernateMode= (use kernel default)
Both sleep_mode_supported and write_mode support this,
but parse_sleep_config currently prohibits this - it always
uses our default value if user specifies HibernateMode=<empty>.
Lennart Poettering [Mon, 30 Oct 2023 11:28:50 +0000 (12:28 +0100)]
Update TODO
Lennart Poettering [Mon, 30 Oct 2023 09:48:58 +0000 (10:48 +0100)]
doc: document explicitly when we require specific top-level mounts to be established
Ronan Pigott [Tue, 24 Oct 2023 20:56:22 +0000 (13:56 -0700)]
network: introduce SendHostname/Hostname DHCPv6 options
These options were previously reused by the DHCPv6 client from the
DHCPv4 client settings. Let's separate them for consistency.
Lennart Poettering [Mon, 30 Oct 2023 09:51:35 +0000 (10:51 +0100)]
update TODO
Alex Hudspith [Sat, 28 Oct 2023 14:49:06 +0000 (15:49 +0100)]
man: revise wording of cgtop -k and -P
Resolves: #29753
Luca Boccassi [Fri, 27 Oct 2023 15:33:49 +0000 (16:33 +0100)]
exec-invoke: don't double-close FDs on error
When a late error occurs in sd-executor, the cleanup-on-close of the
context structs happen, but at that time all FDs might have already
been closed via close_all_fds(), so a double-close happens. This
can be seen when DynamicUser is enabled, with a non-existing
WorkingDirectory.
Invalidate the FDs in the context structs if close_all_fds succeeds.
Daan De Meyer [Sat, 28 Oct 2023 08:37:16 +0000 (10:37 +0200)]
mkosi: Use cache and build subdirectories
Next release of mkosi will not use subdirectories under the cache
and build directory by default anymore, so let's make sure we already
start creating those ourselves.
Mike Yuan [Sat, 28 Oct 2023 09:53:54 +0000 (17:53 +0800)]
Merge pull request #29740 from YHNdnzj/sleep-round-four
sleep: make sure we clear HibernateLocation on all error paths