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

Bug#390401: Same problem, maybe fixed



martin f krafft wrote:
> Actually, I am not sure whether it has been fixed, since your fix
> is simply to mount /proc, while my solution has nothing to do with
> /proc, at least not directly.
> 
> Would it be possible for you to reproduce this problem and make the
> output of
> 
> DEBIAN_HAS_FRONTEND=1 sh -x /var/lib/dpkg/info/mdadm.postinst configure
> 
> available to me?

Hi Martin,

Mounting /proc is just a habit -- the actual fix was using
DEBIAN_HAS_FRONTEND=1.

I did a new install (on i386 this time, previously I've been on
amd64), with the disk split into a root and RAID1 partition to ensure
mdadm would be installed.  It failed during base install, at which
point I ran:
  
  mkdir /target/install-log
  mount > /target/install-log/mount
  cat /proc/partitions > /target/install-log/partitions
  cp -r /var/log /target/install-log/varlog
  chroot /target
  sh -x /var/lib/dpkg/info/mdadm.postinst configure >/install-log/config.txt 2>&1
  exit
  umount /target/raid
  umount /target

then put the disk in another machine and tarred it up.  I didn't run
mdadm.postinst with DEBIAN_HAS_FRONTEND=1 because I wanted to leave
things in the broken state, but I can do it again if that'll help.
The file is here (86M):

  http://jim.sh/~jim/tmp/target.tar.gz

Let me know if there's anything else I should try.

-jim





Reply to: