tag 601001 patch thanks here's the patch.
-- Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: [email protected] Internet: http://people.panthera-systems.net/~daniel-baumann/
>From 1990cd42d0338017d7839232090da731acba503b Mon Sep 17 00:00:00 2001 From: Daniel Baumann <[email protected]> Date: Fri, 22 Oct 2010 13:31:27 +0200 Subject: [PATCH] Disabling unneeded checkroot initscript (Closes: #601001). --- debian/patches/disable-checkroot | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 debian/patches/disable-checkroot diff --git a/debian/patches/disable-checkroot b/debian/patches/disable-checkroot new file mode 100644 index 0000000..8540553 --- /dev/null +++ b/debian/patches/disable-checkroot @@ -0,0 +1,14 @@ +Author: Daniel Baumann <[email protected]> +Description: Disabling unneeded checkroot initscript (Closes: #601001). + +diff -Naurp lxc.orig/templates/lxc-debian.in lxc/templates/lxc-debian.in +--- lxc.orig/templates/lxc-debian.in 2010-10-22 13:27:59.094724907 +0200 ++++ lxc/templates/lxc-debian.in 2010-10-22 13:28:37.705710326 +0200 +@@ -82,6 +82,7 @@ EOF + fi + + # remove pointless services in a container ++ chroot $rootfs /usr/sbin/update-rc.d -f checkroot remove + chroot $rootfs /usr/sbin/update-rc.d -f umountfs remove + chroot $rootfs /usr/sbin/update-rc.d -f hwclock.sh remove + chroot $rootfs /usr/sbin/update-rc.d -f hwclockfirst.sh remove diff --git a/debian/patches/series b/debian/patches/series index f2fb12c..c178b17 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ debian-changes-0.7.2-1 upstream-container-architecture upstream-debian-suite squeeze-tty +disable-checkroot -- 1.7.2.3

