[issue890] grml-live: FAI softupdate problem

Tong Sun bts at bts.grml.org
Sat Aug 7 05:54:10 CEST 2010


Tong Sun <suntong at cpan.org> added the comment:

Thanks a thousand for your swift respond/fix, mika.

I just tried it, seems that the problem might be further deeper in FAI:

% grml-live-git -c $CLASSES -u -q -n

grml-live-git [0.10.1]: check your configuration (or use -F to force execution):

  FAI classes:       DEPEN_2DESK,RELEASE
  Local config:      /etc/grml/grml-live.local
  main directory:    /dev/shm/gl
  Chroot target:     /dev/shm/gl/grml_chroot
  Build target:      /dev/shm/gl/grml_cd
  ISO target:        /lfs/cache12/systems/distros
  Grml name:         grml
  Release name:      depen_rocks
  Build date:        2010-08-06
  Grml version:      0.0.1
  Debian suite:      sid
  Architecture:      amd64
  Boot method:       grub
  Template files:    /usr/share/grml-live/templates
  Skipping bootid feature.
  Logging to file:   /var/log/grml-live.log
  Executing UPDATE instead of fresh installation.
  Skipping creation of SQUASHFS file.
  Skipping creation of ISO file.

Is this ok for you? [y/N] y

 * Logging actions to logfile /var/log/grml-live.log
             -------------------------------------------------
                   Fully Automatic Installation  -  FAI

                   FAI 3.3.5, 05 Apr 2010   (c) 1999-2009
               Thomas Lange  <lange at informatik.uni-koeln.de>
             -------------------------------------------------
Hostname set to depen

Using configuration files from /etc/grml/fai
Calling task_confdir
FAI_FLAGS:
No monitor daemon defined.
FAI_CONFIG_SRC is set to file:///aufs/gl/m
Using local path /aufs/gl/m as config space.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Calling task_setup
FAI_FLAGS:
Calling task_defclass
List of all classes:  DEPEN_2DESK RELEASE
Calling task_defvar
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=America/Toronto
++ ROOTPW=x
Calling task_action
FAI_ACTION: softupdate
Performing FAI system update. All data may be overwritten!
Calling task_softupdate
Calling task_mirror
Calling task_debconf
Calling task_updatebase
Loading APT key from debian-multimedia.asc OK
Calling task_instsoft
Installing software may take a while
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Exit code task_instsoft: 620
Calling task_configure
Fri Aug  6 23:26:06 EDT 2010
The softupdate took 81 seconds.
Calling task_savelog
End of /usr/sbin/fai
 * Rebuilding initramfs
update-initramfs: Generating /boot/initrd.img-2.6.33-grml64
cryptsetup: WARNING: could not determine root device from /etc/fstab
cat: /proc/cmdline: No such file or directory
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
W: mdadm: failed to auto-generate temporary mdadm.conf file.
W: mdadm: no configuration file available.                               [ ok ]
 * Error: there was a critical error during execution of stage 'fai dirinstall'
 * Note:  check out /var/log/fai/depen/last/ for details. [exit 3]       [ !! ]

$ grep -A7 'taken from FAI' /aufs/gl/m/hooks/updatebase.GRMLBASE
   ## taken from FAI's lib/updatebase:
   # some packages must access /proc even in chroot environment
   mount -t proc proc $FAI_ROOT/proc
   # some packages must access /sys even in chroot environment
   mount -t sysfs sysfs $FAI_ROOT/sys
   # if we are using udev, also mount it into $FAI_ROOT
   [ -f /etc/init.d/udev ] && mount --bind /dev $FAI_ROOT/dev
   mount -t devpts devpts $FAI_ROOT/dev/pts

$ grep -E '/dev|/proc' /var/log/fai/depen/last/software.log
Cannot find /proc/version - is /proc mounted?
/var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
or directory
Cannot find /proc/version - is /proc mounted?
/var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
or directory
/var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
or directory
Cannot find /proc/version - is /proc mounted?
/var/lib/dpkg/info/uswsusp.config: line 21: /dev/stderr: No such file
or directory
ERROR: chroot /dev/shm/gl/grml_chroot aptitude . . .

thanks

On Fri, Aug 6, 2010 at 10:46 PM, Michael Prokop <bts at bts.grml.org> wrote:
>
> Michael Prokop added the comment:
>
> Fixed in git:

----------
assignedto: mika
files: var_log_fai_depen.tgz
messages: 3308, 3309, 3310, 3311
nosy: mika, suntong1
priority: bug
status: fixed-in-git
title: grml-live: FAI softupdate problem

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue890>
_____________________________________


More information about the Bugs-changes mailing list