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
diff --git a/debian/changelog b/debian/changelog
index 0459106..a71a38a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,4 @@
1<<<<<<< debian/changelog
1systemd (239-7ubuntu10.5) cosmic; urgency=medium2systemd (239-7ubuntu10.5) cosmic; urgency=medium
23
3 * hwdb: Revert wlan keycode changes, rely on xkeyboard-config fixes instead.4 * hwdb: Revert wlan keycode changes, rely on xkeyboard-config fixes instead.
@@ -27,6 +28,9 @@ systemd (239-7ubuntu10.5) cosmic; urgency=medium
27 (LP: #1805358)28 (LP: #1805358)
28 File: debian/tests/control29 File: debian/tests/control
29 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=969183a983e22c7f923cc21b6bb1789e2af3074630 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=969183a983e22c7f923cc21b6bb1789e2af30746
31=======
32systemd (239-7ubuntu15) disco; urgency=medium
33>>>>>>> debian/changelog
3034
31 * core: set /run size to 10%, like initramfs-tools does.35 * core: set /run size to 10%, like initramfs-tools does.
32 Currently there is a difference between initrd and initrd-less boots,36 Currently there is a difference between initrd and initrd-less boots,
@@ -34,7 +38,11 @@ systemd (239-7ubuntu10.5) cosmic; urgency=medium
34 (1% vs 10%), and on dense deployments of containers may result in OOM kills.38 (1% vs 10%), and on dense deployments of containers may result in OOM kills.
35 (LP: #1799251)39 (LP: #1799251)
36 File: debian/patches/debian/UBUNTU-core-set-run-size-to-10-like-initramfs-tools-does.patch40 File: debian/patches/debian/UBUNTU-core-set-run-size-to-10-like-initramfs-tools-does.patch
41<<<<<<< debian/changelog
37 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=78445beff750e38b87cee0ca41883a09d613ce5142 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=78445beff750e38b87cee0ca41883a09d613ce51
43=======
44 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=1fac2568fe716dc1a41bada78293dc6327a6df0d
45>>>>>>> debian/changelog
3846
39 * resolved: Increase size of TCP stub replies.47 * resolved: Increase size of TCP stub replies.
40 DNS_PACKET_PAYLOAD_SIZE_MAX is limiting the size of the stub replies to48 DNS_PACKET_PAYLOAD_SIZE_MAX is limiting the size of the stub replies to
@@ -48,9 +56,71 @@ systemd (239-7ubuntu10.5) cosmic; urgency=medium
48 (LP: #1804487)56 (LP: #1804487)
49 Author: Victor Tapia57 Author: Victor Tapia
50 File: debian/patches/resolved-Increase-size-of-TCP-stub-replies.patch58 File: debian/patches/resolved-Increase-size-of-TCP-stub-replies.patch
59<<<<<<< debian/changelog
51 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=5c939591ebc128be9920e6c05dc72277fdce935e60 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=5c939591ebc128be9920e6c05dc72277fdce935e
5261
53 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 04 Dec 2018 10:18:46 +000062 -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 04 Dec 2018 10:18:46 +0000
63=======
64 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=702a4566174c4d2bd84b70805107cfc1a7c128cc
65
66 -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 03 Dec 2018 13:49:24 +0000
67
68systemd (239-7ubuntu14) disco; urgency=medium
69
70 * Fix compat with new meson.
71 File: debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch
72 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3b764ec1b76768a8c40635019fa5a8acb81b223e
73
74 -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 29 Nov 2018 16:53:00 +0000
75
76systemd (239-7ubuntu13) disco; urgency=medium
77
78 * Stop testing that gdm3 is up.
79 Ubuntu Desktop is only supported on amd64, and on real hardware. Testing that
80 gdm3 fails to start (yet continues to be running, with a half broken logind
81 session) is not useful on dummy xorg video cards in nested VMs.
82 (LP: #1805358)
83 File: debian/tests/control
84 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3006fedda1d1ca3f04c5f593e8018bb6d1196025
85
86 -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 28 Nov 2018 16:02:25 +0000
87
88systemd (239-7ubuntu12) disco; urgency=medium
89
90 * hwdb: Revert wlan keycode changes, rely on xkeyboard-config fixes instead.
91 (LP: #1799364)
92 Author: seb128
93 File: debian/patches/hwdb-revert-airplane-mode-keys-handling-on-Dell.patch
94 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=cabc076fdd67ced21fc789e44e0366a2f561a5bc
95
96 * test: Set executable bits on TEST-22-TMPFILES shell scripts. (LP: #1804864)
97 File: debian/patches/test-Set-executable-bits-on-TEST-22-TMPFILES-shell-script.patch
98 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=0e5b6e44a962f299565949e1006a4ba86d171dc3
99
100 * Switch gbp.conf to disco.
101 File: debian/gbp.conf
102 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=fea585b259e3e766d8d3dbc9690e879c054ddc87
103
104 -- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 23 Nov 2018 18:38:43 +0000
105
106systemd (239-7ubuntu11) disco; urgency=medium
107
108 * hwdb: Fix wlan keycode for all Dell Latitude and Precision systems
109 (LP: #1799364)
110 Author: Shih-Yuan Lee (FourDollars)
111 File: debian/patches/hwdb-Fix-wlan-keycode-for-all-Dell-Latitude-and-Precision.patch
112 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=d8ac9a5640be39ede9cebcd8c4cc44e8811e0e49
113
114 * hwdb: Update PNP IDs of Goldstar (now: LG Electronics) (LP: #1804584)
115 File: debian/patches/hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch
116 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=10204fb5761c759be6ddf27dc43c851ef24c96cb
117
118 * btrfs-util: unbreak tmpfiles' subvol creation
119 File: debian/patches/btrfs-util-unbreak-tmpfiles-subvol-creation.patch
120 https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=4ab5b8275a0487e301553fb6de6a905abb7ea833
121
122 -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 22 Nov 2018 16:30:28 +0000
123>>>>>>> debian/changelog
54124
55systemd (239-7ubuntu10.4) cosmic-security; urgency=medium125systemd (239-7ubuntu10.4) cosmic-security; urgency=medium
56126
diff --git a/debian/extra/dhclient-enter-resolved-hook b/debian/extra/dhclient-enter-resolved-hook
index b504f5b..c2d59e4 100755
--- a/debian/extra/dhclient-enter-resolved-hook
+++ b/debian/extra/dhclient-enter-resolved-hook
@@ -28,6 +28,9 @@ if [ -x /lib/systemd/systemd-resolved ] ; then
28 fi28 fi
29 statedir="/run/systemd/resolved.conf.d"29 statedir="/run/systemd/resolved.conf.d"
30 mkdir -p $statedir30 mkdir -p $statedir
31
32 oldstate="$(mktemp)"
33 md5sum $statedir/isc-dhcp-v4-$interface.conf $statedir/isc-dhcp-v6-$interface.conf &> $oldstate
31 if [ -n "$new_domain_name_servers" ] ; then34 if [ -n "$new_domain_name_servers" ] ; then
32 cat <<EOF >$statedir/isc-dhcp-v4-$interface.conf35 cat <<EOF >$statedir/isc-dhcp-v4-$interface.conf
33[Resolve]36[Resolve]
@@ -50,7 +53,12 @@ Domains=$new_dhcp6_domain_search
50EOF53EOF
51 fi54 fi
52 fi55 fi
53 systemctl try-reload-or-restart systemd-resolved.service56
57 if ! cmp --quiet $oldstate <(md5sum $statedir/isc-dhcp-v4-$interface.conf $statedir/isc-dhcp-v6-$interface.conf 2>&1); then
58 systemctl try-reload-or-restart systemd-resolved.service
59 fi
60
61 rm $oldstate
54 }62 }
55 ;;63 ;;
5664
diff --git a/debian/gbp.conf b/debian/gbp.conf
index 41a8c4c..3a68a3d 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -1,7 +1,7 @@
1[DEFAULT]1[DEFAULT]
2pristine-tar = False2pristine-tar = False
3patch-numbers = False3patch-numbers = False
4debian-branch = ubuntu-cosmic4debian-branch = ubuntu-disco
55
6[dch]6[dch]
7full = True7full = True
diff --git a/debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch b/debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch
8new file mode 1006448new file mode 100644
index 0000000..6d0d8e3
--- /dev/null
+++ b/debian/patches/meson-rename-Ddebug-to-Ddebug-extra.patch
@@ -0,0 +1,41 @@
1From: =?utf-8?q?Zbigniew_J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
2Date: Sun, 19 Aug 2018 19:11:30 +0200
3Subject: meson: rename -Ddebug to -Ddebug-extra
4
5Meson added -Doptimization and -Ddebug options, which obviously causes
6a conflict with our -Ddebug options. Let's rename it.
7
8Fixes #9883.
9
10(cherry picked from commit 8f6b442a78d0b485f044742ad90b2e8271b4e68e)
11---
12 meson.build | 2 +-
13 meson_options.txt | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/meson.build b/meson.build
17index e1dc2ca..bf13664 100644
18--- a/meson.build
19+++ b/meson.build
20@@ -779,7 +779,7 @@ substs.set('DEBUGTTY', get_option('debug-tty'))
21
22 enable_debug_hashmap = false
23 enable_debug_mmap_cache = false
24-foreach name : get_option('debug')
25+foreach name : get_option('debug-extra')
26 if name == 'hashmap'
27 enable_debug_hashmap = true
28 elif name == 'mmap-cache'
29diff --git a/meson_options.txt b/meson_options.txt
30index 16c1f2b..dc7951b 100644
31--- a/meson_options.txt
32+++ b/meson_options.txt
33@@ -46,7 +46,7 @@ option('debug-shell', type : 'string', value : '/bin/sh',
34 description : 'path to debug shell binary')
35 option('debug-tty', type : 'string', value : '/dev/tty9',
36 description : 'specify the tty device for debug shell')
37-option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
38+option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
39 description : 'enable extra debugging')
40 option('memory-accounting-default', type : 'boolean',
41 description : 'enable MemoryAccounting= by default')
diff --git a/debian/patches/series b/debian/patches/series
index 6c7127a..227163f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -46,8 +46,14 @@ exec-util-in-execute_directories-support-initial-exec-env.patch
46core-execute-environment_generators-with-manager-s-enviro.patch46core-execute-environment_generators-with-manager-s-enviro.patch
47core-execute-generators-with-manager-s-environmnet.patch47core-execute-generators-with-manager-s-environmnet.patch
48hwdb-Fix-wlan-keycode-for-all-Dell-Latitude-and-Precision.patch48hwdb-Fix-wlan-keycode-for-all-Dell-Latitude-and-Precision.patch
49<<<<<<< debian/patches/series
49hwdb-revert-airplane-mode-keys-handling-on-Dell.patch50hwdb-revert-airplane-mode-keys-handling-on-Dell.patch
50hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch51hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch
52=======
53hwdb-Update-PNP-IDs-of-Goldstar-now-LG-Electronics-.-1005.patch
54hwdb-revert-airplane-mode-keys-handling-on-Dell.patch
55meson-rename-Ddebug-to-Ddebug-extra.patch
56>>>>>>> debian/patches/series
51resolved-Increase-size-of-TCP-stub-replies.patch57resolved-Increase-size-of-TCP-stub-replies.patch
52debian/Use-Debian-specific-config-files.patch58debian/Use-Debian-specific-config-files.patch
53debian/Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch59debian/Bring-tmpfiles.d-tmp.conf-in-line-with-Debian-defaul.patch

Subscribers

People subscribed via source and target branches