Commit graph

72742 commits

Author SHA1 Message Date
Frantisek Sumsal 87c22d4377 Revert "docs: don't suffix page permalink with a slash"
This breaks existing links with a trailing slash, so it's a no-go.

This reverts commit d1a7e030c5.
2024-04-17 20:53:49 +02:00
Lennart Poettering c6d817830f
Merge pull request #32315 from poettering/hwdb-256
hwdb/autosuspend/NEWS update for 256-rc1
2024-04-17 19:18:44 +02:00
Zbigniew Jędrzejewski-Szmek 9f74901a1e Merge pull request #31648 from neighbourhoodie/review-content
I did the merge manually to resolve a trivial conflict.
2024-04-17 17:41:07 +02:00
Lennart Poettering 7e16650d83
Merge pull request #32143 from yuwata/magic
basic/linux: copy magic.h from kernel to our code
2024-04-17 17:03:48 +02:00
Lennart Poettering 07341fda48 NEWS: prepare -rc1 2024-04-17 16:23:51 +02:00
Lennart Poettering 03eb843b40 autosuspend: update for v256 2024-04-17 16:23:51 +02:00
Lennart Poettering 3e54d1b633 hwdb: update for v256 2024-04-17 16:23:51 +02:00
Lennart Poettering c3d1dbfcdf
Merge pull request #32311 from YHNdnzj/write-ellipsis
Some minor cleanup for string-util (ellipsis)
2024-04-17 16:20:51 +02:00
Mike Yuan 89ca92db39
NEWS: udev and networkd pick up more things from creds 2024-04-17 22:05:37 +08:00
Antonio Alvarez Feijoo c5d6754725 journal-gatewayd: remove duplicate call to startswith() 2024-04-17 21:34:08 +08:00
dependabot[bot] 224e0a8a90 build(deps): bump pkg/debian from e477254 to 30c77a7
Bumps pkg/debian from `e477254` to `30c77a7`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 12:25:23 +02:00
Mike Yuan ed67739ad5
core/show-status: use strlen where appropriate
We don't use sizeof() outside of array definitions
these days. The compiler should be capable of
optimizing this out.
2024-04-17 17:04:24 +08:00
Mike Yuan c498b2f7ee
string-util: use mempcpy where appropriate 2024-04-17 17:04:23 +08:00
Yu Watanabe d723363a86
string-util: use special_glyph() at one more place
No functional change, just refactoring.
2024-04-17 17:03:49 +08:00
Yu Watanabe 54a4ffc077 fuzz-ndisc-rs: also test packets with sd-radv
Addresses https://github.com/systemd/systemd/pull/32267#discussion_r1566715787.

Suggested-by: Evgeny Vereshchagin <evvers@ya.ru>
2024-04-17 11:12:42 +03:00
Yu Watanabe 88382e8dab test: fix typo
Follow-up for 236634c82c.
2024-04-17 13:29:39 +09:00
Yu Watanabe e27f2ad6be
Merge pull request #32300 from mrc0mmand/assorted-tweaks
test: split TEST-50-DISSECT into smaller parts
2024-04-17 11:52:30 +09:00
Yu Watanabe 2153347506
Merge pull request #32303 from CodethinkLabs/push_down_disk_partitioning
test-64-udev-storage: Push disk partitioning into the testsuite itself
2024-04-17 11:49:23 +09:00
Bryan Jacobs 12cf745cce cryptenroll: Use CTAP2.1 credProtect extension
When enrolling a new FIDO2 token with a client PIN, this tells the authenticator to require the PIN on all uses.

It also collects a PIN before attempting to create a credential.

Works around #31443 in most (not all) scenarios.
2024-04-17 11:46:22 +09:00
Sam Leonard b6183109cb
test-64-udev-storage: partition disk inside testcase - testcase_multipath_basic_failover 2024-04-16 17:02:31 +01:00
Sam Leonard 211062e3b5
test-64-udev-storage: partition disk inside testcase - testcase_virtio_scsi_identically_named_partitions 2024-04-16 16:18:55 +01:00
Sam Leonard 8d82e39046
test-64-udev-storage: partition disk inside testcase - testcase_long_sysfs_path 2024-04-16 16:18:36 +01:00
Daan De Meyer d398a2e004
Merge pull request #32302 from DaanDeMeyer/mkosi
Various mkosi improvements
2024-04-16 16:59:41 +02:00
Lennart Poettering 4b83f5b376
Merge pull request #32236 from poettering/journalctl-list-namespace-followup
journalctl: --list-namespaces followup
2024-04-16 15:45:06 +02:00
Daan De Meyer 4980ae0fbc mkosi: Add support for building debug packages
This allows building debug packages by setting WITH_DEBUG=1. This
slows down the build a lot so it's opt in. We don't yet install
these but can do so in a future commit.
2024-04-16 15:25:37 +02:00
Daan De Meyer f1884281a0 mkosi: Add --noclean when running rpmbuild
The entire build environment is ephemeral anyway so everything is
cleaned regardless. By specifying --noclean, we make debugging
easier as the rpm build root can be inspected when using --debug-shell.
2024-04-16 15:25:37 +02:00
Daan De Meyer 2400b3a590 mkosi: Install which in image
gdb-headless in Fedora is missing a dependency on which:
https://bugzilla.redhat.com/show_bug.cgi?id=2275274

This happens all the time so let's make sure which is always installed
in the image.
2024-04-16 15:25:37 +02:00
Daan De Meyer 9d98617c1a Update debugging with vscode section
- We have ssh-generator now, so need for mkosi's Ssh= option anymore.
- By enabling RuntimeBuildSources= by default, we don't need the gdb
  config file in the image anymore, since the build and source
  directories will be mounted at the expected locations.
2024-04-16 15:25:34 +02:00
Frantisek Sumsal 236634c82c test: rework systemd-sysext test
Let's rework the test a bit, namely:
  - condense the code a bit
  - drop unnecessary braces around variables
  - drop unnecessary explanations around `touch` calls
  - drop/rename functions to make the code more self-explanatory
  - simplify cleanup a bit
  - create R/O bind mounts directly (supported since util-linux 2.27)
2024-04-16 14:25:57 +02:00
Frantisek Sumsal 5f42fae2f1 test: simplify unit check 2024-04-16 14:25:57 +02:00
Frantisek Sumsal 5d259f1236 test: split some overly long lines
Let's get the line count back up again by splitting some overly long
lines in hopes to make the code slightly more readable.
2024-04-16 14:25:57 +02:00
Frantisek Sumsal ccb2671539 test: split TEST-50-DISSECT into smaller parts
As the current version has almost 2k lines.
2024-04-16 14:25:57 +02:00
Lennart Poettering 2807a8f93c journalctl: tighten rules on parsing namespace journal dir suffixes
The dot must follow the machine ID immediately, let's check for that.
Also, I think it's generally better to parse the machine ID and then
comparing it, instead of comparing the string representation. That's
more in line how we usually do it, as we parse 128bit IDs generally
case-insensitively.
2024-04-16 12:08:23 +02:00
Lennart Poettering e1005cae75 journalctl: show human readable text if no namespace is found
The common case will be that no namespaces are defined, hence by default
we'd just output "NAMESPACE" and exit, which is very confusing.

Generate a nice message instead, how many of our tools do it. Suppress
it on --quiet however.
2024-04-16 12:08:23 +02:00
Lennart Poettering edd2b33659 journalctl: add missing --help line for --list-namespaces
Follow-up for: #32236 68f66a1713
2024-04-16 12:00:03 +02:00
Mike Yuan fecea05e15 shared/vpick: also align function params in header
Follow-up for 6d8690ecd3
2024-04-16 10:46:50 +02:00
Luca Boccassi 3721f9620c
Merge pull request #32289 from bluca/counter
soft-reboot counter follow-ups
2024-04-16 10:44:25 +02:00
Yu Watanabe 78d5bad2f5
Merge pull request #32294 from yuwata/network-generator-creds
network-generator: also load drop-ins for networkd.conf from credentials
2024-04-16 16:42:59 +09:00
Yu Watanabe 30d10a08be
Merge pull request #32297 from yuwata/networkctl-cat-without-args
networkctl: allow to call 'networkctl cat' without arguments
2024-04-16 16:42:46 +09:00
Mike Yuan 36c0109be2
NEWS: a few fixes, add systemd-cat --namespace= 2024-04-16 14:25:06 +08:00
Yu Watanabe e188243d1f network: fix use of wrong flag
Fixes a bug introduced by 86a66e9b95 (v255).
2024-04-16 14:17:43 +09:00
Yu Watanabe 9c202ba2e2 test: add test case for 'networkctl cat' without arguments 2024-04-16 13:31:14 +09:00
Yu Watanabe 78281bd53a networkctl: allow to call 'networkctl cat' without arguments
Then, show networkd.conf and its drop-ins.
2024-04-16 13:31:14 +09:00
Yu Watanabe 38b4eb228a man: add missing drop-in directory 2024-04-16 13:00:49 +09:00
Yu Watanabe 9a4a8fbe48 test: add test case for network.conf.* credential 2024-04-16 12:45:08 +09:00
Yu Watanabe e12e16e9f7 network-generator: also copy drop-ins for networkd.conf from credential
Follow-up for 1a30285590.
2024-04-16 12:45:08 +09:00
Yu Watanabe 41a4657615 NEWS: fix typo 2024-04-16 12:21:36 +09:00
Yu Watanabe 11fc03dfff
Merge pull request #32103 from yuwata/udev-load-credentials
udev: load udev rules from credentials
2024-04-16 11:45:22 +09:00
Yu Watanabe 0b7b75eea7
Merge pull request #32267 from yuwata/sd-ndisc-router-solicit
sd-radv: introduce sd_ndisc_router_solicit and use it
2024-04-16 11:18:07 +09:00
Yu Watanabe a3e4edd1af test: add test for systemd-udev-load-credentials.service 2024-04-16 10:35:13 +09:00