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