[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#870513: marked as done (stretch-pu: package cloud-init/0.7.9-2)



Your message dated Sun, 2 Dec 2018 16:47:39 +0100
with message-id <20181202154739.GD20332@tomate.cristau.org>
and subject line Re: Bug#870513: stretch-pu: package cloud-init/0.7.9-2
has caused the Debian Bug report #870513,
regarding stretch-pu: package cloud-init/0.7.9-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
870513: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870513
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Dear stable release team,

Someone discovered that cloud-init, by default, manages the
apt/sources.list and adds contrib and non-free by default.
We consider it as a grave bug which needs to be fixed in
Stretch, especially that cloud-init is typically installed in
VMs that wouldn't need the firmware files from non-free.

Version 0.7.9-2+deb9u1 fixes the debian sources.list template
removing contrib and non-free.

Attached is a debdiff of the proposed changes. The files are
uploaded here if you want to inspect them:

http://sid.gplhost.com/stretch-proposed-updates/cloud-init/

Please allow this upload of 0.7.9-2+deb9u1 in Stretch.

Cheers,

Thomas Goirand (zigo)
diff -Nru cloud-init-0.7.9/debian/changelog cloud-init-0.7.9/debian/changelog
--- cloud-init-0.7.9/debian/changelog	2017-02-02 14:23:41.000000000 +0100
+++ cloud-init-0.7.9/debian/changelog	2017-08-02 20:28:11.000000000 +0200
@@ -1,3 +1,9 @@
+cloud-init (0.7.9-2+deb9u1) stretch; urgency=medium
+
+  * Remove non-free and contrib from sources.list debian template.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 02 Aug 2017 20:28:11 +0200
+
 cloud-init (0.7.9-2) unstable; urgency=medium
 
   * Add net-tools as runtime depends (Closes: #853926).
diff -Nru cloud-init-0.7.9/debian/cloud-init.NEWS cloud-init-0.7.9/debian/cloud-init.NEWS
--- cloud-init-0.7.9/debian/cloud-init.NEWS	1970-01-01 01:00:00.000000000 +0100
+++ cloud-init-0.7.9/debian/cloud-init.NEWS	2017-08-02 20:28:11.000000000 +0200
@@ -0,0 +1,8 @@
+cloud-init default behavior from upstream is to manage sources.list for Debian,
+adding contrib and non-free by default. This is clearly a bug which we have
+fixed. If you need contrib and non-free on your computer running cloud-init,
+then please use /etc/apt/sources.list.d facility, instead of the general file
+in /etc/apt/sources.list, as we changed the behavior. Our appologies for this
+change.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 02 Aug 2017 20:28:11 +0200
diff -Nru cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch
--- cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch	2017-02-02 14:23:41.000000000 +0100
+++ cloud-init-0.7.9/debian/patches/0004-debian-sources.list.patch	2017-08-02 20:28:10.000000000 +0200
@@ -1,17 +1,39 @@
-From 32dd02b4cce53db2e39a1ba62806f7db5d152095 Mon Sep 17 00:00:00 2001
+From 1351a2fba9e74492e790f184a36a2fff978a8984 Mon Sep 17 00:00:00 2001
 From: Charles Plessy <plessy@debian.org>
 Date: Mon, 21 Nov 2016 19:10:47 +0100
 Subject: debian-sources.list
 
 Forwarded: https://bugs.launchpad.net/cloud-init/+bug/1627293
 ---
- templates/sources.list.debian.tmpl | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
+ templates/sources.list.debian.tmpl | 18 ++++++++----------
+ 1 file changed, 8 insertions(+), 10 deletions(-)
 
 diff --git a/templates/sources.list.debian.tmpl b/templates/sources.list.debian.tmpl
-index c8043f76..f4188c73 100644
+index c8043f76..8b119ad4 100644
 --- a/templates/sources.list.debian.tmpl
 +++ b/templates/sources.list.debian.tmpl
+@@ -10,15 +10,15 @@
+ 
+ # See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html
+ # for how to upgrade to newer versions of the distribution.
+-deb {{mirror}} {{codename}} main contrib non-free
+-deb-src {{mirror}} {{codename}} main contrib non-free
++deb {{mirror}} {{codename}} main
++deb-src {{mirror}} {{codename}} main
+ 
+ ## Major bug fix updates produced after the final release of the
+ ## distribution.
+-deb {{security}} {{codename}}/updates main contrib non-free
+-deb-src {{security}} {{codename}}/updates main contrib non-free
+-deb {{mirror}} {{codename}}-updates main contrib non-free
+-deb-src {{mirror}} {{codename}}-updates main contrib non-free
++deb {{security}} {{codename}}/updates main
++deb-src {{security}} {{codename}}/updates main
++deb {{mirror}} {{codename}}-updates main
++deb-src {{mirror}} {{codename}}-updates main
+ 
+ ## Uncomment the following two lines to add software from the 'backports'
+ ## repository.
 @@ -26,7 +26,5 @@ deb-src {{mirror}} {{codename}}-updates main contrib non-free
  ## N.B. software from this repository may not have been tested as
  ## extensively as that contained in the main release, although it includes

--- End Message ---
--- Begin Message ---
On Sun, Sep 10, 2017 at 08:59:19AM +0200, Thomas Goirand wrote:
> On 09/09/2017 03:16 PM, Julien Cristau wrote:
> > Control: tag -1 moreinfo
> > 
> > On Sat, Aug 26, 2017 at 10:56:16 +0200, Thomas Goirand wrote:
> > 
> >> On 08/06/2017 07:12 PM, Jonathan Wiltshire wrote:
> >>> Control: tag -1 moreinfo
> >>>
> >>> On Wed, Aug 02, 2017 at 08:45:57PM +0200, Thomas Goirand wrote:
> >>>> diff -Nru cloud-init-0.7.9/debian/cloud-init.NEWS cloud-init-0.7.9/debian/cloud-init.NEWS
> >>>> --- cloud-init-0.7.9/debian/cloud-init.NEWS	1970-01-01 01:00:00.000000000 +0100
> >>>> +++ cloud-init-0.7.9/debian/cloud-init.NEWS	2017-08-02 20:28:11.000000000 +0200
> >>>> @@ -0,0 +1,8 @@
> >>>> +cloud-init default behavior from upstream is to manage sources.list for Debian,
> >>>> +adding contrib and non-free by default. This is clearly a bug which we have
> >>>> +fixed. If you need contrib and non-free on your computer running cloud-init,
> >>>> +then please use /etc/apt/sources.list.d facility, instead of the generalfile
> >>>> +in /etc/apt/sources.list, as we changed the behavior. Our appologies for this
> >>>> +change.
> >>>> +
> >>>> + -- Thomas Goirand <zigo@debian.org>  Wed, 02 Aug 2017 20:28:11 +0200
> >>>
> >>> Is NEWS the appropriate place for this, or would README or the changelog be
> >>> better? As it will only be shown when upgrading existing systems, this will
> >>> simply be noise (those systems will already have a sources.list).
> >>>
> >>>
> >>> Thanks,
> >>
> >> Hi,
> >>
> >> I have removed the README.Debian file, and re-uploaded to:
> > 
> > Why?  The contents of that README seem harmless, and Jonathan's question
> > was about the change in this specific update, and the NEWS file, not
> > README.Debian.
> 
> Could you please explain *clearly* what the release team wants me to do
> about this? Should I write something in NEWS, README.Debian, or just
> nothing? After reading the above, I'm confused.
> 
I'm confused too.  You added an entry to cloud-init.NEWS.  Which we're
not sure is the right place for this information, so we questioned it.
You replied saying "I've removed some other piece of unrelated
documentation from the package", so now everyone is confused.

In any case, I still think this might break people's configs, so my
recommendation is to leave well enough alone in stretch, and have this
issue fixed in buster.  Closing.

Cheers,
Julien

--- End Message ---

Reply to: