Merge ~lvoytek/ubuntu/+source/munin:merge-lp1986980-kinetic into ubuntu/+source/munin:debian/sid

Proposed by Lena Voytek
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: Lena Voytek
Merged at revision: a686ce88f2466368afff151ea6df05281587a9cc
Proposed branch: ~lvoytek/ubuntu/+source/munin:merge-lp1986980-kinetic
Merge into: ubuntu/+source/munin:debian/sid
Diff against target: 341 lines (+193/-11)
7 files modified
debian/changelog (+133/-2)
debian/control (+2/-1)
debian/patches/munin-node-configure-doc-fix.patch (+42/-0)
debian/patches/series (+1/-0)
debian/tests/control (+7/-8)
debian/tests/master-cgi-systemd (+4/-0)
debian/tests/master-cron-systemd (+4/-0)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Andreas Hasenack Approve
Canonical Server Pending
Canonical Server Reporter Pending
Review via email: mp+428575@code.launchpad.net

Description of the change

Merging in munin version 2.0.69

PPA: https://launchpad.net/~lvoytek/+archive/ubuntu/munin-merge-kinetic

Test results:

autopkgtest [12:29:13]: @@@@@@@@@@@@@@@@@@@@ summary
master-cron-systemd PASS
master-cgi-systemd PASS
node-systemd PASS
command1 PASS

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This split is incorrect:

commit 1c1d8bc9d4bfb02554b827cd89e8b81e8e6bb793
Author: Lena Voytek <email address hidden>
Date: Thu Aug 18 09:09:51 2022 -0700

    * Stop cron and clean cache before running tests, because cron can also run
      munin

It has in it other changes:
- munin-async.postinst: seems to be "run the setup again, if upgrading from 2.0.37-1"
- d/t/control: seems to be "disable sysv autopkgtests", an added change from a previous merge in groovy

For this split, I think you only want the debian/tests/master-cgi-systemd bit

This commit in split also seems wrong:
commit 30b550c0228789632023ab8154ea448cc37d1408
Author: Lena Voytek <email address hidden>
Date: Thu Aug 18 09:07:23 2022 -0700

    * Add missing test dependency on net-tools for netstat plugin.

As it's also disabling the node-sysv test. That change seems to be part of the "disable sysv autopkgtests" added delta, and should be in that commit.

Feel free to adjust the commit messages to include the files it touched, it will make future merges much easier and cleaner.

review: Needs Fixing
f9a520c... by Lena Voytek

* Add missing test dependency on net-tools for netstat plugin.

89f0180... by Lena Voytek

* Disable sysv autopkgtests

46c43e4... by Lena Voytek

* Stop cron and clean cache before running tests, because cron can also run
  munin

Revision history for this message
Lena Voytek (lvoytek) wrote :

Updated the commits along the merge-lp1986980-kinetic branch to match logical changes

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for the changes, they look good now.

I think we can drop this commit, though:

commit 7dab4c3646abad23c8de74bd091e9ec37b20722b
Author: Lena Voytek <email address hidden>
Date: Tue Aug 23 07:53:21 2022 -0700

    * Run the setup again, if upgrading from 2.0.37-1

It was flagged in previous uploads as droppable after 20.04LTS (bionic) was released. For example, in 2.0.56-1ubuntu1 (in focal):

munin (2.0.56-1ubuntu1) focal; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - Run the setup again, if upgrading from 2.0.37-1. This change can be
      dropped after the Ubuntu 20.04 LTS release.
(...)

In fact, the current version that sits in kinetic says in d/changelog that this was dropped, but it wasn't:

munin (2.0.57-1ubuntu1) groovy; urgency=medium

  * Merge from Debian unstable
    - Remaining changes:
      * Add missing test dependency on net-tools for netstat plugin.
      * Stop cron and clean cache before running tests, because cron
        can also run munin
    - Dropped changes:
      * Run the setup again, if upgrading from 2.0.37-1 <======
   * Disable sysv autopkgtests

 -- Balint Reczey <email address hidden> Thu, 07 May 2020 14:42:21 +0200

The reason it can be dropped after 20.04 is because the last ubuntu version that had version 2.0.37-1 was 18.04, and the only upgrade path available to it is to go to 20.04, which still has that fix. So from there on it's not needed anymore.

