[Python-apps-team] Bug#674237: cloud-init: unowned files after purge (policy 6.8, 10.8): /etc/apt/apt.conf.d/90cloud-init-pipelining

Miguel Landaeta miguel at miguel.cc
Mon Aug 6 02:21:27 UTC 2012


tags 674237 + patch
thanks

On Thu, May 24, 2012 at 03:06:42AM +0200, Andreas Beckmann wrote:
> Package: cloud-init
> Version: 0.6.3-2
> Severity: important
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package left unowned files on
> the system after purge, which is a violation of policy 6.8 (or 10.8):

Hi Charles,

I'm interested on this package and I noticed this bug, so decided to send
a patch.

If you are OK with me joining as maintainer, I can commit this to the repo.

Cheers,

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x6E608B637D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
diff -Nru cloud-init-0.6.3/debian/changelog cloud-init-0.6.3/debian/changelog
--- cloud-init-0.6.3/debian/changelog	2012-05-22 19:59:03.000000000 -0430
+++ cloud-init-0.6.3/debian/changelog	2012-08-05 21:19:03.000000000 -0430
@@ -1,3 +1,12 @@
+cloud-init (0.6.3-3) UNRELEASED; urgency=low
+
+  * Remove unowned files in /etc/apt/apt.conf.d/ after purge. (Closes: #674237).
+  * Fix versioned dependency on ifupdown, otherwise is uninstallable.
+  * Fix Vcs-Svn URL.
+  * Add myself as Uploader.
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Sun, 05 Aug 2012 21:15:36 -0430
+
 cloud-init (0.6.3-2) experimental; urgency=low
 
   * First version in Debian (Closes: #672375).
diff -Nru cloud-init-0.6.3/debian/cloud-init.postrm cloud-init-0.6.3/debian/cloud-init.postrm
--- cloud-init-0.6.3/debian/cloud-init.postrm	2012-05-10 18:19:41.000000000 -0430
+++ cloud-init-0.6.3/debian/cloud-init.postrm	2012-08-05 21:11:07.000000000 -0430
@@ -5,6 +5,7 @@
 case "$1" in
    purge)
       rm -f /etc/cloud/cloud.cfg.d/90_dpkg.cfg
+      rm -f /etc/apt/apt.conf.d/90cloud-init-pipelining
       ;;
    remove)
       dpkg-divert --package cloud-init --remove --rename --divert \
diff -Nru cloud-init-0.6.3/debian/control cloud-init-0.6.3/debian/control
--- cloud-init-0.6.3/debian/control	2012-05-22 19:55:07.000000000 -0430
+++ cloud-init-0.6.3/debian/control	2012-08-05 21:19:29.000000000 -0430
@@ -2,7 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Uploaders: Charles Plessy <plessy at debian.org>
+Uploaders: Charles Plessy <plessy at debian.org>, Miguel Landaeta <miguel at miguel.cc>
 Build-Depends: cdbs (>= 0.4.90~),
                debhelper (>= 9),
                pyflakes,
@@ -12,14 +12,14 @@
                python-mocker,
 Standards-Version: 3.9.3
 Homepage: https://launchpad.net/cloud-init
-Vcs-Svn: svn://svn.debian.org/python-apps/packages/cloud-init/trunk/
+Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/cloud-init/trunk/
 Vcs-Browser: http://svn.debian.org/websvn/python-apps/packages/cloud-init/trunk/
 
 Package: cloud-init
 Architecture: all
 Depends: 
 # cloud-utils,
-         ifupdown (>= 0.6.10ubuntu5),
+         ifupdown (>= 0.6.10),
          procps,
          python,
          python-cheetah,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20120805/99a5224b/attachment.pgp>


More information about the Python-apps-team mailing list