Yu Watanabe
407d91d872
labeler: support varlink tag
2024-08-23 16:46:16 +02:00
Lennart Poettering
a3f17a8f88
varlinkctl: output an expressive error message in case invalid method/interface names are specified
...
Inspired by #34098 → let's make it easier for users to understand and
correct the mistakes they made: let's early refuse invalid
interface/method names.
2024-08-23 23:10:58 +09:00
Yu Watanabe
5537e4417c
updatectl: fix typo and drop space in empty lines
...
Follow-ups for ec15bb71c2
(#32363 ).
2024-08-23 23:10:24 +09:00
Yu Watanabe
a4db21c856
Merge pull request #34108 from mrc0mmand/update-translation-files
...
po: update translation files
2024-08-23 23:07:57 +09:00
Frantisek Sumsal
fe82469a82
po: drop placeholders and re-add SPDX line
...
Follow-up for ecce45cd3f
.
2024-08-23 15:37:23 +02:00
Frantisek Sumsal
8516c2eeba
po: update translation files
2024-08-23 15:36:10 +02:00
Yu Watanabe
d8e298c497
Merge pull request #34102 from yuwata/udev-net_id
...
udev/net_id: trivial cleanups
2024-08-23 18:06:06 +09:00
Yu Watanabe
b9142e2ba7
udevadm/test,test-builtin: enable debugging logs by default again
...
The lines were mistakenly dropped by
aa976d8788
.
2024-08-23 17:34:14 +09:00
Yu Watanabe
02b88d6c62
udev/net_id: update log messages
...
This also downgrades the log level of a message to debug.
2024-08-23 10:21:11 +09:00
Yu Watanabe
8c6f484595
udev/net_id: move naming scheme check
...
We usually do not set r = -1 when a functionality is disabled or not
supported. Even though the error code is not used, let's set a negative
errno in such case.
No functional change, just refactoring.
Follow-up for 0a4ecc54cb
.
2024-08-23 10:20:56 +09:00
Yu Watanabe
ab61b8865b
test: use ASSERT_EQ_ID128() and ASSERT_NE_ID128()
2024-08-23 10:18:08 +09:00
Etienne Champetier
448f9f81fd
udev-builtin-net_id: ignore firmware_node/sun == 0
...
Since ID_NET_NAME_SLOT was introduced we ignore slot == 0
0035597a30/src/udev/udev-builtin-net_id.c (L139)
Qemu sets _SUN to PCI_SLOT() for all NICs, so _SUN is not unique.
https://gitlab.com/qemu-project/qemu/-/issues/2530
In my tests with libvirt I can only set 'slot="0x00"' in interface definition,
so all NICs end up with _SUN == 0, and this commit is enough to avoid the issue.
Fixes 0a4ecc54cb
2024-08-23 09:30:49 +09:00
Yu Watanabe
b6b9ddb2b5
Merge pull request #34087 from DaanDeMeyer/nspawn-init-revert
...
Revert "nspawn: Allow specifying custom init program"
2024-08-23 07:42:16 +09:00
Yu Watanabe
6b0561d86a
Merge pull request #34092 from poettering/ambient-caps-fixup
...
minor tweaks to the recent ambient caps rework
2024-08-23 06:41:45 +09:00
Yu Watanabe
a3b571b2cc
Merge pull request #34096 from YHNdnzj/logind-followup-256
...
logind: two follow-ups
2024-08-23 05:38:18 +09:00
Lennart Poettering
167808c6fc
boot: use MAX() where appropriate
2024-08-23 05:26:35 +09:00
Yu Watanabe
ce4c4f4c32
Merge pull request #34097 from YHNdnzj/journal-browse-prepare
...
shared/logs-show: introduce journal_browse_prepare()
2024-08-23 05:25:19 +09:00
Daan De Meyer
615226abd8
Revert "nspawn: Allow specifying custom init program"
...
I don't actually need this anymore since we're going with a
unit based approach for the containers stuff internally so
let's just revert it.
Fixes #34085
This reverts commit ce2291730d
.
2024-08-22 22:20:42 +02:00
Daan De Meyer
6a30e66df5
Revert "nspawn: fix settings leak for init parameter"
...
This reverts commit 1e2aa88bb2
.
2024-08-22 22:20:36 +02:00
Mike Yuan
fad3feec12
shared/logs-show: introduce journal_browse_prepare()
...
which combines sigbus_install() and bumping fd limit.
2024-08-22 20:33:22 +02:00
Mike Yuan
d71f138156
basic/sigbus: use FOREACH_ELEMENT where appropriate, assert >= 0 for success
2024-08-22 20:14:25 +02:00
Mike Yuan
26f78eff69
logind-session: downgrade user@.service dep to Wants=
...
This partially reverts 52bcc872b5
.
We explicitly support running without user manager,
hence only user-runtime-dir@.service should be
required.
Fixes #33405
2024-08-22 20:07:47 +02:00
Mike Yuan
1aeea8a60a
logind: DesignatedMaintenanceTime is added in v257 and constant
...
Follow-up for 0e10c3d872
Addresses https://github.com/systemd/systemd/pull/25049#discussion_r1647513862
2024-08-22 20:06:31 +02:00
Lennart Poettering
103018eceb
main: make sure the ambient caps set is valid in case we fail to read it
...
We ignore failures when reading this after all. Hence we better leave
the memory properly initialized.
2024-08-22 18:36:59 +02:00
Lennart Poettering
88a26e1049
main: generate warning when we cannot reset caps
...
Follow-up for: #32937
2024-08-22 18:21:56 +02:00
Lennart Poettering
b004393d70
core: rename original_ambient_set → saved_ambient_set
...
We call similar other fields in main.c (notably: rlimit stuff, env vars) "saved",
rather than "original". Hence stick to that kind of naming here too.
Follow-up for: #32937
2024-08-22 18:21:56 +02:00
Daan De Meyer
f134a79ff8
mkosi: Update to latest
...
Should fix the Fedora Rawhide CI failure.
2024-08-22 18:17:07 +02:00
Lennart Poettering
d1b04f47e3
man: document .membership files that nss-systemd processes
...
This has been a glaring omission the docs: when people create
.user/.group/.user-privileged/.group-privileged drop-in files, they
should also create matching .membership files.
2024-08-22 15:16:00 +02:00
Yu Watanabe
80c9c81779
Merge pull request #34051 from rpigott/resolved-demote-fallback
...
resolved: demote only the fallback servers in the global scope
2024-08-22 20:21:33 +09:00
Daan De Meyer
242bdb6e80
Merge pull request #34033 from DaanDeMeyer/mkosi-cage
...
mkosi: Update to latest
2024-08-22 12:57:07 +02:00
Daan De Meyer
2dc99fdadb
mkosi: Update to latest
2024-08-22 11:39:02 +02:00
Lennart Poettering
a7a62c18cb
Merge pull request #34076 from yuwata/polkit-message
...
polkit: add missing period in polkit messages
2024-08-22 10:56:53 +02:00
Daan De Meyer
bc07b026f0
mkosi: Improve formatting
2024-08-22 09:50:15 +02:00
Yu Watanabe
04de947eea
Merge pull request #34079 from AdrianVovk/sysupdate-fixups
...
systemd-sysupdated follow-ups
2024-08-22 13:59:55 +09:00
Adrian Vovk
d470a6c227
sysupdate: man: Cleanup sections about flags
2024-08-21 22:40:18 -04:00
Adrian Vovk
31fc2fb039
sysupdate: Simplify sysupdate_run_simple callsite
...
Allows the caller to optionally pass in a target, instead of making
everyone call target_get_argument at the call site.
2024-08-21 22:33:18 -04:00
Adrian Vovk
b1bcaa0eb1
sysupdated: Verify inputs more rigorously
...
Also return better errors
2024-08-21 22:33:17 -04:00
Adrian Vovk
e0081f18a0
sysupdated: Fixup redundant constant name
...
SD_ stands for systemd, so SD_SYSTEMD_* is SYSTEMD_SYSTEMD_*
2024-08-21 22:33:16 -04:00
Adrian Vovk
5256326261
sysupdated: Fixup minor formatting issues
2024-08-21 22:33:14 -04:00
Yu Watanabe
595bd7083d
labeler: add more rules
2024-08-22 01:38:51 +02:00
Yu Watanabe
00ed8c6dfa
Merge pull request #34072 from yuwata/networkd-routing-policy-rule-follow-up
...
network/routing-policy-rule: follow up for recent change
2024-08-22 07:17:10 +09:00
Yu Watanabe
20a5465640
po: update Japanese translations
2024-08-22 07:10:47 +09:00
Yu Watanabe
cd67b61ff1
polkit: add missing period in messages
2024-08-22 07:08:05 +09:00
Yu Watanabe
e1c9c44e95
po: update Japanese translations
2024-08-22 05:03:24 +09:00
Adrian Vovk
38d7b8d3ff
Merge pull request #32363 from CodethinkLabs/sysupdate-dbus
...
sysupdate: Implement dbus service
2024-08-21 15:35:34 -04:00
Yu Watanabe
2ddf5bdece
Merge pull request #34053 from YHNdnzj/follow-ups
...
Two follow-ups for recent PRs
2024-08-22 04:34:11 +09:00
Alyssa Ross
0452779b00
bootctl: don't load etc/machine-info from cwd
...
arg_root defaults to null, so if --root isn't given, this would try reading
etc/machine-info from the current working directory, which is likely to fail.
Fixes: 77db9ef2ab
("boot: Make sure we take --root into account everywhere.")
2024-08-22 04:30:50 +09:00
A. Wilcox
b9d326c568
man: Ensure notify example includes <string.h>
...
This ensures that memcpy and strerror are defined. This is especially
important with GCC 14 as implicit function declarations are now an error.
2024-08-22 04:26:32 +09:00
Yu Watanabe
26823f980d
hwdb: rename hwdb_bin_paths -> HWDB_BIN_PATHS
...
We usually use upper letters for constant definitions.
2024-08-22 04:26:07 +09:00
Ivan Shapovalov
b73c86c695
core/exec-invoke: document calling setpriority() after sched_setattr()
...
Fixes: 711a157738
("core/exec-invoke: call setpriority() after sched_setattr()")
2024-08-22 04:25:29 +09:00