summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yu Watanabe [Tue, 31 Aug 2021 17:20:33 +0000 (02:20 +0900)]
udev-node: always atomically create symlink to device node
By the previous commit, it is not necessary to distinguish if the devlink
already exists. Also, I cannot find any significant advantages of the
previous complecated logic, that is, first try to create directly, and then
fallback to atomically creation. Moreover, such logic increases the chance
of conflicts between multiple udev workers.
This makes devlinks always created atomically. Hopefully, this reduces the
conflicts between the workers.
(cherry picked from commit
242d39ebc1391f4734f6e63ff13764de92bc5f70)
Gbp-Pq: Name udev-node-always-atomically-create-symlink-to-device-node.patch
Yu Watanabe [Wed, 1 Sep 2021 21:58:59 +0000 (06:58 +0900)]
udev-node: assume no new claim to a symlink if /run/udev/links is not updated
During creating a symlink to a device node, if another device node which
requests the same symlink is added/removed, `stat_inode_unmodified()`
should always detects that. We do not need to continue the loop
unconditionally.
(cherry picked from commit
8f27311eb2aec2411d1fb7d62e6c9d75d21ae8df)
Gbp-Pq: Name udev-node-assume-no-new-claim-to-a-symlink-if-run-udev-li.patch
Yu Watanabe [Wed, 1 Sep 2021 03:57:40 +0000 (12:57 +0900)]
udev-node: always update timestamp of stack directory
Please see the comments in the code.
(cherry picked from commit
6df797f75fa08bb1a9e657001229bd47903e6174)
Gbp-Pq: Name udev-node-always-update-timestamp-of-stack-directory.patch
Yu Watanabe [Tue, 31 Aug 2021 19:16:21 +0000 (04:16 +0900)]
udev-node: save information about device node and priority in symlink
Previously, we only store device IDs in /run/udev/links, and when
creating/removing device node symlink, we create sd_device object
corresponds to the IDs and read device node and priority from the
object. That requires parsing uevent and udev database files.
This makes link_find_prioritized() get the most prioritzed device node
without parsing the files.
(cherry picked from commit
377a83f0d80376456d9be203796f66f543a8b943)
Gbp-Pq: Name udev-node-save-information-about-device-node-and-priority.patch
Yu Watanabe [Tue, 31 Aug 2021 19:14:42 +0000 (04:14 +0900)]
udev-node: stack directory must exist when adding device node symlink
(cherry picked from commit
46070dbf26435ba0def099121f46a6253f3f19b6)
Gbp-Pq: Name udev-node-stack-directory-must-exist-when-adding-device-n.patch
Yu Watanabe [Wed, 1 Sep 2021 00:24:15 +0000 (09:24 +0900)]
udev-node: split out permission handling from udev_node_add()
And then merge udev_node_add() and udev_node_update_old_links().
(cherry picked from commit
2f48561e0db3cd63f65e9311b4d69282b4ac605d)
Gbp-Pq: Name udev-node-split-out-permission-handling-from-udev_node_ad.patch
Yu Watanabe [Wed, 1 Sep 2021 00:22:15 +0000 (09:22 +0900)]
sd-device: introduce device_has_devlink()
(cherry picked from commit
b881ce16b9ccae4c3089c82e2ea1781cd9773a4f)
Gbp-Pq: Name sd-device-introduce-device_has_devlink.patch
Michael Biebl [Mon, 9 Aug 2021 17:45:48 +0000 (19:45 +0200)]
test: fix TEST-10-ISSUE-2467
Depending on the timing, socat will either get ECONNREFUSED oder EPIPE
from systemd. The latter will cause it to exit(1) and subsequently the
test to fail.
We are not actually interested in the return code of socat though. The
test is supposed to check, whether rate limiting of a socket unit works
properly.
So ignore any failures from the socat invocation and instead check, if
test10.socket is in state "failed" with result "trigger-limit-hit" after
it has been triggered.
TriggerLimitIntervalSec= by default is set to 2s. A "sleep 10" should
give systemd enough time even on slower machines, to reach the trigger
limit.
For better readability, break the test into separate ExecStart lines.
Fixes #19154.
Gbp-Pq: Name test-fix-TEST-10-ISSUE-2467.patch
Michael Biebl [Tue, 2 Nov 2021 16:29:45 +0000 (16:29 +0000)]
systemd (249.5-2) unstable; urgency=medium
[ Helmut Grohne ]
* Fix FTCBFS: Annotate python3-jinja2 dependency with :native
(Closes: #996501)
[ Michael Biebl ]
* hwdb: Allow console users access to media* nodes (Closes: #996749)
[dgit import unpatched systemd 249.5-2]
Michael Biebl [Tue, 2 Nov 2021 16:29:45 +0000 (16:29 +0000)]
Import systemd_249.5-2.debian.tar.xz
[dgit import tarball systemd 249.5-2 systemd_249.5-2.debian.tar.xz]
Michael Biebl [Tue, 12 Oct 2021 20:39:59 +0000 (21:39 +0100)]
Import systemd_249.5.orig.tar.gz
[dgit import orig systemd_249.5.orig.tar.gz]