[Initscripts-ng-commits] r1114 - in /trunk/src/insserv/debian: changelog control patches/200_hide_insserv_on_ubuntu.patch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Wed Apr 16 21:57:57 UTC 2014


Author: pere
Date: Wed Apr 16 21:57:57 2014
New Revision: 1114

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=1114
Log:
Add 200_hide_insserv_on_ubuntu.patch to make sure insserv isn't in
the default PATH, and break sysv-rc (<< 2.88dsf-53) to ensure a new version
of sysvinit is used with this version of the insserv package.

Added:
    trunk/src/insserv/debian/patches/200_hide_insserv_on_ubuntu.patch
Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/control

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=1114&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog	(original)
+++ trunk/src/insserv/debian/changelog	Wed Apr 16 21:57:57 2014
@@ -1,3 +1,11 @@
+insserv (1.16.0-5) UNRELEASED; urgency=low
+
+  * Add 200_hide_insserv_on_ubuntu.patch to make sure insserv isn't in
+    the default PATH, and break sysv-rc (<< 2.88dsf-53) to ensure a new version
+    of sysvinit is used with this version of the insserv package.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Wed, 16 Apr 2014 23:56:00 +0200
+
 insserv (1.16.0-4) experimental; urgency=low
 
   * Disable systemd integration completely until bug #738775 is properly

Modified: trunk/src/insserv/debian/control
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/control?rev=1114&op=diff
==============================================================================
--- trunk/src/insserv/debian/control	(original)
+++ trunk/src/insserv/debian/control	Wed Apr 16 21:57:57 2014
@@ -17,7 +17,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: bootchart2
-Breaks: sysv-rc (<< 2.87dsf-3)
+Breaks: sysv-rc (<< 2.88dsf-53)
 Description: boot sequence organizer using LSB init.d script dependency information
  The insserv program is used by the standard SysV-based init system. It
  updates the order of symlinks in /etc/rc?.d/ based on dependencies

Added: trunk/src/insserv/debian/patches/200_hide_insserv_on_ubuntu.patch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/200_hide_insserv_on_ubuntu.patch?rev=1114&op=file
==============================================================================
--- trunk/src/insserv/debian/patches/200_hide_insserv_on_ubuntu.patch	(added)
+++ trunk/src/insserv/debian/patches/200_hide_insserv_on_ubuntu.patch	Wed Apr 16 21:57:57 2014
@@ -0,0 +1,27 @@
+Description: Move insserv binaries out of the default path
+ On Ubuntu, running insserv directly can devastate your boot and
+ shutdown sequence. This can cause many problems, including data loss
+ and incomplete migrations on upgrades (such as the /run migration)
+ .
+ Since 3rd-party software packages are known to run insserv directly
+ if it's available, this patch makes it unavailable by moving it to
+ /usr/lib, where it can't cause as much trouble.
+Author: Adam Stokes <adam.stokes at canonical.com>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/insserv/+bug/858122
+Acked-by: Evan Broder <evan at ebroder.net>
+Forwarded: not-needed
+Last-Update: 2012-02-15
+
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -53,7 +53,7 @@
+ 	   LINK = ln -sf
+ #
+ 	SDOCDIR = $(DESTDIR)/usr/share/man/man8
+-	SBINDIR = $(DESTDIR)/sbin
++	SBINDIR = $(DESTDIR)/usr/lib/insserv
+ 	CONFDIR = $(DESTDIR)/etc
+ 	 LSBDIR = $(DESTDIR)/lib/lsb
+       USRLSBDIR = $(DESTDIR)/usr/lib/lsb




More information about the Initscripts-ng-commits mailing list