review: Needs Fixing
Revision history for this message
Lena Voytek (lvoytek) wrote :

Alright, removed the commit and marked it in the changelog

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Great, just a nit in d/changelog and then I can upload this

Revision history for this message
Lena Voytek (lvoytek) wrote :

done

Revision history for this message
Andreas Hasenack (ahasenack) :
a686ce8... by Lena Voytek

changelog

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1, uploading

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Uploading munin_2.0.69-1ubuntu1.dsc
Uploading munin_2.0.69.orig.tar.gz
Uploading munin_2.0.69-1ubuntu1.debian.tar.xz
Uploading munin_2.0.69-1ubuntu1_source.buildinfo
Uploading munin_2.0.69-1ubuntu1_source.changes

Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: ahasenack, lvoytek
Uploaders: ahasenack
MP auto-approved

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

The package migrated, please mark this MP as "merged", thanks

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 f6c356c..0ddb42a 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,22 @@
6+munin (2.0.69-1ubuntu1) kinetic; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #1986980). Remaining changes:
9+ - Add missing test dependency on net-tools for netstat plugin.
10+ - Disable sysv autopkgtests
11+ - Stop cron and clean cache before running tests, because cron can also run
12+ munin
13+ - Run the setup again, if upgrading from 2.0.37-1
14+ - d/p/munin-node-configure-doc-fix.patch: Remove deprecated argument
15+ exitnoerror and update some snmp arguments to match their correct naming.
16+ (LP #1680975)
17+ * Dropped changes:
18+ - Run the setup again, if upgrading from 2.0.37-1
19+ * New Changes:
20+ - d/p/munin-node-configure-doc-fix.patch: Refresh patch as it was partially
21+ fixed upstream
22+
23+ -- Lena Voytek <lena.voytek@canonical.com> Thu, 18 Aug 2022 09:36:18 -0700
24+
25 munin (2.0.69-1) unstable; urgency=medium
26
27 [ Holger Levsen ]
28@@ -104,6 +123,27 @@ munin (2.0.63-1) unstable; urgency=medium
29
30 -- Holger Levsen <holger@debian.org> Tue, 09 Jun 2020 01:55:12 +0200
31
32+munin (2.0.57-1ubuntu2) jammy; urgency=medium
33+
34+ * d/p/munin-node-configure-doc-fix.patch: Remove deprecated argument
35+ exitnoerror and update some snmp arguments to match their correct naming.
36+ (LP: #1680975)
37+
38+ -- Lena Voytek <lena.voytek@canonical.com> Fri, 12 Nov 2021 15:27:50 -0700
39+
40+munin (2.0.57-1ubuntu1) groovy; urgency=medium
41+
42+ * Merge from Debian unstable
43+ - Remaining changes:
44+ * Add missing test dependency on net-tools for netstat plugin.
45+ * Stop cron and clean cache before running tests, because cron
46+ can also run munin
47+ - Dropped changes:
48+ * Run the setup again, if upgrading from 2.0.37-1
49+ * Disable sysv autopkgtests
50+
51+ -- Balint Reczey <rbalint@ubuntu.com> Thu, 07 May 2020 14:42:21 +0200
52+
53 munin (2.0.57-1) unstable; urgency=medium
54
55 [ Lars Kruse ]
56@@ -124,7 +164,18 @@ munin (2.0.57-1) unstable; urgency=medium
57 * d/tests (sysvinit): wait for all init scripts to be finished before
58 starting any tests (Closes: #949887)
59
60- -- Holger Levsen <holger@debian.org> Sat, 14 Mar 2020 18:59:29 +0100
61+ -- Balint Reczey <rbalint@ubuntu.com> Thu, 07 May 2020 13:19:58 +0200
62+
63+munin (2.0.56-1ubuntu1) focal; urgency=medium
64+
65+ * Merge from Debian unstable. Remaining changes:
66+ - Run the setup again, if upgrading from 2.0.37-1. This change can be
67+ dropped after the Ubuntu 20.04 LTS release.
68+ - Add missing test dependency on net-tools for netstat plugin.
69+ - Stop cron and clean cache before running tests, because cron can also run
70+ munin
71+
72+ -- Balint Reczey <rbalint@ubuntu.com> Fri, 14 Feb 2020 12:25:00 +0100
73
74 munin (2.0.56-1) unstable; urgency=medium
75
76@@ -138,6 +189,24 @@ munin (2.0.56-1) unstable; urgency=medium
77
78 -- Holger Levsen <holger@debian.org> Sat, 08 Feb 2020 00:08:10 +0100
79
80+munin (2.0.54-1ubuntu2) focal; urgency=medium
81+
82+ * Stop cron and clean cache before running tests, because cron can also run
83+ munin
84+
85+ -- Balint Reczey <rbalint@ubuntu.com> Thu, 13 Feb 2020 19:45:12 +0100
86+
87+munin (2.0.54-1ubuntu1) focal; urgency=low
88+
89+ * Merge from Debian unstable. Remaining changes:
90+ - Run the setup again, if upgrading from 2.0.37-1. This change can be
91+ dropped after the Ubuntu 20.04 LTS release.
92+ - Add missing test dependency on net-tools for netstat plugin.
93+ * Dropped changes, included in Debian:
94+ - Drop sysvinit autopkgtests, sysvinit is not supported in Ubuntu.
95+
96+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 01 Feb 2020 12:56:26 -0800
97+
98 munin (2.0.54-1) unstable; urgency=medium
99
100 * New upstream release, drop debian/patches merged upstream.
101@@ -168,6 +237,16 @@ munin (2.0.52-1) unstable; urgency=medium
102
103 -- Holger Levsen <holger@debian.org> Tue, 14 Jan 2020 13:39:41 +0100
104
105+munin (2.0.51-1ubuntu1) focal; urgency=low
106+
107+ * Merge from Debian unstable. Remaining changes:
108+ - Run the setup again, if upgrading from 2.0.37-1. This change can be
109+ dropped after the Ubuntu 20.04 LTS release.
110+ - Add missing test dependency on net-tools for netstat plugin.
111+ - Drop sysvinit autopkgtests, sysvinit is not supported in Ubuntu.
112+
113+ -- Steve Langasek <steve.langasek@ubuntu.com> Sat, 19 Oct 2019 23:54:59 -0700
114+
115 munin (2.0.51-1) unstable; urgency=medium
116
117 * New upstream bugfix release.
118@@ -187,6 +266,16 @@ munin (2.0.50-1) unstable; urgency=medium
119
120 -- Holger Levsen <holger@debian.org> Thu, 17 Oct 2019 11:18:09 +0200
121
122+munin (2.0.49-3ubuntu1) eoan; urgency=low
123+
124+ * Merge from Debian unstable. Remaining changes:
125+ - Run the setup again, if upgrading from 2.0.37-1. This change can be
126+ dropped after the Ubuntu 20.04 LTS release.
127+ - Add missing test dependency on net-tools for netstat plugin.
128+ - Drop sysvinit autopkgtests, sysvinit is not supported in Ubuntu.
129+
130+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 16 Aug 2019 00:44:38 -0700
131+
132 munin (2.0.49-3) unstable; urgency=medium
133
134 [ Lars Kruse ]
135@@ -226,6 +315,16 @@ munin (2.0.49-2) unstable; urgency=medium
136
137 -- Holger Levsen <holger@debian.org> Sun, 04 Aug 2019 11:21:12 -0300
138
139+munin (2.0.49-1ubuntu1) eoan; urgency=low
140+
141+ * Merge from Debian unstable. Remaining changes:
142+ - Run the setup again, if upgrading from 2.0.37-1. This change can be
143+ dropped after the Ubuntu 20.04 LTS release.
144+ - Add missing test dependency on net-tools for netstat plugin.
145+ - Drop sysvinit autopkgtests, sysvinit is not supported in Ubuntu.
146+
147+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 14 Jun 2019 14:36:42 -0700
148+
149 munin (2.0.49-1) unstable; urgency=medium
150
151 [ Lars Kruse ]
152@@ -261,6 +360,29 @@ munin (2.0.49-1) unstable; urgency=medium
153
154 -- Holger Levsen <holger@debian.org> Thu, 16 May 2019 01:21:08 +0200
155
156+munin (2.0.47-1ubuntu3) disco; urgency=medium
157+
158+ * Add missing test dependency on net-tools for netstat plugin.
159+
160+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 12 Apr 2019 17:33:48 -0700
161+
162+munin (2.0.47-1ubuntu2) disco; urgency=medium
163+
164+ * Drop sysvinit autopkgtests, sysvinit is not supported in Ubuntu.
165+
166+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 12 Apr 2019 15:01:41 -0700
167+
168+munin (2.0.47-1ubuntu1) disco; urgency=low
169+
170+ * Merge from Debian unstable. Remaining changes:
171+ - Run the setup again, if upgrading from 2.0.37-1. This change can be
172+ dropped after the Ubuntu 20.04 LTS release.
173+ * Dropped changes, included in Debian:
174+ - Revert more of f1f48dee so that directories are again setup correctly on
175+ initial installations of munin-node and munin-async.
176+
177+ -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 12 Apr 2019 12:31:44 -0700
178+
179 munin (2.0.47-1) unstable; urgency=medium
180
181 [ Holger Levsen ]
182@@ -499,6 +621,14 @@ munin (2.0.37-2) unstable; urgency=medium
183
184 -- Holger Levsen <holger@debian.org> Wed, 30 May 2018 23:41:48 +0000
185
186+munin (2.0.37-1ubuntu1) cosmic; urgency=medium
187+
188+ * Revert more of f1f48dee so that directories are again setup correctly on
189+ initial installations of munin-node and munin-async. (LP: #1770569)
190+ - Run the setup again, if upgrading from 2.0.37-1.
191+
192+ -- Stefano Rivera <stefanor@ubuntu.com> Thu, 10 May 2018 23:49:23 -0700
193+
194 munin (2.0.37-1) unstable; urgency=medium
195
196 * New upstream version 2.0.37.
197@@ -2088,7 +2218,7 @@ munin (1.2.3-3) unstable; urgency=medium
198
199 * server/munin-graph.in, debian/control:
200 - Replaced the patch from 1.2.3-2 with the upstream one from SVN revision
201- 954. This re-enables support for RRDtool 1.0, so the versioned
202+ 1. This re-enables support for RRDtool 1.0, so the versioned
203 dependency on librrds-perl is dropped.
204
205 * server/munin-cron.in:
206@@ -2597,3 +2727,4 @@ lrrd (0.9.6-1) unstable; urgency=low
207 * Initial release, closes: #169079.
208
209 -- Tore Anderson <tore@linpro.no> Sat, 31 May 2003 17:15:35 +0200
210+
211diff --git a/debian/control b/debian/control
212index 7b1d91b..5536c2f 100644
213--- a/debian/control
214+++ b/debian/control
215@@ -1,7 +1,8 @@
216 Source: munin
217 Section: net
218 Priority: optional
219-Maintainer: Munin Debian Maintainers <team+munin@tracker.debian.org>
220+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
221+XSBC-Original-Maintainer: Munin Debian Maintainers <team+munin@tracker.debian.org>
222 Uploaders: Holger Levsen <holger@debian.org>,
223 Stig Sandbeck Mathisen <ssm@debian.org>
224 Build-Depends-Indep:
225diff --git a/debian/patches/munin-node-configure-doc-fix.patch b/debian/patches/munin-node-configure-doc-fix.patch
226new file mode 100644
227index 0000000..cc1cb01
228--- /dev/null
229+++ b/debian/patches/munin-node-configure-doc-fix.patch
230@@ -0,0 +1,42 @@
231+Description: Edit munin-node-configure documentation to match correct arguments
232+Author: Lena Voytek <lena.voytek@canonical.com>
233+Bug: https://github.com/munin-monitoring/munin/issues/1341
234+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1680975
235+Last-Update: 2022-08-18
236+---
237+This patch combines the upstream patch referenced above, which removes the exitnoerror info, with
238+a custom patch that modifies the snmp argument names.
239+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
240+--- a/node/sbin/munin-node-configure
241++++ b/node/sbin/munin-node-configure
242+@@ -612,17 +612,17 @@
243+
244+ Username. There is no default.
245+
246+-=item B<< --snmpauthpassword <password> >>
247++=item B<< --snmpauthpass <password> >>
248+
249+ Authentication password. Optional when encryption is also enabled, in which
250+-case defaults to the privacy password (C<--snmpprivpassword>).
251++case defaults to the privacy password (C<--snmpprivpass>).
252+
253+-=item B<< --snmpauthprotocol <protocol> >>
254++=item B<< --snmpauthproto <protocol> >>
255+
256+ Authentication protocol. One of 'md5' or 'sha' (HMAC-MD5-96, RFC1321 and
257+ SHA-1/HMAC-SHA-96, NIST FIPS PIB 180, RFC2264). ['md5']
258+
259+-=item B<< --snmpprivpassword <password> >>
260++=item B<< --snmpprivpass <password> >>
261+
262+ Privacy password to enable encryption. There is no default. An empty ('')
263+ password is considered as no password and will not enable encryption.
264+@@ -631,7 +631,7 @@
265+ but all of these are defaulted (to 'des', 'md5', and the privpassword value,
266+ respectively) and may therefore be left unspecified.
267+
268+-=item B<< --snmpprivprotocol <protocol> >>
269++=item B<< --snmpprivproto <protocol> >>
270+
271+ If the privpassword is set this setting controls what kind of encryption is
272+ used to achieve privacy in the session. Only the very weak 'des' encryption
273diff --git a/debian/patches/series b/debian/patches/series
274new file mode 100644
275index 0000000..9116287
276--- /dev/null
277+++ b/debian/patches/series
278@@ -0,0 +1 @@
279+munin-node-configure-doc-fix.patch
280diff --git a/debian/tests/control b/debian/tests/control
281index 55f7fd9..e50ec66 100644
282--- a/debian/tests/control
283+++ b/debian/tests/control
284@@ -30,9 +30,9 @@ Depends: munin, munin-node, daemontools, apache2, curl, file, libcgi-fast-perl,
285 Restrictions: needs-root, breaks-testbed, isolation-container
286
287 # sysvinit-core
288-Tests: master-cron-sysv, master-cgi-sysv
289-Depends: munin, munin-node, daemontools, apache2, curl, file, libcgi-fast-perl, psmisc, sharness, sysvinit-core, cron
290-Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, allow-stderr, skip-not-installable
291+#Tests: master-cron-sysv, master-cgi-sysv
292+#Depends: munin, munin-node, daemontools, apache2, curl, file, libcgi-fast-perl, psmisc, sharness, sysvinit-core, #cron
293+#Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, allow-stderr, skip-not-installable
294
295
296 # Tests for munin-node:
297@@ -45,14 +45,13 @@ Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, all
298
299 # systemd
300 Tests: node-systemd
301-Depends: munin-node, netcat-openbsd, sharness, systemd-sysv
302+Depends: munin-node, netcat-openbsd, sharness, net-tools, systemd-sysv
303 Restrictions: needs-root, breaks-testbed, isolation-container
304
305 # sysvinit-core
306-Tests: node-sysv
307-Depends: munin-node, netcat-openbsd, sharness, sysvinit-core, cron
308-Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, allow-stderr, skip-not-installable
309-
310+#Tests: node-sysv
311+#Depends: munin-node, netcat-openbsd, sharness, net-tools, sysvinit-core, cron
312+#Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, allow-stderr, skip-not-installable
313
314 # verify that all binary packages can be installed at the same time (without conflicts)
315 Test-Command: true
316diff --git a/debian/tests/master-cgi-systemd b/debian/tests/master-cgi-systemd
317index 9384c3d..9d940b7 100755
318--- a/debian/tests/master-cgi-systemd
319+++ b/debian/tests/master-cgi-systemd
320@@ -1,5 +1,9 @@
321 #!/bin/sh
322
323+# set up clean env for testing the scripts
324+service cron stop
325+rm -rf /var/cache/munin/www/*
326+
327 . debian/tests/switch_init_helper.inc
328 . debian/tests/enable_cgi_strategy.inc
329
330diff --git a/debian/tests/master-cron-systemd b/debian/tests/master-cron-systemd
331index 7f90de5..d985f21 100755
332--- a/debian/tests/master-cron-systemd
333+++ b/debian/tests/master-cron-systemd
334@@ -1,5 +1,9 @@
335 #!/bin/sh
336
337+# set up clean env for testing the scripts
338+service cron stop
339+rm -rf /var/cache/munin/www/*
340+
341 . debian/tests/switch_init_helper.inc
342
343

Subscribers

People subscribed via source and target branches