Package: fai-server
Version: 3.2.20
Severity: normal

First, this is my dry run at bug reporting, so I apologize if I borked this 
all up; but i'm pretty sure there's something here.

Running sid system, fully patched, nothing extremely unique about the system.

It seems that 'udevsettle' was depreciated 6+ months ago.  Release 0.141-1 
removed the alias linking 'udevsettle' to an equiv call of 'udevadm settle'.
Reference to the bug/change made here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525955

When using the new storage-setup calls to partition harddrives I receive the
error (approximate, lost runtime logs in /tmp):
"unknown command: udevsettle";
These are triggered from the line:
#249: return &execute_command("udevsettle --timeout=10 && $command", $stdout,
in:
/usr/share/fai/setup-storage/Exec.pm (or the nfsroot equiv on a system being 
built)
hence:
changing the line:
return &execute_command("udevsettle --timeout=10 && $command", $stdout,
to:
return &execute_command("udevadm settle --timeout=10 && $command", $stdout,
resolved our issue.

I beleive a patch would resemble something like the following, but this is
borrowed from my associate who created the diff/patch for our internal usage:

***************
*** 246,252 ****
  
################################################################################
  sub execute_with_udevsettle {
    my ($command, $stdout, $stderr) = @_;
-   return &execute_command("udevsettle --timeout=10 && $command", $stdout,
      $stderr);
  }

--- 246,252 ----
  
################################################################################
  sub execute_with_udevsettle {
    my ($command, $stdout, $stderr) = @_;
+   return &execute_command("udevadm settle --timeout=10 && $command", $stdout,
      $stderr);
  }

hope this is of use, i really didn't see an associated, existing bug and i 
think it stems off of a relatively recent change.  since it affects what
appears to be a hardcoded line in the fai-server package i don't think this
is a file that is created dynamically during installation/etc.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fai-server depends on:
ii  debootstrap                   1.0.13     Bootstrap a basic Debian system
ii  fai-client                    3.2.20     Fully Automatic Installation clien

Versions of packages fai-server recommends:
ii  dhcp3-server               3.1.2-1       DHCP server for automatic IP addre
ii  nfs-kernel-server          1:1.1.6-1     support for NFS kernel server
ii  openbsd-inetd [inet-supers 0.20080125-2  The OpenBSD Internet Superserver
ii  openssh-client             1:5.1p1-5+b1  secure shell client, an rlogin/rsh
ii  openssh-server             1:5.1p1-5+b1  secure shell server, an rshd repla
ii  syslinux-common            2:3.80+dfsg-1 Kernel loader which uses a FAT, ex
ii  tftpd-hpa                  0.49-1        HPA's tftp server

Versions of packages fai-server suggests:
ii  apt-move                  4.2.27-1+b5    Maintain Debian packages in a pack
ii  aptitude                  0.4.11.11-1+b1 terminal-based package manager
pn  debmirror                 <none>         (no description available)
ii  genisoimage               9:1.1.9-1      Creates ISO-9660 CD-ROM filesystem
ii  grub                      0.97-53        GRand Unified Bootloader (Legacy v
pn  libproc-daemon-perl       <none>         (no description available)
pn  perl-tk                   <none>         (no description available)

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to