Mike Yuan
10fae6ac6e
docs/RELEASE: meson.version doesn't contain "v" prefix
2024-05-13 21:58:29 +08:00
Mike Yuan
efbe45e4ed
docs/RELEASE: use meson.version for tags
2024-05-13 21:58:29 +08:00
KayJay7
1642b7b3ac
hwdb: ASRock LED Controller classified incorrectly as joystick due to buttons and axis ( #32775 )
...
The function `builtin-input_id` incorrectly identifies the ASRock LED Controller
as an input device due to the presence of buttons and axis. To fix this we add
a new rule in `hwdb.d/60-input-id.hwdb`.
The properties have been set to empty instead of `0` because some programs
might check if the value is set at all instead of checking its value, as discussed
in #32773 .
The device has no real keys. The devices is controlled by i2c interface and some
settings in UEFI, and it provides an header to connect LED strips and similar devices.
I suppose it's possible that ASRock intended to connect devices with buttons for
controlling LEDs to it, but: (i) the controller itself does not have key, (ii) to my
knowledge no such device exists. So I think we can unset that property as well.
On a sidenote, unsetting those properties does not affect the i2c interface,
OpenRGB still interacts normally with the device.
Fixes #32773 .
2024-05-13 22:49:07 +09:00
Daan De Meyer
034e85c5f3
TEST-38-FREEZER: Relax regex a little
...
The state might be "freezing-by-parent" as well so let's take that
into account.
Fixes #32746
2024-05-13 15:19:40 +02:00
Yu Watanabe
0831c99104
hwdb: ID_INPUT_XYZ allows an empty string
...
This is for making CIs for #32775 green.
2024-05-13 15:18:37 +02:00
Luca Boccassi
74cf904aac
Merge pull request #32758 from yuwata/journal-ratelimit
...
journal: modernize journal ratelimiting
2024-05-13 15:16:40 +02:00
dependabot[bot]
2b214821a2
build(deps): bump pkg/arch from b13e94a
to b578e90
...
Bumps pkg/arch from `b13e94a` to `b578e90`.
---
updated-dependencies:
- dependency-name: pkg/arch
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 12:54:52 +02:00
dependabot[bot]
7044f9952c
build(deps): bump pkg/debian from 7cc898c
to 824c52f
...
Bumps pkg/debian from `7cc898c` to `824c52f`.
---
updated-dependencies:
- dependency-name: pkg/debian
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 12:54:27 +02:00
Yu Watanabe
13c8a3d926
man: add v257 tag
...
Even though v256-final is not released yet, let's v257 tag now to make
not PRs for v257 conflict with each other.
2024-05-13 19:53:51 +09:00
Yu Watanabe
0e2e3fa35a
journal-rate-limit: replace in-house management of JournalRateLimitGroup with OrderedHashmap
...
No functional change, just refactoring.
2024-05-13 19:21:23 +09:00
zeroskyx
fa8f2a948c
hwdb: updated Librem 11 accelerometer ( #32772 )
2024-05-13 02:46:19 +09:00
mburucuyapy
ab55175e0f
hwdb: update Dere N12 / Juno Tablet 3 accelerometer ( #32765 )
2024-05-13 02:45:36 +09:00
Scrambled 777
bfb964d21d
po: Translated using Weblate (Hindi)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Scrambled 777 <weblate.scrambled777@simplelogin.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/hi/
Translation: systemd/main
2024-05-12 16:39:07 +02:00
Yu Watanabe
8df477675d
journal-rate-limit: split out journal_ratelimit_group_acquire()
...
No functional change, just refactoring.
2024-05-12 10:32:14 +09:00
Yu Watanabe
bab044b94b
journal-rate-limit: introduce cleanup function for JournalRateLimitGroup
...
This also makes journal_ratelimit_group_new() use structured initializer.
2024-05-12 10:32:14 +09:00
Yu Watanabe
88c434f75c
journal-rate-limit: rename variables
...
'r' is usually used for storing return value.
2024-05-12 10:32:14 +09:00
Yu Watanabe
1bdaad997d
journal-rate-limit: use FOREACH_ELEMENT() and usec_add()
2024-05-12 10:32:14 +09:00
Yu Watanabe
bba23ba47f
journal-rate-limit: make journal_ratelimit_group_free() return NULL
...
To make it follow our recent coding style.
2024-05-12 10:32:14 +09:00
Yu Watanabe
1cb1538f78
journal-rate-limit: add trailing comma in table
2024-05-12 10:32:14 +09:00
Yu Watanabe
78da0721c8
test: introduce test cases for journal_ratelimit_test()
2024-05-12 10:31:41 +09:00
Yu Watanabe
c1db424db5
tree-wide: use LOG_PRI() and LOG_FAC()
2024-05-12 09:49:45 +09:00
Daan De Meyer
82c2214539
debug-generator: Allow specifying name of unit-dropin credential
...
A fixed name is too rigid, let's give users the ability to define
custom drop-in names which at the same time also allows defining
multiple dropins per unit.
We use ~ as the separator because:
- ':' is not allowed in credential names
- '=' is used to separate credential from value in mkosi's --credential
argument.
- '-' is commonly used in filenames
- '@' already has meaning as the unit template specifier which might be
confusing when adding dropins for template units
2024-05-11 19:46:15 +02:00
Luca Boccassi
ce78bae2b8
Merge pull request #32755 from yuwata/test-network-cleanups
...
test-network: several cleanups
2024-05-10 22:06:39 +02:00
Yu Watanabe
7ef26afca5
test-network: simplify and unify waiting loop
...
Also,
- drop unused fail_assert arguments,
- use wait_links() and check_networkd_log() in wait_activated().
2024-05-11 02:13:34 +09:00
Yu Watanabe
acc06d8a68
test-network: make link_exists() take multiple arguments
...
This also improves performance of test_delete_links().
2024-05-11 02:13:34 +09:00
Lucas Salles
6915e6d914
Fix Positivo N14EPE and N15EPE key toggle touchpad and search key
2024-05-11 00:30:59 +09:00
Yu Watanabe
a937fa96ac
libcrypt-util: fix wrong errno value assignment
...
Follow-up for 9de324c3c9
.
2024-05-10 15:56:52 +02:00
Luca Boccassi
cc65d63d6d
Merge pull request #32747 from YHNdnzj/tmpfiles-ret-gather
...
tmpfiles: some cleanups/follow-up
2024-05-10 15:04:30 +02:00
Daan De Meyer
55a382633d
Merge pull request #32748 from yuwata/test-network-improvements
...
test-network: several more improvements
2024-05-10 14:31:03 +02:00
Yu Watanabe
d22f2fb912
test-network: check existence of kernel bug
...
This adds checks for the kernel bug caused by
3ddc2231c8
,
it will be fixed by
https://patchwork.kernel.org/project/netdevbpf/patch/20240510072932.2678952-1-edumazet@google.com/
2024-05-10 20:39:56 +09:00
Yu Watanabe
e92d7b7dd9
test-network: introduce --no-journal option
...
This should be useful when the test run as a service, e.g.
running on a mkosi image.
2024-05-10 20:39:30 +09:00
Mike Yuan
9bbe26bbf2
Merge pull request #32738 from yuwata/trivial-cleanups
...
Trivial follow-ups for recent changes
2024-05-10 19:07:42 +08:00
Luca Boccassi
5387e4c832
NEWS: update for latest changes
2024-05-10 12:05:54 +01:00
Luca Boccassi
cf2b044c5e
Merge pull request #32491 from yuwata/journalctl-fix-boot
...
journalctl: several fixes and cleanups for --boot= option handling
2024-05-10 13:00:22 +02:00
Mike Yuan
c2c162a636
tmpfiles: use RET_GATHER more, add missing assertions
...
Note that item_do() now aborts on OOM, since it's
pretty pointless to iterate further if memory allocation
doesn't work.
2024-05-10 18:50:05 +08:00
Mike Yuan
d8f5a31022
tmpfiles: don't compare errno with negative value
...
Follow-up for 677430b3c7
2024-05-10 18:50:05 +08:00
Mike Yuan
570c940d42
tmpfiles: clean up hardlinks_vulnerable a bit
...
dangerous_hardlinks() -> hardlinks_protected(),
and the meaning of the function is now in line
with fs.protected_hardlinks value.
Plus, We ship 50-default.conf where the sysctl
is enabled. Mention it in the comment.
2024-05-10 18:50:05 +08:00
Luca Boccassi
1df2c9a597
Merge pull request #32741 from yuwata/network-dhcp4-route-to-dns
...
network/dhcp4: fix assignment of routes to DNS or NTP servers
2024-05-10 12:40:30 +02:00
Luca Boccassi
b1975df814
Merge pull request #32739 from yuwata/vmspawn-journal-forward
...
vmspawn: fix journal forwarding
2024-05-10 12:37:56 +02:00
Daan De Meyer
5b29919b91
mkosi: Update centos submodule to latest
2024-05-10 11:33:15 +02:00
Luca Boccassi
086b277dc7
Merge pull request #32743 from yuwata/test-network-for-mkosi
...
test-network: several improvements for running with mkosi
2024-05-10 11:27:14 +02:00
Yu Watanabe
2b699c2362
core/unit: use FOREACH_ELEMENT() to add dependencies for journal namespace instances
...
Follow-up for 06c0f569e9
.
2024-05-10 18:11:25 +09:00
Yu Watanabe
b2062ee2d9
test: wait for network interface reconfigured after updating config
...
Otherwise, at this stage, the interface may be in e.g. initialized or
pending state, and the drop-in file introduced by the previous command
may not be registered to the state file for the interface.
Fixes #32685 .
2024-05-10 09:16:21 +02:00
Yu Watanabe
24e37929ed
test-network: do not fail when /etc/protocols does not exist
...
Also this makes several checks more strict.
2024-05-10 15:16:20 +09:00
Yu Watanabe
2a4f9139d9
test-network: do not fail test_macvlan() with old kernel or ip command
2024-05-10 14:36:38 +09:00
Yu Watanabe
e97bb361a0
test-network: do not fail if macvlan module is not available
2024-05-10 14:33:38 +09:00
Yu Watanabe
0f3116f039
network/dhcp4: do not set gateway if DNS server or friends is in the acquired prefix
...
Previously, even if a DNS server is in the acquired prefix, the route to the
server might have gateway address.
This makes the prefix route, which is always configured, is also handled
as same as static routes, and do not use any gateway if the prefix route
is the most suitable route to access the destination.
The same change is also applied to route to NTP servers and semi-static
routes.
Fixes a regression introduced by 0ce86f5eeb
.
Fixes #32715 .
2024-05-10 13:46:39 +09:00
Yu Watanabe
4591efffc0
test: add basic tests for in_addr_prefix_covers_full()
2024-05-10 13:46:39 +09:00
Yu Watanabe
d0936a7266
journalctl: make --list-boots support -n/--lines= option
...
Also mention that -r/--reverse is supported by the command.
2024-05-10 11:43:57 +09:00
Yu Watanabe
5da5d848f9
journalctl: fail and show error message when no boot ID found
...
No boot ID in journal should be definitly spurious.
Let's warn about that and exit with failure.
2024-05-10 11:43:57 +09:00