tags 543938 unreproducible moreinfo thanks On Thu, Aug 27 2009, Philipp Kern wrote:
> I just tried to install kfreebsd-amd64 using d-i and debootstrap bailed > out due to libsepol1 failing to configure: > debootstrap: Setting up libsepol1 (2.0.37-2) > debootstrap: telinit: > debootstrap: /etc/.initctl: No such file or directory > debootstrap: dpkg: error processing libsepol1 (--configure): > debootstrap: subprocess installed post-installation script error exit status > 1 > > I suspect that the recently uploaded version broke this. Well, I can't reproduce this,this might be a freebsd thing. I just created a debootstrapped file, and it went off with no issues. --8<---------------cut here---------------start------------->8--- I: Retrieving libsepol1 I: Validating libsepol1 I: Extracting libsepol1... I: Unpacking libsepol1... I: Configuring libsepol1... --8<---------------cut here---------------end--------------->8--- Now, the psotinst has this clause: --8<---------------cut here---------------start------------->8--- if [ -x /sbin/init ] && [ -x /bin/readlink ] && [ -d /proc/1 ] ; then if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then # the devicenumber/inode pair of / is the same as that of # /sbin/init's root, so we're *not* in a chroot # Use telinit if available, it is better form, according # to the sysvinit maintainer. if [ -x /sbin/telinit ]; then (telinit u ; sleep 1) else (init u ; sleep 1) fi fi fi --8<---------------cut here---------------end--------------->8--- Which checks if the inode of / is the same as the inode of /proc/1/root. No /proc/1, no telinit call. Why is this not working in our case? Can you create a chroot like debootstrap does and run that manually? manoj -- Everything might be different in the present if only one thing had been different in the past. Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org