Yu Watanabe
05e64ea45d
home: fix ownership of files copied from skelton directory
...
Fixes #32808 .
2024-05-15 06:38:41 +09:00
Weblate
e2b9f27657
po: Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/
Translation: systemd/main
2024-05-15 05:09:32 +09:00
Luca Boccassi
c7bee5b5d2
Merge pull request #32816 from bluca/chores
...
Chores for RC2
2024-05-14 22:07:40 +02:00
Daan De Meyer
4222f81597
test: Enable TEST-82-SOFTREBOOT on mkosi
2024-05-14 21:41:59 +02:00
Zbigniew Jędrzejewski-Szmek
f222ef107d
mkosi: Restore job for F40
...
This partially reverts ecf8468dd4abbf006cb607d023018edee51c851d.
dist-git was made compatible again with F40.
2024-05-14 21:23:46 +02:00
Daan De Meyer
2476c21272
Merge pull request #32812 from DaanDeMeyer/test
...
test: Only add tpm2.target dependency to TEST-70-TPM2.service
2024-05-14 20:50:38 +02:00
Zbigniew Jędrzejewski-Szmek
0263816f88
sysusers: simplify meson config
...
There were two parts, for templated and non-templated files, and
they were more different than they should be.
2024-05-14 20:46:24 +02:00
Daan De Meyer
ecf8468dd4
mkosi: Update fedora to latest
...
We drop the Fedora 40 job as the latest rawhide spec introduced
dependencies that are not available in Fedora 40.
2024-05-14 20:44:39 +02:00
Zbigniew Jędrzejewski-Szmek
1743b8bad1
core/exec-credential: downgrade warning about missing cred to debug
...
Follow-up for 6b34871f5d3b0729ef125d79dfe2d493f3b52b40.
The general idea is that the list of credentials to load can and will specify
credentials which actually aren't provided, so a warning is too much. Let's
downgrade this to "info". If it turns out to be too noisy, we can downgrade
further in the future.
2024-05-14 20:13:57 +02:00
Luca Boccassi
93df5217b9
tree-wide: 'allows to' -> 'allows one to'
...
As flagged by Lintian
2024-05-14 18:33:27 +02:00
Daan De Meyer
aaebebb7bd
TEST-64-UDEV-STORAGE: Fix drive ID
2024-05-14 18:23:59 +02:00
Luca Boccassi
7167dd5928
Update translation files
...
ninja -C build systemd-pot
ninja -C build systemd-update-po
2024-05-14 17:12:41 +01:00
Luca Boccassi
efcbf3e670
Update syscalls table
...
ninja -C build update-syscall-tables update-syscall-header
2024-05-14 17:01:08 +01:00
Luca Boccassi
753fb03df6
Update hwdb
...
ninja -C build update-hwdb
2024-05-14 17:00:29 +01:00
Luca Boccassi
ca8fc4c2e4
NEWS: update contributors list
2024-05-14 16:58:11 +01:00
Timo Rothenpieler
00f1714311
cgroup-util: allow cg_read_pid() to skip unmapped (zero) pids
2024-05-14 16:12:20 +02:00
Daan De Meyer
1d9b8f3476
test: Only add tpm2.target dependency to TEST-70-TPM2.service
...
Let's not add the dependency unless required.
2024-05-14 15:36:49 +02:00
Radoslav Kolev
19614a08d1
libsystemd-network: skip dhcp server test in case of EAFNOSUPPORT
...
We want to eanble running tests as part of the build, but
our builds run in VMs with networking disabled.
2024-05-14 15:00:29 +02:00
Mike Yuan
2c41722995
Merge pull request #32804 from YHNdnzj/bootspec-modernization
...
shared/bootspec: some fixes/modernizations
2024-05-14 20:55:52 +08:00
Daan De Meyer
7273d16022
Merge pull request #32766 from DaanDeMeyer/test
...
Various test improvements
2024-05-14 14:45:35 +02:00
Daan De Meyer
5692f87160
test: Run TEST-64-UDEV-STORAGE with mkosi
...
We add a configure script for each subtest to add the required
qemu arguments.
Co-authored-by: Richard Maw <richard.maw@codethink.co.uk>
2024-05-14 12:43:28 +02:00
Daan De Meyer
8e8a1b832d
mkosi: Mask mdmonitor and isc-dhcp-server services
...
They always fail and do not ship with proper units so we can't
disable them with presets so we mask them instead.
2024-05-14 12:43:28 +02:00
Daan De Meyer
f2c6afa6c0
TEST-64-UDEV-STORAGE: Skip LVM subtests on Ubuntu
...
These fail for unknown reasons on Ubuntu. Until someone from Ubuntu
who cares can figure out why, let's skip these tests on Ubuntu.
2024-05-14 12:43:28 +02:00
Daan De Meyer
2cf6f55b72
TEST-64-UDEV-STORAGE: Bump timeout for testcase_simultaneous_events_1
...
The timeout is reliably hit when running tests in mkosi.
2024-05-14 12:43:28 +02:00
Daan De Meyer
6c2d47d6d3
TEST-64-UDEV-STORAGE: Skip btrfs_basic if btrfs module is not available
2024-05-14 12:43:28 +02:00
Daan De Meyer
d760e2a8c3
TEST-64-UDEV-STORAGE: Check for tgt and tgtd services
...
On Debian/Ubuntu, the unit is named tgt.service instead of tgtd.service,
so let's make sure we take that into account.
On CentOS, tgtd.service is not available, so let's skip the test if we
can't find the service.
2024-05-14 12:43:28 +02:00
Daan De Meyer
3e550801e7
TEST-64-UDEV-STORAGE: Add missing udevadm settle
...
Otherwise we try to do the check before the udev queue is empty which
will make it fail.
2024-05-14 12:43:28 +02:00
Daan De Meyer
b37ed039f0
TEST-64-UDEV-STORAGE: Use virtio-scsi-pci instead of ahci
...
The debian cloud kernel does not support ahci, so let's use
virtio-scsi-pci everywhere instead.
2024-05-14 12:43:28 +02:00
Daan De Meyer
f41b6394d5
TEST-64-UDEV-STORAGE: Use ID based paths
2024-05-14 12:43:28 +02:00
Daan De Meyer
eb4c962aa4
test: Ignore configure scripts in minimal images
...
These are always aimed at the system image so ignore any specified
configure scripts in the minimal images.
2024-05-14 12:43:28 +02:00
Daan De Meyer
31c797e03d
test: Add cmdline field to configure extra kernel command line args
...
Configuring extra cmdline arguments as a list is much nicer than
having to pass the --kernel-command-line-extra argument manually.
2024-05-14 12:43:28 +02:00
Daan De Meyer
348f5017a4
test: Generate basic testsuite services with meson
...
Most of these are identical, let's just generate from a meson
template.
2024-05-14 12:43:28 +02:00
Daan De Meyer
20e94309a7
TEST-46-HOMED: Simplify service unit
...
Let's remove the unneeded NotifyAccess=all and start the socket
and service in the test itself instead of via the service unit. This
makes the test unit identical to the other test units which will allow
us to autogenerate it in a later commit.
2024-05-14 12:43:28 +02:00
Daan De Meyer
f6af2976aa
TEST-06-SELINUX: Simplify auto-relabeling
...
Let's ship a .autorelabel file so we can get rid of
firstboot-autorelabel.service.
2024-05-14 12:43:28 +02:00
Daan De Meyer
c87e243fef
test: Rename mkosi_args to mkosi-args
2024-05-14 12:43:28 +02:00
Daan De Meyer
4ce12c3933
test: Disable tests via 'enabled' field
...
This allows doing other stuff with the test without actually defining
the test, such as generating a service unit automatically.
2024-05-14 12:43:28 +02:00
Daan De Meyer
f483e08313
test: Simplify argument/variable names
2024-05-14 12:43:28 +02:00
Daan De Meyer
7a321b5a21
test: Rename testsuite-XX units to match test name
...
Having these named differently than the test itself mostly creates
unecessary confusion and makes writing logic against the tests harder
so let's rename the testsuite-xx units and scripts to just use the
test name itself.
2024-05-14 12:43:28 +02:00
Daan De Meyer
5748f13e54
test: Rework integration test definitions
...
Let's make this behave more like all the rest of the meson stuff.
This also is the first step to making it a bit more flexible so we
can define integration tests in different ways as will be seen in
the next commits.
2024-05-14 12:43:28 +02:00
Daan De Meyer
cbb8c52a0f
TEST-01-BASIC: Drop logic to run test without install-tests=true
...
We don't support this for any other tests either so let's drop the
support for running TEST-01-BASIC without installing as well to make
the upcoming commit easier to implement.
2024-05-14 12:43:28 +02:00
Daan De Meyer
23d79a84a4
mkosi: Update to latest
2024-05-14 12:43:28 +02:00
Daan De Meyer
3c0a1b1e70
core: Imply DefaultDependencies=no for credential mounts
...
Currently, on soft-reboot, /run/credentials/@system is unmounted
because it has DefaultDependencies=yes and as such will have
Conflicts=umount.target and Before=umount.target. Let's make sure
credential mounts survive soft-reboot by implying DefaultDependencies=no
for credential mounts.
2024-05-14 12:42:45 +02:00
Mike Yuan
97dfed142d
shared/bootspec: use FOREACH_ARRAY more
2024-05-14 18:19:19 +08:00
Mike Yuan
4ea554e681
shared/bootspec: use isempty where appropriate
2024-05-14 18:19:19 +08:00
Mike Yuan
94e9ae6f53
shared/bootspec: use path_make_absolute where appropriate
2024-05-14 18:19:19 +08:00
Mike Yuan
73a8d8b0ca
shared/bootspec: inline iterator var
...
Also, do not bump 'line' until the end of the loop.
Otherwise, log_syntax() below logs about the wrong
line number.
2024-05-14 18:18:48 +08:00
Mike Yuan
19cb99e74a
shared/bootspec: add missing assertions
2024-05-14 18:18:47 +08:00
Radoslav Kolev
381c3b64d0
sd-event: increase test-event timeout to 120s
...
The test-event test seems to be taking quite a bit more time than
the other 'simple tests', which usually complete in < 1s. In case
of a slower or loaded machine the default 30s timeout is not enough.
2024-05-14 11:34:22 +02:00
Yu Watanabe
6fe998037a
man: fix typo
...
Follow-up for 7df0297ac5aa784209d4c719c87fdd707a9f34cf.
2024-05-14 18:12:30 +09:00
Yu Watanabe
171f8d7ba7
dlfcn-util: fix typo
...
Follow-up for 2f6bd11c1a0147f6bd24bce3ed00c3d91c0884e6.
2024-05-14 18:10:46 +09:00