[Pkg-sysvinit-devel] Bug#596284: sysvinit: Doesn't install with debootstrap --variant=fakechroot

Piotr Roszatycki dexter at debian.org
Thu Sep 9 23:13:11 UTC 2010


Package: sysvinit
Version: 2.88dsf-12
Tags: patch

The sysvinit package can not be installed with debootstrap
--variant=fakechroot because of:

Setting up sysvinit (2.88dsf-12) ...
sysvinit: creating /dev/initctl
mkfifo: cannot create fifo `/dev/initctl': Permission denied
dpkg: error processing sysvinit (--configure):
 subprocess installed post-installation script returned error exit status 1

I suggest that sysvinit.postinst shouldn't create this file if the
fakechroot environment is detected:

--- sysvinit.postinst 2010-08-15 21:38:01.000000000 +0200
+++ sysvinit.postinst.fakechroot 2010-09-10 01:11:28.926648496 +0200
@@ -28,7 +28,7 @@
 #
 # Check /dev/initctl
 #
-if [ "$INITCTL" ] && [ ! -p "$INITCTL" ]
+if [ "$INITCTL" ] && [ ! -p "$INITCTL" ] && [ "$FAKECHROOT" != true ]
 then
  echo "sysvinit: creating $INITCTL"
  rm -f $INITCTL


There is no easy way to override it in fakechroot or debootstrap and I'm
afraid that sysvinit package it is only reason that Debian sid can't be set
up with fakechroot variant.

Thank you.

-- 
 .''`.    Piotr Roszatycki
: :' :    mailto:Piotr.Roszatycki at gmail.com
`. `'     mailto:dexter at debian.org
  `-
bsp; `-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100910/e63a925c/attachment.htm>


More information about the Pkg-sysvinit-devel mailing list