Bug 181365

Summary: updateDiskless should handle required program unresolved library dependencies and script / link replacement properly
Product: [Fedora] Fedora Reporter: Jason Vas Dias <jvdias>
Component: system-config-netbootAssignee: Fabio Olive Leite <fleite>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-17 10:55:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Vas Dias 2006-02-13 18:30:06 UTC
Description of problem:

-------- Original Message --------
Subject:        system-config-netboot error
Date:   Wed, 01 Feb 2006 18:14:51 -0800
From:   f1 <f1>
Reply-To:       f1
To:     dwalsh

Hi,
I'm trying to create a diskless server.
using the rsync command line I copied the the files to /tftpboot/root.

All goes well until I click apply - error:

/bin/cp: cannot stat `/tmp/tftpboot/root/not': No such file or directory
Copying required libraries to initrd failed.

I'm not sure what to do about this.

How reproducible:
100%

Steps to Reproduce:
Create a client root where one of the binaries required for the initrd.img
has missing library dependencies or has been replaced by a script - ie one
of :
/sbin/busybox.anaconda /sbin/insmod /sbin/modprobe /sbin/rmmod /sbin/dhclient
/bin/bash /bin/mount /sbin/route /sbin/ip /usr/bin/expr /sbin/lspci
/sbin/ifconfig /sbin/consoletype /sbin/pivot_root /bin/hostname /bin/domainname
/usr/bin/host
  
Actual results:
updateDiskless terminates with cryptic error message:
"cannot stat `/tmp/tftpboot/root/not': No such file or directory
 Copying required libraries to initrd failed. 
"

Expected results:
updateDiskless should report details of missing libraries, and not attempt
to run ldd on programs that are not binary executables.

Comment 1 Jason Vas Dias 2006-02-13 18:31:38 UTC
Unresolved library dependencies issue fixed with system-config-netboot-0.1.37-1 .
Required program replacement by script or link issue fixed with s-c-nb-0.1.38-1 .


Comment 2 Fedora Update System 2006-03-01 22:01:13 UTC
From User-Agent: XML-RPC

system-config-netboot-0.1.38-2_FC4 has been pushed for FC4, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.