summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yu Watanabe [Fri, 22 Feb 2019 04:32:47 +0000 (13:32 +0900)]
network: do not remove rule when it is requested by existing links
Otherwise, the first link once removes all saved rules in the foreign
rule database, and the second or later links create again...
(cherry picked from commit
031fb59a984e5b51f3c72aa8125ecc50b08011fe)
Gbp-Pq: Name network-do-not-remove-rule-when-it-is-requested-by-existi.patch
Yu Watanabe [Fri, 22 Feb 2019 04:27:44 +0000 (13:27 +0900)]
network: remove routing policy rule from foreign rule database when it is removed
Previously, When the first link configures rules, it removes all saved
rules, which were configured by networkd previously, in the foreign rule
database, but the rules themselves are still in the database.
Thus, when the second or later link configures rules, it errnously
treats the rules already exist.
This is the root of issue #11280.
This removes rules from the foreign database when they are removed.
Fixes #11280.
(cherry picked from commit
92cd00b9749141907a1110044cc7d1f01caff545)
Gbp-Pq: Name network-remove-routing-policy-rule-from-foreign-rule-data.patch
Lennart Poettering [Wed, 13 Mar 2019 16:00:56 +0000 (17:00 +0100)]
networkd: clarify that IPv6 RA uses our own stack, no the kernel's
Fixes: #8906
(cherry picked from commit
c4a05aa1a8338013108d099de805f3262a871c0f)
Gbp-Pq: Name networkd-clarify-that-IPv6-RA-uses-our-own-stack-no-the-k.patch
Frantisek Sumsal [Sat, 23 Mar 2019 20:49:17 +0000 (21:49 +0100)]
bash-completion: use default completion for redirect operators
(cherry picked from commit
1413763ea540a897852494259cb949fe01e1e7e7)
Gbp-Pq: Name bash-completion-use-default-completion-for-redirect-opera.patch
Yu Watanabe [Mon, 4 Mar 2019 19:01:34 +0000 (04:01 +0900)]
udev: run programs in the specified order
This fixes bugs introduced by
29448498c724da7ade1b5efb20d7472c1b128d2c
and
d838e14515c82b05a07f2bf393cce057b45b2b53.
Previously, RUN and SECLABEL keys are stored in udev_list with its unique
flag is false. If the flag is false, then udev_list is just a linked
list and new entries are always added in the last.
So, we should use OrderedHashmap instead of Hashmap.
Fixes #11368.
(cherry picked from commit
39a15c8a8dad26deda140867f03e44a535b7bd8d)
Gbp-Pq: Name udev-run-programs-in-the-specified-order.patch
Michael Biebl [Wed, 13 Mar 2019 22:22:26 +0000 (23:22 +0100)]
Re-add uaccess tag for /dev/dri/renderD*
Setting an access mode != 0666 is explicitly supported via -Dgroup-render-mode
In such a case, re-add the uaccess tag.
This is basically the same change that was done for /dev/kvm in
commit
fa53e24130af3a389573acb9585eadbf7192955f and
ace5e3111c0b8d8bfd84b32f2c689b0a4d92c061
and partially reverts the changes from
4e15a7343cb389e97f3eb4f49699161862d8b8b2
(cherry picked from commit
055a083a47de968744c4988fe305592477118c86)
Gbp-Pq: Name Re-add-uaccess-tag-for-dev-dri-renderD.patch
Stephane Chazelas [Wed, 6 Mar 2019 22:16:55 +0000 (22:16 +0000)]
remove "." path components from required mount paths
unit_require_mounts_for may be passed path arguments that contain "."
components like for user's home directories where "." is sometimes used
to specify some form of anchor point.
This change stops considering such path as an error and removes the "."
components instead.
Closes: #11910
(cherry picked from commit
106bf8e445a797f9d9c88b827ed42193f2f6b838)
Gbp-Pq: Name remove-.-path-components-from-required-mount-paths.patch
Franck Bui [Tue, 5 Mar 2019 10:03:07 +0000 (11:03 +0100)]
udev: restore debug level when logging a failure in the external prog called by IMPORT{program}
It was already the case before commit
a75211421fc9366068e6d9446e8e567246c72feb,
which upgraded the log to warning.
This seems an unintended side effect as the commit message doesn't mention it
and the old behavior looks more appropriate.
(cherry picked from commit
3c37dadf627677eef62fcfc0c0f07cc67c748a9e)
Gbp-Pq: Name udev-restore-debug-level-when-logging-a-failure-in-the-ex.patch
Szabolcs Fruhwald [Wed, 20 Feb 2019 20:38:50 +0000 (12:38 -0800)]
cgtop: Fix processing of controllers other than CPU
After debugging the issue with gdb, I found that the following change
94ddb08 "cgtop: Still try to get CPU statistics if controller-free"
has introduced a bug, which prevents process(..) method processing
memory and io controllers when cpu_accounting_is_cheap() is true.
The obvious fix is to move this branch to be the last one, keeping
the intended behavior of the above change, without having a negative
effect on the other controllers.
Fixes #11773 [systemd-cgtop no longer shows memory (and io) usage]
(cherry picked from commit
5fe74e893c7939a360dc4eb75dbf3f540526c968)
Gbp-Pq: Name cgtop-Fix-processing-of-controllers-other-than-CPU.patch
Yu Watanabe [Sun, 10 Mar 2019 19:44:21 +0000 (04:44 +0900)]
timedate: fix emitted value when ntp client is enabled/disabled (#11951)
This fixes a regression originall caused by
cf3872bd2 and
triggered by
b4356b5720a.
Fixes #11944
(cherry picked from commit
49942d6b1eac12f3157c628ee6249c3bbb3602aa)
Gbp-Pq: Name timedate-fix-emitted-value-when-ntp-client-is-enabled-dis.patch
Martin Pitt [Wed, 27 Feb 2019 22:15:31 +0000 (23:15 +0100)]
networkd-test: ignore failures of test_route_only_dns* in containers
This test exposes a race condition when running in LXC, see issue #11848
for details. Until that is understood and fixed, skip the test as it's
not a recent regression.
(cherry picked from commit
09b8826ea371e027c76a573a226bfd8f8c5652a2)
Gbp-Pq: Name networkd-test-ignore-failures-of-test_route_only_dns-in-c.patch
Martin Pitt [Thu, 21 Feb 2019 11:34:23 +0000 (12:34 +0100)]
networkd-test: fix test_dropin()
- This test needs resolved, so make sure it is started. In some Debian
environments it is not.
- It was an unnecessary, and now failing assumption that name servers
get atomically written to the resolved's resolv.conf. Wait until both
expected name servers are in the file.
(cherry picked from commit
f5cf985e9cc6fff747ca17acadb1b4751076103b)
Gbp-Pq: Name networkd-test-fix-test_dropin.patch
Martin Pitt [Thu, 21 Feb 2019 11:26:44 +0000 (12:26 +0100)]
networkd-test: use a complete domain name in test_route_only_dns()
Since version 241 (commit ea4678?), querying MX type records for
single-label domains does not actually forward the query to the DNS
server any more. Use "example.com" instead, which is the recommended
test domain anyway.
(cherry picked from commit
ca56805c8de43fc21ab4657cf5ebd1e0248527ac)
Gbp-Pq: Name networkd-test-use-a-complete-domain-name-in-test_route_on.patch
Martin Pitt [Thu, 21 Feb 2019 11:24:16 +0000 (12:24 +0100)]
networkd-test: disable DNSSEC in domain-restricted DNS test
dnsmasq 2.80 changed behaviour when being queried by resolved with
enabled DNSSEC: It returns errors for SOA and DS queries which cause the
entire query to fail. As we don't configure DNSSEC in this test anyway,
just disable it so that we retain compatibility with old and new dnsmasq
versions.
(cherry picked from commit
6592c9c850675fb20236271efc4f65acbe3bfa00)
Gbp-Pq: Name networkd-test-disable-DNSSEC-in-domain-restricted-DNS-tes.patch
Yu Watanabe [Fri, 15 Feb 2019 20:21:59 +0000 (05:21 +0900)]
sd-device: also store properties read from udev database to sd_device::properties_db
Follow-up for
a3ce813697bcc1c4644e097a2f1cd0459326d6ee and
5ce41697bd3ddc19cd6e1e6834751082ca0c8b02.
Before
a3ce813697bcc1c4644e097a2f1cd0459326d6ee, all properties in
src->properties and src->properties_db are mixed and copied to
dst->properties_db by device_copy_properties().
So, it is not necessary to store data from udev database file to
sd_device::properties_db before copying properties.
But now, properties are not mixed. So, the read data need to be
stored to also ::properties_db.
Fixes #11721.
(cherry picked from commit
03dd7b7ddec1b0e06f254972a2e05f516a05edaf)
Gbp-Pq: Name sd-device-also-store-properties-read-from-udev-database-t.patch
Yu Watanabe [Sat, 16 Feb 2019 15:47:45 +0000 (00:47 +0900)]
udev,network: drop unused parent_driver argument from net_match_config()
The argument has never been used.
(cherry picked from commit
4f4daf418f2e750caae6bc26cd49daafc23ad4de)
Gbp-Pq: Name udev-network-drop-unused-parent_driver-argument-from-net_.patch
Martin Pitt [Sun, 17 Feb 2019 09:17:45 +0000 (10:17 +0100)]
sd-bus: enforce a size limit on D-Bus object paths
Replace stack with heap allocation. This avoids accessing/modifying
memory outside of the allocated stack region by sending specially
crafted D-Bus messages with very large object paths.
Vulnerability discovered by Chris Coulson <chris.coulson@canonical.com>,
patch provided by Riccardo Schirone <rschiron@redhat.com>.
CVE-2019-6454
Gbp-Pq: Name sd-bus-enforce-a-size-limit-on-D-Bus-object-paths.patch
Michael Biebl [Fri, 29 Jan 2021 14:16:06 +0000 (14:16 +0000)]
systemd (241-7~deb10u6) buster; urgency=medium
* journal: do not trigger assertion when journal_file_close() get NULL
(Closes: #975561)
* test-bpf: skip test when run inside containers.
The test reliably fails inside LXC and Docker when run on a new enough
kernel. It's unclear whether this is a kernel, LXC/Docker or systemd
issue and apparently there is no real interest to get this fixed, so
let's skip this test.
* autopkgtest: mark networkd-test.py as flaky.
See https://github.com/systemd/systemd/issues/18357
and https://github.com/systemd/systemd/issues/18196
[dgit import unpatched systemd 241-7~deb10u6]
Michael Biebl [Fri, 29 Jan 2021 14:16:06 +0000 (14:16 +0000)]
Import systemd_241-7~deb10u6.debian.tar.xz
[dgit import tarball systemd 241-7~deb10u6 systemd_241-7~deb10u6.debian.tar.xz]
Felipe Sateler [Thu, 21 Feb 2019 23:10:15 +0000 (23:10 +0000)]
Import systemd_241.orig.tar.gz
[dgit import orig systemd_241.orig.tar.gz]