Merge ~juliank/ubuntu/+source/systemd:lp1805183 into ~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-cosmic

Proposed by Julian Andres Klode
Status: Superseded
Proposed branch: ~juliank/ubuntu/+source/systemd:lp1805183
Merge into: ~ubuntu-core-dev/ubuntu/+source/systemd:ubuntu-cosmic
Diff against target: 210 lines (+127/-2) (has conflicts)
5 files modified
debian/changelog (+70/-0)
debian/extra/dhclient-enter-resolved-hook (+9/-1)
debian/gbp.conf (+1/-1)
debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch (+41/-0)
debian/patches/series (+6/-0)
Conflict in debian/changelog
Conflict in debian/patches/series
Reviewer Review Type Date Requested Status
Dimitri John Ledkov Pending
Review via email: mp+360989@code.launchpad.net

This proposal has been superseded by a proposal from 2018-12-17.

To post a comment you must log in.

Unmerged commits

16d761d... by Julian Andres Klode

Only restart resolved on changes in dhclient enter hook

This prevents spurious restarts of resolved on rebounds when
the addresses did not change.

LP: #1805183

8f76036... by Dimitri John Ledkov

releasing package systemd version 239-7ubuntu15

702a456... by Victor Tapia

resolved: Increase size of TCP stub replies

DNS_PACKET_PAYLOAD_SIZE_MAX is limiting the size of the stub replies to
512 with EDNS off or 4096 with EDNS on, without checking the protocol
used. This makes TCP replies for clients without EDNS support to be
limited to 512, making the truncate flag useless if the query result is
bigger than 512 bytes.

This commit increases the size of TCP replies to DNS_PACKET_SIZE_MAX

LP: #1804487
Fixes: #10816
(cherry picked from commit e6eed9445956cfa496e1db933bfd3530db23bfce)

1fac256... by Dimitri John Ledkov

core: set /run size to 10%, like initramfs-tools does.

Currently there is a difference between initrd and initrd-less boots,
w.r.t. size= mount option of /run. This yields different runtime journald caps
(1% vs 10%), and on dense deployments of containers may result in OOM kills.

LP: #1799251

7de2b4d... by Dimitri John Ledkov

releasing package systemd version 239-7ubuntu14

3b764ec... by Dimitri John Ledkov

Fix compat with new meson.

e56f2c8... by Dimitri John Ledkov

releasing package systemd version 239-7ubuntu13

3006fed... by Dimitri John Ledkov

Stop testing that gdm3 is up.

Ubuntu Desktop is only supported on amd64, and on real hardware. Testing that
gdm3 fails to start (yet continues to be running, with a half broken logind
session) is not useful on dummy xorg video cards in nested VMs.

LP: #1805358

b726531... by Dimitri John Ledkov

releasing package systemd version 239-7ubuntu12

fea585b... by Dimitri John Ledkov

