Yu Watanabe
172cbcdc8b
tree-wide: fix typo
2022-06-15 14:50:34 +09:00
Yu Watanabe
eed6ee82df
Merge pull request #23733 from sshedi/cid-1469711
...
homework: initialize we_detached
2022-06-15 12:03:24 +09:00
Yu Watanabe
4589c1d734
Merge pull request #23709 from yuwata/test-hostname-locale
...
test: import hostname and locale tests from debian/ubuntu test suite
2022-06-15 12:00:22 +09:00
adrian5
b105d41304
man: Add some punctuation; remove double spaces.
2022-06-15 03:22:15 +09:00
Shreenidhi Shedi
c9f5ac0917
sd-journal: check retval of sd_id128_from_string call
...
Fixes: CID#1469712
CID 1469712 (#1 of 1): Unused value (UNUSED_VALUE)
returned_value: Assigning value from sd_id128_from_string(word + 2, &boot_id) to r here,
but that stored value is overwritten before it can be used.
2022-06-14 17:52:48 +05:30
Shreenidhi Shedi
2f4ad53549
homework: initialize we_detached
...
Fixes: CID#1469711
CID 1469711 (#1 of 1): Uninitialized scalar variable (UNINIT)
14. uninit_use: Using uninitialized value we_detached.
2022-06-14 17:52:46 +05:30
Yu Watanabe
6243063824
test: use trap RETURN
2022-06-14 21:08:04 +09:00
Yu Watanabe
4627fb80bf
test: move "do" at the end of line
2022-06-14 21:06:06 +09:00
Yu Watanabe
2f34ee3329
test: insert space in for loop
2022-06-14 21:05:10 +09:00
Yu Watanabe
47ba157cc0
test: import localed tests from debian/ubuntu test suite
2022-06-14 20:59:36 +09:00
Yu Watanabe
4ce68ea9b3
test: install C.UTF-8 and English locales
2022-06-14 20:59:36 +09:00
Yu Watanabe
1136175c7f
test: install libxkbcommon and x11 keymaps
2022-06-14 20:59:36 +09:00
Yu Watanabe
da0465dc95
test: introduce inst_recursive() helper function
2022-06-14 20:59:32 +09:00
Yu Watanabe
569c6fd1b7
test: add one more path to search keymaps
...
Now it also supports split-usr.
2022-06-14 20:56:23 +09:00
Yu Watanabe
2b1eb5f871
localectl: use Table to show status
2022-06-14 20:56:23 +09:00
Yu Watanabe
3e5203b3eb
locale: rename keymap-util.[ch] -> localed-util.[ch]
...
As the file contains not only keymap related functions.
2022-06-14 20:56:23 +09:00
Yu Watanabe
3d36b5d7e7
locale-setup: merge locale handling in PID1 and localed
2022-06-14 20:56:23 +09:00
Yu Watanabe
d2e96a4f87
locale-util: align locale entries
2022-06-14 20:56:23 +09:00
Yu Watanabe
a2f7937747
locale-util: check if enumerated locales are valid
2022-06-14 20:56:23 +09:00
Yu Watanabe
065058e63b
locale-util: fix memleak on failure
2022-06-14 20:56:23 +09:00
Yu Watanabe
39f4546199
test: import hostnamed tests from debian/ubuntu test suite
2022-06-14 20:56:18 +09:00
Yu Watanabe
aab61a8c99
test: support debian/ubuntu specific timezone config file
2022-06-14 20:52:44 +09:00
Yu Watanabe
8ed2103306
test: drop unnecessary --no-pager option
2022-06-14 20:52:44 +09:00
Yu Watanabe
d170b47535
test: introduce assert_not_in() helper function
...
This also silence assertions, and replace grep with bash's regular
expression match.
2022-06-14 20:52:38 +09:00
Alexander Graf
70e74a5997
pstore: Run after modules are loaded
...
The systemd-pstore service takes pstore files on boot and transfers them
to disk. It only does it once on boot and only if it finds any. The typical
location of the pstore on modern systems is the UEFI variable store.
Most distributions ship with CONFIG_EFI_VARS_PSTORE=m. That means, the
UEFI variable store is only available on boot after the respective module
is loaded.
In most situations, the pstore service gets loaded before the UEFI pstore,
so we don't get to transfer logs. Instead, they accumulate, filling up the
pstore over time, potentially breaking the UEFI variable store.
Let's add a service dependency on any kernel module that can provide a
pstore to ensure we only scan for pstate after we can actually see pstate.
I have seen live occurences of systems breaking because we did not erase
the pstates and ran out of UEFI nvram space.
Fixes https://github.com/systemd/systemd/issues/18540
2022-06-14 10:17:20 +09:00
Jan Luebbe
5d049ff920
hwdb: analyzers: remove generic "STM Device in DFU Mode"
...
The USB ID v0483pDF11 is used by the ROM code in many STMicroelectronics
devices (for firmware download) and not just signal analyzers.
2022-06-14 10:10:05 +09:00
Christian Göttsche
1805fbcf06
sysctl: increase log severity on failed write
...
Increase the log severity in case of writing to a non existent sysctl
parameter as this can either be caused by a misspelling or a kernel mis-
configuration, e.g. in case YAMA does not get loaded due to a incomplete
lsm= override:
systemd-sysctl[354]: Couldn't write '1' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory
2022-06-14 09:29:37 +09:00
H A
b0367874d5
po: Translated using Weblate (Estonian)
...
Currently translated at 70.8% (134 of 189 strings)
Co-authored-by: H A <contact+fedora@hen.ee >
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/et/
Translation: systemd/main
2022-06-14 09:27:53 +09:00
Shreenidhi Shedi
a4433b4532
network: l2tp: initialize a to NULL
...
Fixes: CID#1475788
2022-06-13 08:41:52 +09:00
Zbigniew Jędrzejewski-Szmek
ef55efe823
Merge pull request #23707 from yuwata/dns_service_split
...
dns-domain: fix buffer-overflow
2022-06-12 11:37:20 +02:00
Yu Watanabe
9d55166018
Merge pull request #23714 from mrc0mmand/networkd-testsuite-tweaks
...
A couple of assorted tweaks for the systemd-networkd test suite
2022-06-12 13:16:30 +09:00
Luca Boccassi
039f1673e9
meson: add build targets for libudev, libsystemd and pkg-config
...
Mirror install tags with the same names and content
2022-06-12 13:13:49 +09:00
H A
570ddd3268
po: Translated using Weblate (Estonian)
...
Currently translated at 69.8% (132 of 189 strings)
Co-authored-by: H A <contact+fedora@hen.ee >
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/et/
Translation: systemd/main
2022-06-12 13:10:35 +09:00
Frantisek Sumsal
f4586b70b2
test-network: drop unnecessary global
...
`global` is needed only when assigning a new value to the global
variable; it's not necessary when modifying a mutable object (in our
case we just append items to the global list).
2022-06-11 18:06:38 +02:00
Frantisek Sumsal
d45476ef5c
test-network: explicitly set encoding when open()ing text files
2022-06-11 18:03:28 +02:00
Frantisek Sumsal
e4295d4ddc
test-network: make use of f-strings in couple more places
2022-06-11 17:54:59 +02:00
Frantisek Sumsal
004daaf5a1
test-network: override networkctl bin w/ valgrind/sanitizers
2022-06-11 17:47:52 +02:00
Luca Boccassi
24ccd953ba
Merge pull request #23708 from yuwata/update-kernel-headers
...
Update kernel headers
2022-06-11 10:18:37 +01:00
Yu Watanabe
0ffc372a1d
shared/linux: update kernel headers to 5.19-rc1
2022-06-11 06:50:12 +09:00
Yu Watanabe
7d9a2c0aa6
basic/linux: update kernel headers to 5.19-rc1
2022-06-11 06:49:42 +09:00
Yu Watanabe
3c4ae50abe
dns-domain: reduce indentation in dns_service_split()
2022-06-11 06:02:08 +09:00
Yu Watanabe
ec4c01475e
dns-domain: rename function arguments
2022-06-11 06:01:48 +09:00
Yu Watanabe
9db01ca5b0
dns-domain: make each label nul-terminated
...
dns_label_unescape() does not nul-terminate the buffer if it does not
have enough space. Hence, if a lable is enough long, then strjoin()
triggers buffer-overflow.
Fixes #23705 .
2022-06-11 06:01:46 +09:00
Yu Watanabe
288bafa952
Merge pull request #23691 from medhefgo/efi-clang
...
efi: Add parse_number8/16
2022-06-11 05:01:24 +09:00
Elias Probst
4218f81d83
systemctl: add edit verb to arguments' help text
...
The arguments `--global`, `--runtime` and `--root` also affect the
`edit` verb.
2022-06-11 04:43:42 +09:00
Yu Watanabe
3e808e0769
Merge pull request #23701 from medhefgo/boot-mem
...
boot: Use memcpy/memset provided by firmware
2022-06-11 04:29:27 +09:00
Shreenidhi Shedi
1dea9f1268
boot: use efi_memcpy inplace of memcpy
...
`efi_memcpy` does some validations before referencing pointers, it is
the safer option for this case.
Fixes: CID#1489876
2022-06-11 04:25:35 +09:00
Zbigniew Jędrzejewski-Szmek
a61473bde5
shared/condition: accept size suffixes for ConditionMemory
...
Fixes #23697 .
2022-06-10 19:50:59 +01:00
Luca Boccassi
e48bc49271
Merge pull request #23687 from yuwata/dns-domain-trivial-cleanups
...
dns-domain: trivial cleanups
2022-06-10 19:50:22 +01:00
Frantisek Sumsal
bf24eafcd2
Merge pull request #23584 from yuwata/test-login
...
test: import logind test from debian/ubuntu test suite
2022-06-10 14:50:35 +00:00