1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-09 12:58:26 +03:00

73215 Commits

Author SHA1 Message Date
Mike Yuan
00dc018fa6
core/load-fragment: add one missing assertion 2024-04-27 14:28:53 +08:00
Luca Boccassi
1ac79a1937 units: add Before=shutdown.target to systemd-networkd-persistent-storage.service
It's ordered with networkd, but just in case. Lintian complains:

W: systemd: systemd-service-file-shutdown-problems [usr/lib/systemd/system/systemd-networkd-persistent-storage.service]

Follow-up for 91676b645886382328c261efd5e83490d16e75cf
2024-04-26 22:16:33 +02:00
Luca Boccassi
85c34a0842
Merge pull request #32510 from arthurzam/bash-v256
shell-completions: add bash completion for run0 & systemd-vpick
2024-04-26 22:16:09 +02:00
Daan De Meyer
4c36bbdfd7
Merge pull request #32439 from CodethinkLabs/simple-mkosi-integration-tests
Enable some simple mkosi integration tests
2024-04-26 20:48:00 +02:00
Luca Boccassi
89d53001da
Merge pull request #32504 from bluca/test_failure
test: do not fail if mknod() fails in a build system
2024-04-26 19:55:24 +02:00
Luca Boccassi
d1e9b72e65
Merge pull request #32505 from mrc0mmand/fix-build-without-importd
import: skip the whole subdir when building with -Dimportd=false
2024-04-26 19:35:35 +02:00
Richard Maw
66fb77a8bf test/meson.build: Add some runnable integration tests 2024-04-26 17:25:55 +01:00
Richard Maw
337d246faf TEST-81-GENERATORS: Clean /proc/cmdline of unusual mounts 2024-04-26 17:25:55 +01:00
Richard Maw
90eee2cf0f TEST-36-NUMAPOLICY: Bump PID1 strace time to 3 seconds
CI can be slow and only waiting 1 second makes it flaky there.
2024-04-26 17:25:55 +01:00
Richard Maw
4114b723f9 TEST-26-SYSTEMCTL: Create /etc/init.d if needed
OpenSUSE doesn't disable sysv compat but also may not have anything in
/etc/init.d.
2024-04-26 17:25:55 +01:00
Richard Maw
dcb17e3295 TEST-25-IMPORT: Skip if importctl not installed
machinectl import-* was split out into importctl
which is a separately configurable component to machinectl
and might not always be available.
2024-04-26 17:25:34 +01:00
Richard Maw
60d064d3fd TEST-19-CGROUP: Skip on opensuse
OpenSUSE images seem to be unhappy with either how they are built
or what they are being asked to do.

The listed device-mapper failure is just one of the strange errors,
I have also seen it fail to propagate cgroup properties into new cgroups
that were previously guaranteed to exist.
2024-04-26 17:23:53 +01:00
Richard Maw
8ccba68cb5 TEST-17-UDEV: Skip credentials test if service not loaded
It does not appear to exist on OpenSUSE yet.
2024-04-26 17:22:10 +01:00
Luca Boccassi
e86e9ebf60 test: modernize test-dirent-util
Follow-up for 6a57d86bf9d7f8d6f5d339f57665dfb2e1d191c5
2024-04-26 17:20:04 +01:00
Luca Boccassi
7d967aacce test: do not fail if mknod() fails in a build system
mknod fails in a Salsa container when building Debian packages, skip the check

Follow-up for 6a57d86bf9d7f8d6f5d339f57665dfb2e1d191c5
2024-04-26 17:20:04 +01:00
Arthur Zamarin
e833f57c42
shell-completion: add bash-completion for systemd-vpick command
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-04-26 18:45:13 +03:00
Arthur Zamarin
9e0f94ace1
shell-completion: add bash-completion for run0 command
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-04-26 18:45:13 +03:00
Arthur Zamarin
2055011a19
shell-completions: install new completions which were forgotten
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-04-26 18:45:13 +03:00
Frantisek Sumsal
6a68270c97 import: skip the whole subdir when building with -Dimportd=false
Resolves: #32501
2024-04-26 17:14:07 +02:00
Frantisek Sumsal
fea14ca15e mountfsd: drop explicit dependencies for systemd-mountwork
As the executables are automagically linked against libshared.
2024-04-26 17:14:07 +02:00
Frantisek Sumsal
516652bbfd test: mountnfsd -> mountfsd
I keep accidentally writing mountnfsd instead of mountfsd, and a couple
of instances managed to get into the repo.
2024-04-26 17:14:07 +02:00
Richard Maw
6e40124efb mkosi: use generic ubuntu kernel for udev and nvme tests
TEST-17-UDEV expects to find scsi_debug and TEST-84-STORAGETM expects to
find nvmet-tcp.