Switch gbp.conf to disco.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 0459106..a71a38a 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,4 @@
6+<<<<<<< debian/changelog
7 systemd (239-7ubuntu10.5) cosmic; urgency=medium
8
9 * hwdb: Revert wlan keycode changes, rely on xkeyboard-config fixes instead.
10@@ -27,6 +28,9 @@ systemd (239-7ubuntu10.5) cosmic; urgency=medium
11 (LP: #1805358)
12 File: debian/tests/control
13 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=969183a983e22c7f923cc21b6bb1789e2af30746
14+=======
15+systemd (239-7ubuntu15) disco; urgency=medium
16+>>>>>>> debian/changelog
17
18 * core: set /run size to 10%, like initramfs-tools does.
19 Currently there is a difference between initrd and initrd-less boots,
20@@ -34,7 +38,11 @@ systemd (239-7ubuntu10.5) cosmic; urgency=medium
21 (1% vs 10%), and on dense deployments of containers may result in OOM kills.
22 (LP: #1799251)
23 File: debian/patches/debian/UBUNTU-core-set-run-size-to-10-like-initramfs-tools-does.patch
24+<<<<<<< debian/changelog
25 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=78445beff750e38b87cee0ca41883a09d613ce51
26+=======
27+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=1fac2568fe716dc1a41bada78293dc6327a6df0d
28+>>>>>>> debian/changelog
29
30 * resolved: Increase size of TCP stub replies.
31 DNS_PACKET_PAYLOAD_SIZE_MAX is limiting the size of the stub replies to
32@@ -48,9 +56,71 @@ systemd (239-7ubuntu10.5) cosmic; urgency=medium
33 (LP: #1804487)
34 Author: Victor Tapia
35 File: debian/patches/resolved-Increase-size-of-TCP-stub-replies.patch
36+<<<<<<< debian/changelog
37 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=5c939591ebc128be9920e6c05dc72277fdce935e
38
39 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 04 Dec 2018 10:18:46 +0000
40+=======
41+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=702a4566174c4d2bd84b70805107cfc1a7c128cc
42+
43+ -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 03 Dec 2018 13:49:24 +0000
44+
45+systemd (239-7ubuntu14) disco; urgency=medium
46+
47+ * Fix compat with new meson.
48+ File: debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch
49+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3b764ec1b76768a8c40635019fa5a8acb81b223e
50+
51+ -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 29 Nov 2018 16:53:00 +0000
52+
53+systemd (239-7ubuntu13) disco; urgency=medium
54+
55+ * Stop testing that gdm3 is up.
56+ Ubuntu Desktop is only supported on amd64, and on real hardware. Testing that
57+ gdm3 fails to start (yet continues to be running, with a half broken logind
58+ session) is not useful on dummy xorg video cards in nested VMs.
59+ (LP: #1805358)
60+ File: debian/tests/control
61+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3006fedda1d1ca3f04c5f593e8018bb6d1196025
62+
63+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 Nov 2018 16:02:25 +0000
64+
65+systemd (239-7ubuntu12) disco; urgency=medium
66+
67+ * hwdb: Revert wlan keycode changes, rely on xkeyboard-config fixes instead.
68+ (LP: #1799364)
69+ Author: seb128
70+ File: debian/patches/hwdb-revert-airplane-mode-keys-handling-on-Dell.patch
71+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=cabc076fdd67ced21fc789e44e0366a2f561a5bc
72+
73+ * test: Set executable bits on TEST-22-TMPFILES shell scripts. (LP: #1804864)
74+ File: debian/patches/test-Set-executable-bits-on-TEST-22-TMPFILES-shell-script.patch
75+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=0e5b6e44a962f299565949e1006a4ba86d171dc3
76+
77+ * Switch gbp.conf to disco.
78+ File: debian/gbp.conf
79+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=fea585b259e3e766d8d3dbc9690e879c054ddc87
80+
81+ -- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 23 Nov 2018 18:38:43 +0000
82+
83+systemd (239-7ubuntu11) disco; urgency=medium
84+
85+ * hwdb: Fix wlan keycode for all Dell Latitude and Precision systems
86+ (LP: #1799364)
87+ Author: Shih-Yuan Lee (FourDollars)
88+ File: debian/patches/hwdb-Fix-wlan-keycode-for-all-Dell-Latitude-and-Precision.patch
89+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=d8ac9a5640be39ede9cebcd8c4cc44e8811e0e49
90+
91+ * hwdb: Update PNP IDs of Goldstar (now: LG Electronics) (LP: #1804584)
92+ File: debian/patches/hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch
93+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=10204fb5761c759be6ddf27dc43c851ef24c96cb
94+
95+ * btrfs-util: unbreak tmpfiles' subvol creation
96+ File: debian/patches/btrfs-util-unbreak-tmpfiles-subvol-creation.patch
97+ https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=4ab5b8275a0487e301553fb6de6a905abb7ea833
98+
99+ -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 22 Nov 2018 16:30:28 +0000
100+>>>>>>> debian/changelog
101
102 systemd (239-7ubuntu10.4) cosmic-security; urgency=medium
103
104diff --git a/debian/extra/dhclient-enter-resolved-hook b/debian/extra/dhclient-enter-resolved-hook
105index b504f5b..c2d59e4 100755
106--- a/debian/extra/dhclient-enter-resolved-hook
107+++ b/debian/extra/dhclient-enter-resolved-hook
108@@ -28,6 +28,9 @@ if [ -x /lib/systemd/systemd-resolved ] ; then
109 fi
110 statedir="/run/systemd/resolved.conf.d"
111 mkdir -p $statedir
112+
113+ oldstate="$(mktemp)"
114+ md5sum $statedir/isc-dhcp-v4-$interface.conf $statedir/isc-dhcp-v6-$interface.conf &> $oldstate
115 if [ -n "$new_domain_name_servers" ] ; then
116 cat <<EOF >$statedir/isc-dhcp-v4-$interface.conf
117 [Resolve]
118@@ -50,7 +53,12 @@ Domains=$new_dhcp6_domain_search
119 EOF
120 fi
121 fi
122- systemctl try-reload-or-restart systemd-resolved.service
123+
124+ if ! cmp --quiet $oldstate <(md5sum $statedir/isc-dhcp-v4-$interface.conf $statedir/isc-dhcp-v6-$interface.conf 2>&1); then
125+ systemctl try-reload-or-restart systemd-resolved.service
126+ fi
127+
128+ rm $oldstate
129 }
130 ;;
131
132diff --git a/debian/gbp.conf b/debian/gbp.conf
133index 41a8c4c..3a68a3d 100644
134--- a/debian/gbp.conf
135+++ b/debian/gbp.conf
136@@ -1,7 +1,7 @@
137 [DEFAULT]
138 pristine-tar = False
139 patch-numbers = False
140-debian-branch = ubuntu-cosmic
141+debian-branch = ubuntu-disco
142
143 [dch]
144 full = True
145diff --git a/debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch b/debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch
146new file mode 100644
147index 0000000..6d0d8e3
148--- /dev/null
149+++ b/debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch
150@@ -0,0 +1,41 @@
151+From: =?utf-8?q?Zbigniew_J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
152+Date: Sun, 19 Aug 2018 19:11:30 +0200
153+Subject: meson: rename -Ddebug to -Ddebug-extra
154+
155+Meson added -Doptimization and -Ddebug options, which obviously causes
156+a conflict with our -Ddebug options. Let's rename it.
157+
158+Fixes #9883.
159+
160+(cherry picked from commit 8f6b442a78d0b485f044742ad90b2e8271b4e68e)
161+---
162+ meson.build | 2 +-
163+ meson_options.txt | 2 +-
164+ 2 files changed, 2 insertions(+), 2 deletions(-)
165+
166+diff --git a/meson.build b/meson.build
167+index e1dc2ca..bf13664 100644
168+--- a/meson.build
169++++ b/meson.build
170+@@ -779,7 +779,7 @@ substs.set('DEBUGTTY', get_option('debug-tty'))
171+
172+ enable_debug_hashmap = false
173+ enable_debug_mmap_cache = false
174+-foreach name : get_option('debug')
175++foreach name : get_option('debug-extra')
176+ if name == 'hashmap'
177+ enable_debug_hashmap = true
178+ elif name == 'mmap-cache'
179+diff --git a/meson_options.txt b/meson_options.txt
180+index 16c1f2b..dc7951b 100644
181+--- a/meson_options.txt
182++++ b/meson_options.txt
183+@@ -46,7 +46,7 @@ option('debug-shell', type : 'string', value : '/bin/sh',
184+ description : 'path to debug shell binary')
185+ option('debug-tty', type : 'string', value : '/dev/tty9',
186+ description : 'specify the tty device for debug shell')
187+-option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
188++option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
189+ description : 'enable extra debugging')
190+ option('memory-accounting-default', type : 'boolean',
191+ description : 'enable MemoryAccounting= by default')
192diff --git a/debian/patches/series b/debian/patches/series
193index 6c7127a..227163f 100644
194--- a/debian/patches/series
195+++ b/debian/patches/series
196@@ -46,8 +46,14 @@ exec-util-in-execute_directories-support-initial-exec-env.patch
197 core-execute-environment_generators-with-manager-s-enviro.patch
198 core-execute-generators-with-manager-s-environmnet.patch
199 hwdb-Fix-wlan-keycode-for-all-Dell-Latitude-and-Precision.patch
200+<<<<<<< debian/patches/series
201 hwdb-revert-airplane-mode-keys-handling-on-Dell.patch
202 hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch
203+=======
204+hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch
205+hwdb-revert-airplane-mode-keys-handling-on-Dell.patch
206+meson-rename-Ddebug-to-Ddebug-extra.patch
207+>>>>>>> debian/patches/series
208 resolved-Increase-size-of-TCP-stub-replies.patch
209 debian/Use-Debian-specific-config-files.patch
210 debian/Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch

Subscribers

People subscribed via source and target branches