Hi,

Please find a patch removing the automatic setup of waagent from the
postinst script of the package.

It is obviously the very nature of this package to modify the system and
to adapt it to this particular environment, but it is not allowed for
packages to modify other packages files.

The setup command should then be launched after the installation, either
by hand or by an automated configuration handling system, but not by the
package itself.

Note also that this package has no reverse dependancies and could be
soon removed from jessie if its RC bugs are not solved quickly.

Regards,

-- 
Jonathan Dupart
diff -Nru waagent-1.3.2/debian/changelog waagent-1.3.2/debian/changelog
--- waagent-1.3.2/debian/changelog	2013-04-09 15:43:21.000000000 +0200
+++ waagent-1.3.2/debian/changelog	2014-11-15 17:14:21.000000000 +0100
@@ -1,3 +1,10 @@
+waagent (1.3.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not launch the setup in postinst (Closes: #767814)
+
+ -- Jonathan Dupart <jonat...@dupart.org>  Sat, 15 Nov 2014 17:12:38 +0100
+
 waagent (1.3.2-1) unstable; urgency=low
 
   * New upstream release:
diff -Nru waagent-1.3.2/debian/postinst waagent-1.3.2/debian/postinst
--- waagent-1.3.2/debian/postinst	2013-04-12 14:18:46.000000000 +0200
+++ waagent-1.3.2/debian/postinst	2014-11-15 17:12:18.000000000 +0100
@@ -20,7 +20,6 @@
 
 case "$1" in
     configure)
-	waagent --setup --force
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru waagent-1.3.2/debian/README.Debian waagent-1.3.2/debian/README.Debian
--- waagent-1.3.2/debian/README.Debian	1970-01-01 01:00:00.000000000 +0100
+++ waagent-1.3.2/debian/README.Debian	2014-11-15 17:19:57.000000000 +0100
@@ -0,0 +1,5 @@
+waagent must be configured before use :
+
+    waagent --setup --force
+
+be warned that this command will remove and modify files in your system.

Reply via email to