This isn't ideal as it adds firmware, microcode and other drivers to the
initramfs, but there's no linux-modules-extra virtual package
to just include the extra modules.
2024-04-26 15:55:42 +01:00
Richard Maw
9750972455 mkosi: Use default opensuse kernel for tests
The kvmsmall kernel lacks important modules like the dummy network
device which TEST-17-UDEV requires very early on.
2024-04-26 15:55:42 +01:00
Richard Maw
ab5f60cb23 test: Disable network by default in mkosi tests 2024-04-26 15:55:42 +01:00
Luca Boccassi
cb091faeca
Merge pull request #32499 from mrc0mmand/docs-fix-method-name
docs: drop invalid links & fix method name
2024-04-26 16:47:25 +02:00
Luca Boccassi
7f7d32b642
Merge pull request #32498 from DaanDeMeyer/mkosi
mkosi: Set CleanPackageMetadata=yes for minimal-base
2024-04-26 16:44:19 +02:00
Daan De Meyer
13b67b61b3 sd-daemon: Replace SO_LINGER with shutdown() + recv()
Let's shutdown the write end and wait for EOF from the other side
before continuing to make sure that the receiver has received all
data we sent on the socket.
2024-04-26 15:11:38 +02:00
Frantisek Sumsal
7248912d10 docs: PrepareForSuspend() is not a valid signal name 2024-04-26 14:57:22 +02:00
Frantisek Sumsal
3f1c304803 docs: drop invalid links 2024-04-26 14:57:22 +02:00
Daan De Meyer
dcbf0be1b7 TEST-50-DISSECT: Don't log image contents to console
These can contain quite a few files, so let's not write every single
file and directory straight to the console to speed things up.
2024-04-26 13:51:49 +02:00
Daan De Meyer
e392c868d2 mkosi: Set CleanPackageMetadata=yes for minimal-base
We don't want to install any more packages in derived images so let's
not store repository metadata in the image to make it smaller.
2024-04-26 13:46:45 +02:00
Daan De Meyer
b6df6bef31 mkosi: Update to latest 2024-04-26 13:36:40 +02:00
Luca Boccassi
75e4b277c7 NEWS: add back deprecation notices that have not been implemented yet 2024-04-26 10:43:46 +01:00
Luca Boccassi
1900b43a8f
Merge pull request #32494 from arthurzam/bash-importctl
shell completion: add bash completion for importctl & fix machinectl
2024-04-26 11:33:37 +02:00
Arthur Zamarin
3eb329bfb5
shell completion: fix machinectl import-{tar,raw}
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-04-26 12:10:30 +03:00
Arthur Zamarin
35dcdca0ed
shell completion: add bash completion for importctl
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-04-26 12:07:53 +03:00
김인수
c291038141 po: Translated using Weblate (Korean)
Currently translated at 100.0% (233 of 233 strings)

Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main
2024-04-26 11:03:49 +02:00
Daan De Meyer
469fdfbc97
Merge pull request #32490 from YHNdnzj/namespace-cleanup
core: trivial cleanups for setup_namespace
2024-04-26 08:29:32 +02:00
Mike Yuan
01a0896f3c
core/exec-invoke: use FOREACH_ARRAY more, drop unnecessary initialization
for some fields
2024-04-26 10:24:39 +08:00
Mike Yuan
e2663cbd39
core/namespace: check error first, add missing assertion 2024-04-26 10:24:38 +08:00
Mike Yuan
a0a09da45e
mount-setup: fix typo 2024-04-26 10:24:38 +08:00
Luca Boccassi
ae68d27a7e NEWS: finalize for v256~rc1 v256-rc1 2024-04-26 01:00:07 +01:00
Luca Boccassi
051f569c79
Merge pull request #32488 from bluca/chores
Chores for 256~rc1
2024-04-26 01:59:36 +02:00
Luca Boccassi
ffd8149bc0 sd-radv: remove unnecessary check
in6_addr_prefix_intersect() returns a bool, so the check < 0 is
dead code. Flagged by codeql.

Follow-up for c7c56724a5d7cc2b6b0d9d5f95b1055811014843
2024-04-26 07:03:27 +09:00
Luca Boccassi
d1b0407065 meson: update version numbers for 256~rc1 2024-04-25 22:26:08 +01:00
Luca Boccassi
3a0e60dbca Update hwdb 2024-04-25 22:23:52 +01:00
Luca Boccassi
361c721de5 NEWS: update contributors list 2024-04-25 22:21:51 +01:00
Lennart Poettering
b24c384b5d varlink: make errors returned by verify_unix_socket() systematic
Previously, if we encountered a non-socket fd we'd return ENOTSOCK the
first time, but the subsequent times we'd return ENOMEDIUM, due to
caching. Let's make sure we return the same errors all the the time.
2024-04-25 22:17:30 +02:00
Daan De Meyer
536b5c0748
Merge pull request #32445 from DaanDeMeyer/mkosi-images
mkosi: Build minimal images and enable related integration tests
2024-04-25 21:59:23 +02:00
Daan De Meyer
74e07b33b0 sd-daemon: Set SO_LINGER on AF_VSOCK notify socket fds
We're still seeing problems in mkosi CI where we lose notify messages
sent over vsock from virtual machines because the virtual machine shuts
down before the socket buffers are flushed.

Let's try setting SO_LINGER on vsock sockets so that the kernel waits
until the buffers are flushed when we close the file descriptor.

To make sure it works, let's get rid of our previous workaround that
sends EXIT_STATUS earlier to reduce the chance of it not arriving.
This way, if it doesn't work, we'll notice it immediately due to CI
failures.
2024-04-25 21:29:34 +02:00