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.roszaty...@gmail.com
`. `'     mailto:dex...@debian.org
  `-
bsp; `-

Reply via email to