View Issue Details

IDProjectCategoryView StatusLast Update
0004367CentOS-5anaconda-runtimepublic2010-06-07 20:55
ReporterRich Karhuse 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.5 
Target VersionFixed in Version 
Summary0004367: Some commands missing during anaconda installation.
DescriptionIf you re-build an ISO image using "buildinstall", some
of the busybox-anaconda symbolic links for commands may
be missing in the stage2.img.

Additional InformationRe-build the ISO image using buildinstall which will call
upd-instroot which calls scrubtree. One function of scrubtree
is to create symbolic links for all the busybox-anaconda
commands. Some of the busybox commands have hyphen or minus
signs ("-") in there name [e.g.: dpkg-deb, ether-wake, run-parts
and start-stop-daemon].

Due to an error in the regular-expression, none of these
commands are recognized and included. Moreover, *ALL* of the other
commands on the same line as these commands are not included.
Based on the ENV, term settings, etc. of when the buildinstall
is executed, a varying list of commands are "missing" from
the anaconda installation runtime.

The solution is a one-character "fix" (e.g,: add the "-"
to the set of valid file names):

*** /usr/lib/anaconda-runtime/scrubtree 2010-04-25 00:21:37.000000000 -0400
--- scrubtree 2010-06-07 15:17:00.000000000 -0400
*************** rm $p/etc/ld.so.conf
*** 47,53 ****
  #
  mv $p/usr/sbin/busybox.anaconda $p/usr/bin/busybox
  (cd $p/usr/bin;
! set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\.\[]+,)+/' | sed 's/,//g' | sed 's/ +//');
  dontclobber=(sh busybox reboot shutdown poweroff)
  while [ -n "$1" ]; do
      save=
--- 47,54 ----
  #
  mv $p/usr/sbin/busybox.anaconda $p/usr/bin/busybox
  (cd $p/usr/bin;
! # One character fix (missing - in name search):
! set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\.\[\-]+,)+/' | sed 's/,//g' | sed 's/ +//');
  dontclobber=(sh busybox reboot shutdown poweroff)
  while [ -n "$1" ]; do
      save=


TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-06-07 20:55 Rich Karhuse New Issue