[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512067: debootstrap: sysvinit: init: timeout opening/writing control channel /dev/initctl



Hi,

On Fri, Jan 16, 2009 at 10:24:25PM +0100, Jelle de Jong wrote:

> I: Unpacking the base system...
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> W: Failure while installing base packages.  This will be re-attempted up to five times.
> W: Failure while installing base packages.  This will be re-attempted up to five times.

> init: timeout opening/writing control channel /dev/initctl

That should not be the problem here, as the behaviour is correct. When
installing into the chroot, the currently running init should not be
restarted during configuration of the sysvinit package; the package knows
to ignore this error.

> mount -o bind /dev /mnt/debinst/dev/
> chroot /mnt/debinst/
> unset LANG
> dpkg --configure -a
> dpkg-reconfigure sysvinit

That's not a good idea; there is no guarantee that the outer system's init
is compatible with the chroot's; also, there is no point in restarting the
outer system's init process as it hasn't been changed.

As an optimization, one might think about chroot detection in sysvinit's
postinst so the restart isn't attempted. I'm not convinced this is the
actual reason why configuration fails; rather, I think it might be some
other package that is confused by not having a working /dev (such as a
program in a postinst opening /dev/tty).

   Simon



Reply to: