Hi,
I've been building a FC13 liveCD to showcase our OpenSpeedShop performance tool.
The process was working well and I was creating liveCDs that I could boot and exercise our tool. Then, I'm not sure what happened, as now I see this when trying to build the liveCD:
Installing: libICE ################### [ 69/1129] Installing: info ################### [ 70/1129] sh: uname: command not found Installing: popt ################### [ 71/1129] Installing: chkconfig ################### [ 72/1129] Installing: libcom_err ################### [ 73/1129] Installing: readline ################### [ 74/1129] sh: uname: command not found Installing: sqlite ################### [ 75/1129]
and
Installing: libdwarf ################### [ 239/1129] sh: uname: command not found /home/jeg/OpenSpeedShop/liveOSS/INSTALL/rpm-tmp.kepEKp: line 6: chmod: command not found /home/jeg/OpenSpeedShop/liveOSS/INSTALL/rpm-tmp.kepEKp: line 7: chmod: command not found /home/jeg/OpenSpeedShop/liveOSS/INSTALL/rpm-tmp.kepEKp: line 8: chmod: command not found /home/jeg/OpenSpeedShop/liveOSS/INSTALL/rpm-tmp.kepEKp: line 9: chmod: command not found /home/jeg/OpenSpeedShop/liveOSS/INSTALL/rpm-tmp.kepEKp: line 10: chmod: command not found warning: %post(libdwarf-20091230-1.i686) scriptlet failed, exit status 127 Installing: libtevent ################### [ 240/1129]
and Installing: coreutils-libs ################### [ 355/1129] sh: uname: command not found Installing: coreutils ################### [ 356/1129] error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.EGAzFe: No such file or directory error: Couldn't create temporary file for %post(coreutils-8.4-6.fc13.i686): No such file or directory Installing: pam ################### [ 357/1129] error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.nqKSh7: No such file or directory error: Couldn't create temporary file for %post(pam-1.1.1-4.fc13.i686): No such file or directory
Has anyone encountered this? It seems that the install_root isn't getting the coreutils installed correctly or at all? I don't know if something was killed in the middle of building and I'm stuck in some intermediate setup state? I reinstalled the livecd-tools to see if that would help, but it didn't.
Any help would be greatly appreciated.
Thanks, Jim G.
THE DETAILS:
Steps I take to prepare the liveCD rpms:
//****************************************************************************// // Getting Started // // Preparing The Base System Environment // //****************************************************************************// 1. Install Needed Development Packages
Note: Try to start with a base Fedora Core installation that includes most development packages.
yum -y install libtool-ltdl-devel livecd-tools createrepo
2. Prepare The Local yum Repository
mkdir -p /var/www/html/yum/{base,updates}
cp /media/Fedora\ 13\ i386\ DVD/repodata/fce31f091be8211a394d8942fcf4f6cbeffa3d40d87b61af55a97b1a88b46987-Fedora-13-comps.xml /var/www/html/yum/base/.
cp /media/Fedora\ 13\ i386\ DVD/Packages/*.rpm /var/www/html/yum/base/.
I had to copy these RPMs into /var/www/html/yum/base in order to create the live os for OpenSpeedShop
cp /home/jeg/Downloads/anaconda-13.42-1.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/binutils-2.20.51.0.2-20.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/binutils-devel-2.20.51.0.2-20.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/binutils-static-2.20.51.0.2-20.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/blas-3.2.1-4.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/makebootfat-1.4-9.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/isomd5sum-1.0.5-3.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/pykickstart-1.69-1.fc13.noarch.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/python-cryptsetup-0.0.10-2.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/pyparted-3.3-1.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/python-pyblock-0.47-1.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/python-nss-0.8-1.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/scim-chewing-0.3.3-2.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/scim-pinyin-0.5.91-27.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/squashfs-tools-4.0-4.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/syslinux-3.84-1.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/tigervnc-server-1.0.90-0.8.20100219svn3993.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/tigervnc-1.0.0-1.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/perl-5.10.0-82.fc12.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/perl-Crypt-PasswdMD5-1.3-5.fc12.noarch.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/lapack-3.2.1-4.fc13.i686.rpm /var/www/html/yum/base/. cp /home/jeg/Downloads/xorg-x11-fonts-misc-7.2-9.fc12.noarch.rpm /var/www/html/yum/base/.
3. Build Open MPI using provided spec file.
Copy created RPM to /var/www/html/yum/base/
4) Build toyprograms, webtutorials, and optionally the openmpi package using the setup_and_build_rpms.sh script
Copy created RPMs to /var/www/html/yum/base/
5. Build OpenSpeedShop prerequisite packages.
Copy created RPMs to /var/www/html/yum/base/
6. Build OpenSpeedShop
Copy created RPM to /var/www/html/yum/base/
7. Create Local yum Repository
createrepo -dg /var/www/html/yum/base/fce31f091be8211a394d8942fcf4f6cbeffa3d40d87b61af55a97b1a88b46987-Fedora-13-comps.xml /var/www/html/yum/base/
----------------------------------------------------------------------------------------------------------- then use buildlivecd.sh, the build script I run after the steps above: -----------------------------------------------------------------------------------------------------------
#!/bin/sh
livecd_label=OpenSpeedShop-Live livecd_kickstart_file=livecd-fedora-13-openss.ks
#You must run livecd-creator as root... if [ `whoami` != "root" ]; then echo "remember: you must be root to run livecd-creator..." fi
su -c "livecd-creator --config=$livecd_kickstart_file \ --fslabel=$livecd_label" root
----------------------------------------------------------------------------------------------------------- cat livecd-fedora-13-base-openss.ks ----------------------------------------------------------------------------------------------------------- # fedora-live-base.ks # # Defines the basics for all kickstarts in the fedora-live branch # Does not include package selection (other then mandatory) # Does not include localization packages or configuration # # Does includes "default" language configuration (kickstarts including # this template can override these settings)
lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 selinux --disabled firewall --enabled --service=mdns xconfig --startxonboot part / --size 3072 --fstype ext4 services --enabled=NetworkManager --disabled=network,sshd
repo --name=a-base --baseurl=file:///var/www/html/yum/base
%packages @base-x @base @core @fonts @input-methods # Exclude ibus-pinyin-open-phrase as it's large and somewhat optional -ibus-pinyin-open-phrase @admin-tools @dial-up @hardware-support @printing
# Explicitly specified here: # <notting> walters: because otherwise dependency loops cause yum issues. kernel
# The point of a live image is to install anaconda isomd5sum
#Fix for SELINUX Disabled /usr/sbin/lokkit
%end
%post # FIXME: it'd be better to get this installed from a package cat > /etc/rc.d/init.d/livesys << EOF #!/bin/bash # # live: Init script for live image # # chkconfig: 345 00 99 # description: Init script for live image.
. /etc/init.d/functions
if ! strstr "`cat /proc/cmdline`" liveimg || [ "$1" != "start" ]; then exit 0 fi
if [ -e /.liveimg-configured ] ; then configdone=1 fi
exists() { which $1 >/dev/null 2>&1 || return $* }
touch /.liveimg-configured
# mount live image if [ -b `readlink -f /dev/live` ]; then mkdir -p /mnt/live mount -o ro /dev/live /mnt/live 2>/dev/null || mount /dev/live /mnt/live fi
livedir="LiveOS" for arg in `cat /proc/cmdline` ; do if [ "${arg##live_dir=}" != "${arg}" ]; then livedir=${arg##live_dir=} return fi done
# enable swaps unless requested otherwise swaps=`blkid -t TYPE=swap -o device` if ! strstr "`cat /proc/cmdline`" noswap && [ -n "$swaps" ] ; then for s in $swaps ; do action "Enabling swap partition $s" swapon $s done fi if ! strstr "`cat /proc/cmdline`" noswap && [ -f /mnt/live/${livedir}/swap.img ] ; then action "Enabling swap file" swapon /mnt/live/${livedir}/swap.img fi
mountPersistentHome() { # support label/uuid if [ "${homedev##LABEL=}" != "${homedev}" -o "${homedev##UUID=}" != "${homedev}" ]; then homedev=`/sbin/blkid -o device -t "$homedev"` fi
# if we're given a file rather than a blockdev, loopback it if [ "${homedev##mtd}" != "${homedev}" ]; then # mtd devs don't have a block device but get magic-mounted with -t jffs2 mountopts="-t jffs2" elif [ ! -b "$homedev" ]; then loopdev=`losetup -f` if [ "${homedev##/mnt/live}" != "${homedev}" ]; then action "Remounting live store r/w" mount -o remount,rw /mnt/live fi losetup $loopdev $homedev homedev=$loopdev fi
# if it's encrypted, we need to unlock it if [ "$(/sbin/blkid -s TYPE -o value $homedev 2>/dev/null)" = "crypto_LUKS" ]; then echo echo "Setting up encrypted /home device" plymouth ask-for-password --command="cryptsetup luksOpen $homedev EncHome" homedev=/dev/mapper/EncHome fi
# and finally do the mount mount $mountopts $homedev /home # if we have /home under what's passed for persistent home, then # we should make that the real /home. useful for mtd device on olpc if [ -d /home/home ]; then mount --bind /home/home /home ; fi [ -x /sbin/restorecon ] && /sbin/restorecon /home if [ -d /home/liveuser ]; then USERADDARGS="-M" ; fi }
findPersistentHome() { for arg in `cat /proc/cmdline` ; do if [ "${arg##persistenthome=}" != "${arg}" ]; then homedev=${arg##persistenthome=} return fi done }
if strstr "`cat /proc/cmdline`" persistenthome= ; then findPersistentHome elif [ -e /mnt/live/${livedir}/home.img ]; then homedev=/mnt/live/${livedir}/home.img fi
# if we have a persistent /home, then we want to go ahead and mount it if ! strstr "`cat /proc/cmdline`" nopersistenthome && [ -n "$homedev" ] ; then action "Mounting persistent /home" mountPersistentHome fi
# make it so that we don't do writing to the overlay for things which # are just tmpdirs/caches mount -t tmpfs -o mode=0755 varcacheyum /var/cache/yum mount -t tmpfs tmp /tmp mount -t tmpfs vartmp /var/tmp [ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp
/dev/null 2>&1
if [ -n "$configdone" ]; then exit 0 fi
# add openssuser user with no passwd useradd -c "OpenSpeedShop Live User" openssuser passwd -d openssuser > /dev/null
# turn off firstboot for livecd boots chkconfig --level 345 firstboot off 2>/dev/null
# don't start yum-updatesd for livecd boots chkconfig --level 345 yum-updatesd off 2>/dev/null
# turn off mdmonitor by default chkconfig --level 345 mdmonitor off 2>/dev/null
# turn off setroubleshoot on the live image to preserve resources chkconfig --level 345 setroubleshoot off 2>/dev/null
# don't do packagekit checking by default gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/update-icon/frequency_get_updates never >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/update-icon/frequency_get_upgrades never >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t string /apps/gnome-packagekit/update-icon/frequency_refresh_cache never >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/update-icon/notify_available false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/update-icon/notify_distro_upgrades false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_check_firmware false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_check_hardware false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_codec_helper false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_font_helper false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-packagekit/enable_mime_type_helper false >/dev/null
# don't start cron/at as they tend to spawn things which are # disk intensive that are painful on a live image chkconfig --level 345 crond off 2>/dev/null chkconfig --level 345 atd off 2>/dev/null chkconfig --level 345 anacron off 2>/dev/null chkconfig --level 345 readahead_early off 2>/dev/null chkconfig --level 345 readahead_later off 2>/dev/null
# Stopgap fix for RH #217966; should be fixed in HAL instead touch /media/.hal-mtab
# workaround clock syncing on shutdown that we don't want (#297421) sed -i -e 's/hwclock/no-such-hwclock/g' /etc/rc.d/init.d/halt
# and hack so that we eject the cd on shutdown if we're using a CD... if strstr "`cat /proc/cmdline`" CDLABEL= ; then cat >> /sbin/halt.local << FOE #!/bin/bash # XXX: This often gets stuck during shutdown because /etc/init.d/halt # (or something else still running) wants to read files from the block\ # device that was ejected. Disable for now. Bug #531924 # we want to eject the cd on halt, but let's also try to avoid # io errors due to not being able to get files... #cat /sbin/halt > /dev/null #cat /sbin/reboot > /dev/null #/usr/sbin/eject -p -m $(readlink -f /dev/live) >/dev/null 2>&1 #echo "Please remove the CD from your drive and press Enter to finish restarting" #read -t 30 < /dev/console FOE chmod +x /sbin/halt.local fi
EOF
# bah, hal starts way too late cat > /etc/rc.d/init.d/livesys-late << EOF #!/bin/bash # # live: Late init script for live image # # chkconfig: 345 99 01 # description: Late init script for live image.
. /etc/init.d/functions
if ! strstr "`cat /proc/cmdline`" liveimg || [ "$1" != "start" ] || [ -e /.liveimg-late-configured ] ; then exit 0 fi
exists() { which $1 >/dev/null 2>&1 || return $* }
touch /.liveimg-late-configured
# read some variables out of /proc/cmdline for o in `cat /proc/cmdline` ; do case $o in ks=*) ks="--kickstart=${o#ks=}" ;; xdriver=*) xdriver="--set-driver=${o#xdriver=}" ;; esac done
# this is a bad hack to work around #460581 for the geode # purely to help move testing along for now if [ `grep -c Geode /proc/cpuinfo` -ne 0 ]; then cat > /etc/X11/xorg.conf <<FOE Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" EndSection
Section "InputDevice" # keyboard added by rhpxl Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection
Section "Monitor" Identifier "Monitor0" HorizSync 30-67 VertRefresh 48-52 DisplaySize 152 114 Mode "1200x900" DotClock 57.275 HTimings 1200 1208 1216 1240 VTimings 900 905 908 912 Flags "-HSync" "-VSync" EndMode EndSection
Section "Device" Identifier "Videocard0" Driver "amd" VendorName "Advanced Micro Devices, Inc." BoardName "AMD Geode GX/LX"
Option "AccelMethod" "EXA" Option "NoCompression" "true" Option "MigrationHeuristic" "greedy" Option "PanelGeometry" "1200x900" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1200x900" EndSubSection EndSection FOE fi
# if liveinst or textinst is given, start anaconda if strstr "`cat /proc/cmdline`" liveinst ; then plymouth --quit /usr/sbin/liveinst $ks fi if strstr "`cat /proc/cmdline`" textinst ; then plymouth --quit /usr/sbin/liveinst --text $ks fi
# configure X, allowing user to override xdriver if [ -n "$xdriver" ]; then exists system-config-display --noui --reconfig --set-depth=24 $xdriver fi
EOF
chmod 755 /etc/rc.d/init.d/livesys /sbin/restorecon /etc/rc.d/init.d/livesys /sbin/chkconfig --add livesys
chmod 755 /etc/rc.d/init.d/livesys-late /sbin/restorecon /etc/rc.d/init.d/livesys-late /sbin/chkconfig --add livesys-late
# work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora echo "Packages within this LiveCD" rpm -qa
# go ahead and pre-make the man -k cache (#455968) /usr/sbin/makewhatis -w
# save a little bit of space at least... rm -f /boot/initramfs* # make sure there aren't core files lying around rm -f /core*
# convince readahead not to collect rm -f /.readahead_collect touch /var/lib/readahead/early.sorted
%end
%post --nochroot cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL cp $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/en_US/readme-live-image-en_US.txt $LIVE_ROOT/README
# only works on x86, x86_64 if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS fi
# copy some test applications for OpenSpeedShop # make sure these apps exist on your host machine...and were compiled in # in the same location. This makes source mapping easier for OpenSpeedShop.
%end
----------------------------------------------------------------------------------------------------------- livecd-fedora-13-openss.ks -----------------------------------------------------------------------------------------------------------
%include livecd-fedora-13-base-openss.ks
%packages @graphical-internet @gnome-desktop NetworkManager-vpnc NetworkManager-openvpn
# OpenSpeedShop-specific openmpi libdwarf libunwind sqlite papi libmonitor dyninst mrnet openspeedshop toyprograms webtutorial
# dictionaries are big -aspell-* -man-pages-* -scim-tables-* -wqy-bitmap-fonts -dejavu-fonts-experimental -dejavu-fonts
# more fun with space saving -scim-lang-chinese scim-chewing scim-pinyin
# save some space -gnome-user-docs -gimp-help -evolution-help -autofs -nss_db -vino #-evolution TODO: need to mod the gnome panel... -ekiga -pidgin -transmission -tomboy
%end
%post cat >> /etc/rc.d/init.d/fedora-live << EOF # disable screensaver locking gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null # set up timed auto-login for after 1 second sed -i -e 's/[daemon]/[daemon]\nTimedLoginEnable=true\nTimedLogin=openssuser\nTimedLoginDelay=1/' /etc/gdm/custom.conf if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/openssuser/.face chown openssuser:openssuser /home/fedora/.face # TODO: would be nice to get e-d-s to pick this one up too... but how? fi
# add some OpenSpeedShop bashrc goodies... echo "cat << EOF" > /root/.bashrc.oss echo "------------------------------" >> /root/.bashrc.oss echo "Welcome to Open|SpeedShop Live" >> /root/.bashrc.oss echo "------------------------------" >> /root/.bashrc.oss echo " " >> /root/.bashrc.oss echo "To run a sequential experiment:" >> /root/.bashrc.oss echo " >> cd sequential/smg2000/test" >> /root/.bashrc.oss echo " >> osspcsamp "smg2000 -n 50 50 50" " >> /root/.bashrc.oss echo " >> openss -f smg2000-pcsamp.openss &" >> /root/.bashrc.oss echo " " >> /root/.bashrc.oss echo "To run an MPI experiment:" >> /root/.bashrc.oss echo " >> cd mpi/smg2000/test" >> /root/.bashrc.oss echo " >> osspcsamp "mpirun -np 2 smg2000 -n 50 50 50" " >> /root/.bashrc.oss echo " >> openss -f smg2000-pcsamp.openss &" >> /root/.bashrc.oss echo " " >> /root/.bashrc.oss echo "For more information, please see the included HTML documentation."
/root/.bashrc.oss
echo "EOF" >> /root/.bashrc.oss
echo "if [ -f /etc/bashrc ]; then" >> /root/.bashrc.oss echo " . /etc/bashrc" >> /root/.bashrc.oss echo "fi" >> /root/.bashrc.oss echo "export QTDIR=/usr/lib/qt-3.3" >> /root/.bashrc.oss echo "export OPENSS_PREFIX=/opt/OSS" >> /root/.bashrc.oss echo "export OPENSS_PLUGIN_PATH=\$OPENSS_PREFIX/lib/openspeedshop" >> /root/.bashrc.oss echo "export OPENSS_INSTRUMENTOR=mrnet" >> /root/.bashrc.oss echo "export OPENSS_MRNET_TOPOLOGY_FILE=/home/openssuser/.openss.top" >> /root/.bashrc.oss echo "export OPENSS_RAWDATA_DIR=/tmp" >> /root/.bashrc.oss echo "export OPENSS_MPI_OPENMPI=/opt/openmpi" >> /root/.bashrc.oss echo "export DYNINSTAPI_RT_LIB=\$OPENSS_PREFIX/lib/libdyninstAPI_RT.so.1" >> /root/.bashrc.oss echo "export PATH=\$OPENSS_PREFIX/bin:/opt/openmpi/bin:\$PATH" >> /root/.bashrc.oss echo "export LD_LIBRARY_PATH=\$OPENSS_PREFIX/lib:/opt/openmpi/lib:\$LD_LIBRARY_PATH"
/root/.bashrc.oss
echo "export XPLAT_RSHCOMMAND=ssh" >> /root/.bashrc.oss echo "export XPLAT_RSH=ssh" >> /root/.bashrc.oss echo "export MRNET_RSH=ssh" >> /root/.bashrc.oss chmod 644 /root/.bashrc.oss cp /root/.bashrc.oss /home/openssuser/.bashrc chown openssuser:openssuser /home/openssuser/.bashrc rm -f /root/.bashrc.oss
# add a MRNet topology file echo "localhost.localdomain:0 => localhost.localdomain:1 ;" > /root/.openss.top cp /root/.openss.top /home/openssuser/ chown openssuser:openssuser /home/openssuser/.openss.top rm -f /root/.openss.top
# start some apps... echo "[Default]" > /root/.session-manual echo "num_clients=2" >> /root/.session-manual echo "0,RestartClientHint=3" >> /root/.session-manual echo "0,Priority=50" >> /root/.session-manual echo "0,RestartCommand=firefox /opt/doc/index.html" >> /root/.session-manual echo "1,Program=firefox /opt/doc/index.html" >> /root/.session-manual echo "1,RestartClientHint=3" >> /root/.session-manual echo "1,Priority=50" >> /root/.session-manual echo "1,RestartCommand=gnome-terminal" >> /root/.session-manual echo "1,Program=gnome-terminal" >> /root/.session-manual cp /root/.session-manual /home/openssuser/.gnome2/session-manual chown openssuser:openssuser /home/openssuser/.gnome2/session-manual rm -f /root/.session-manual
# setup preferences file for new user
mkdir /home/openssuser/.qt echo "[ManageProcessesPanel]" > /root/.openspeedshoprc echo "updateDisplayLineEdit=15" >> /root/.openspeedshoprc echo "updateOnCheckBox=true" >> /root/.openspeedshoprc echo "" >> /root/.openspeedshoprc echo "[Source Panel]" >> /root/.openspeedshoprc echo "leftSideLineEdit0=/home/jeg/OpenSpeedShop/liveOSS/toyprograms-0.0.1" >> /root/.openspeedshoprc echo "leftSideLineEdit1=" >> /root/.openspeedshoprc echo "leftSideLineEdit2=" >> /root/.openspeedshoprc echo "leftSideLineEdit3=" >> /root/.openspeedshoprc echo "leftSideLineEdit4=" >> /root/.openspeedshoprc echo "leftSideLineEdit5=" >> /root/.openspeedshoprc echo "leftSideLineEdit6=" >> /root/.openspeedshoprc echo "leftSideLineEdit7=" >> /root/.openspeedshoprc echo "leftSideLineEdit8=" >> /root/.openspeedshoprc echo "leftSideLineEdit9=" >> /root/.openspeedshoprc echo "rightSideLineEdit0=/home/openssuser" >> /root/.openspeedshoprc echo "rightSideLineEdit1=" >> /root/.openspeedshoprc echo "rightSideLineEdit2=" >> /root/.openspeedshoprc echo "rightSideLineEdit3=" >> /root/.openspeedshoprc echo "rightSideLineEdit4=" >> /root/.openspeedshoprc echo "rightSideLineEdit5=" >> /root/.openspeedshoprc echo "rightSideLineEdit6=" >> /root/.openspeedshoprc echo "rightSideLineEdit7=" >> /root/.openspeedshoprc echo "rightSideLineEdit8=" >> /root/.openspeedshoprc echo "rightSideLineEdit9=" >> /root/.openspeedshoprc echo "showLineNumbersCheckBox=true" >> /root/.openspeedshoprc echo "showStatisticsCheckBox=false" >> /root/.openspeedshoprc echo "" >> /root/.openspeedshoprc echo "[Stats Panel]" >> /root/.openspeedshoprc echo "advancedToolbarCheckBox=false" >> /root/.openspeedshoprc echo "chartTypeComboBox=2" >> /root/.openspeedshoprc echo "focusSourcePanelCheckBox=false" >> /root/.openspeedshoprc echo "levelsToOpenLineEdit=-1" >> /root/.openspeedshoprc echo "showMetadataCheckBox=true" >> /root/.openspeedshoprc echo "showSkylineCheckBox=false" >> /root/.openspeedshoprc echo "showSkylineLineEdit=25" >> /root/.openspeedshoprc echo "showTextByLocationCheckBox=false" >> /root/.openspeedshoprc echo "showTextByPercentCheckBox=true" >> /root/.openspeedshoprc echo "showTextByValueCheckBox=false" >> /root/.openspeedshoprc echo "showTextInChartCheckBox=true" >> /root/.openspeedshoprc echo "showToolbarCheckBox=true" >> /root/.openspeedshoprc echo "showTopNChartLineEdit=5" >> /root/.openspeedshoprc echo "showTopNLineEdit=100" >> /root/.openspeedshoprc echo "sortDecendingCheckBox=true" >> /root/.openspeedshoprc echo "" >> /root/.openspeedshoprc echo "[general]" >> /root/.openspeedshoprc echo "allowPythonCommands=true" >> /root/.openspeedshoprc echo "askAboutChangingArgs=true" >> /root/.openspeedshoprc echo "askAboutSavingTheDatabase=true" >> /root/.openspeedshoprc echo "globalFontFamily=Bitstream Charter" >> /root/.openspeedshoprc echo "globalFontItalic=false" >> /root/.openspeedshoprc echo "globalFontPointSize=10" >> /root/.openspeedshoprc echo "globalFontWeight=75" >> /root/.openspeedshoprc echo "globalRemoteShell=/usr/bin/rsh" >> /root/.openspeedshoprc echo "helpLevelDefault=2" >> /root/.openspeedshoprc echo "historyDefault=24" >> /root/.openspeedshoprc echo "historyLimit=100" >> /root/.openspeedshoprc echo "instrumentorIsOffline=true" >> /root/.openspeedshoprc echo "lessRestrictiveComparisons=true" >> /root/.openspeedshoprc echo "maxAsyncCommands=20" >> /root/.openspeedshoprc echo "onRerunSaveCopyOfExperimentDatabase=true" >> /root/.openspeedshoprc echo "saveExperimentDatabase=true" >> /root/.openspeedshoprc echo "showGraphics=false" >> /root/.openspeedshoprc echo "showSplashScreen=true" >> /root/.openspeedshoprc echo "viewFieldSize=20" >> /root/.openspeedshoprc echo "viewFullPath=false" >> /root/.openspeedshoprc echo "viewMangledName=false" >> /root/.openspeedshoprc echo "viewPrecision=6" >> /root/.openspeedshoprc mkdir /root/.qt chmod 644 /root/.openspeedshoprc cp /root/.openspeedshoprc /root/.qt/openspeedshoprc cp -r /root/.qt /home/openssuser/. chown openssuser:openssuser -R /home/openssuser/.qt rm /root/.openspeedshoprc
echo "localhost.localdomain ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApWX5IL5f9c0tmBbmuj3/+Wx/2s8Nv0eo04gom+46DWNL9OQqiLtzHbqzn6M9WA0500kUsS5ZYxPXAcAo6LtWBpJ8eqVIbgYbwVRf5K2Iprm1irK6gYzBh8+iTPdqyLj4bjVzecxuNDNyD0YJTwB+q84J/linTHKmqdPC4Pzl+bTa+Je9oan9uORe1k5BKKkm8sem6/V39EwlRePiJMuVtZPCwBtLspMgCA+9R2KuvyisnS5vDjwnwcZQaHzCTsi57isk/P//4x1RWX+6KEngjjpp5igjnN1DBaabfIhLTc09z9tDVPcBir7mg0fJ09kckA4BExip1fzVLqmM1NoPgw=="
/root/.known_hosts
mkdir /root/.ssh chmod 644 /root/.known_hosts cp /root/.known_hosts /root/.ssh/known_hosts cp -r /root/.ssh /home/openssuser/. chown openssuser:openssuser -R /home/openssuser/.ssh rm /root/.known_hosts
#move apps to /home/openssuser #mkdir -p /home/openssuser/{mpi,openmp,sequential} mkdir -p /home/openssuser/{mpi,sequential} mv /opt/tempapps/mpi/smg2000 /home/openssuser/mpi/. mv /opt/tempapps/mpi/nbody /home/openssuser/mpi/. mv /opt/tempapps/sequential/smg2000 /home/openssuser/sequential/. #mv /opt/tempapps/openmp/smg2000 /home/openssuser/openmp/
mv /opt/tempapps/sequential/forever /home/openssuser/sequential/. mv /opt/tempapps/sequential/threads /home/openssuser/sequential/. mv /opt/tempapps/sequential/mutatee /home/openssuser/sequential/. mv /opt/tempapps/sequential/matmul /home/openssuser/sequential/.
chown openssuser:openssuser -R /home/openssuser/mpi chown openssuser:openssuser -R /home/openssuser/sequential rm -rf /opt/tempapps
rm -rf /tmp/*
EOF
%end
On Wed, Jul 14, 2010 at 08:44:51 -0500, Jim Galarowicz jeg@krellinst.org wrote:
The process was working well and I was creating liveCDs that I could boot and exercise our tool. Then, I'm not sure what happened, as now I see this when trying to build the liveCD:
Installing: libICE ################### [ 69/1129] Installing: info ################### [ 70/1129] sh: uname: command not found
If you need coreutils at install time you need a Requires(pre) (or post, preun, or postun depending on where it's used). If standard packages are doing that it's a bug and you should file one for each problem package.
Hi Bruno, all,
Thank you for your reply!
So, what you are saying might have happened, is that the order of the packages to be installed may have changed and now I'm hitting packages that don't have the requirement specified for coreutils and that is the cause of the initial failures I'm seeing?
Is there a workaround to use while the packages are being (bug) reported on? Is there a way to force coreutils to the top of the install list?
At some point, coreutils does get installed but, I still see this behaviour after the point that coreutils is installed. I look into /var/tmp/imgcreate-QMzUKo/install_root/bin and see coreutils commands present while the buildlivecd.sh script is running, but still seeing these failures. When I watch the script running and look into /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/ there are no rpm-tmp.nnnnn files being created there. Not sure why. I see older tmp files there from previous runs that worked a few days ago.
Installing: gnome-python2-gnomekeyring ################### [1120/1129] Installing: abrt-gui ################### [1121/1129] error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.l7BHx2: No such file or directory error: Couldn't create temporary file for %post(abrt-gui-1.1.0-1.fc13.i686): No such file or directory error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.5piDam: No such file or directory error: Couldn't create temporary file for %pre(gnome-panel-2.30.0-1.fc13.i686): No such file or directory error: Couldn't create temporary file for %posttrans(rpm-4.8.0-14.fc13.i686): No such file or directory error: error creating temporary file /var/tmp/imgcreate-QMzUKo/install_root/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.BGoReS: No such file or directory error: Couldn't create temporary file for %posttrans(gnome-icon-theme-2.30.2.1-1.fc13.noarch): No such file or directory ntpdate-4.2.6p1-1.fc13.i686 was supposed to be installed but is not! gnome-pilot-2.0.17-9.fc13.i686 was supposed to be installed but is not! pulseaudio-0.9.21-6.fc13.i686 was supposed to be installed but is not! ibus-1.3.3-1.fc13.i686 was supposed to be installed but is not! rpcbind-0.2.0-4.fc12.i686 was supposed to be installed but is not! httpd-2.2.15-1.fc13.i686 was supposed to be installed but is not! gucharmap-2.30.0-1.fc13.i686 was supposed to be installed but is not! ... .... ....
ibus-chewing-1.2.99.20100317-1.fc13.i686 was supposed to be installed but is not! gnome-keyring-2.30.1-2.fc13.i686 was supposed to be installed but is not!
Removing password for user root. passwd: Success error reading information on service network: No such file or directory error reading information on service sshd: No such file or directory
Any thoughts on this?
Thanks again, Jim G.
On 07/14/2010 08:51 AM, Bruno Wolff III wrote:
On Wed, Jul 14, 2010 at 08:44:51 -0500, Jim Galarowiczjeg@krellinst.org wrote:
The process was working well and I was creating liveCDs that I could boot and exercise our tool. Then, I'm not sure what happened, as now I see this when trying to build the liveCD:
Installing: libICE ################### [ 69/1129] Installing: info ################### [ 70/1129]sh: uname: command not found
If you need coreutils at install time you need a Requires(pre) (or post, preun, or postun depending on where it's used). If standard packages are doing that it's a bug and you should file one for each problem package.
On Wed, Jul 14, 2010 at 09:33:21 -0500, Jim Galarowicz jeg@krellinst.org wrote:
So, what you are saying might have happened, is that the order of the packages to be installed may have changed and now I'm hitting packages that don't have the requirement specified for coreutils and that is the cause of the initial failures I'm seeing?
Yes.
Is there a workaround to use while the packages are being (bug) reported on? Is there a way to force coreutils to the top of the install list?
Probably there is some package you could add that would cause this to happen, but I don't know a good way to determine one.
It might be easier to start fixing the packages locally and build using the local repo in addition to the normal ones. There is a reasonable chance that fixing one of the packages will make things work.
The fix is pretty easy, so it shouldn't be hard to do (compared to making custom spins).
/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/ there are no rpm-tmp.nnnnn files being created there. Not sure why. I see older tmp files there from previous runs that worked a few days ago.
This might be a cascading error. Try fixing the other stuff first and then worry about it if it is still present.
Hi Bruno,
Thanks for the reply. I will try to use your suggestions and start fixing packages locally and see if I can get farther.
Thanks much!
Jim G
On 07/14/2010 10:50 AM, Bruno Wolff III wrote:
On Wed, Jul 14, 2010 at 09:33:21 -0500, Jim Galarowiczjeg@krellinst.org wrote:
So, what you are saying might have happened, is that the order of the packages to be installed may have changed and now I'm hitting packages that don't have the requirement specified for coreutils and that is the cause of the initial failures I'm seeing?
Yes.
Is there a workaround to use while the packages are being (bug) reported on? Is there a way to force coreutils to the top of the install list?
Probably there is some package you could add that would cause this to happen, but I don't know a good way to determine one.
It might be easier to start fixing the packages locally and build using the local repo in addition to the normal ones. There is a reasonable chance that fixing one of the packages will make things work.
The fix is pretty easy, so it shouldn't be hard to do (compared to making custom spins).
/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/ there are no rpm-tmp.nnnnn files being created there. Not sure why. I see older tmp files there from previous runs that worked a few days ago.
This might be a cascading error. Try fixing the other stuff first and then worry about it if it is still present.
On Wed, Jul 14, 2010 at 10:13 AM, Jim Galarowicz jeg@krellinst.org wrote:
Hi Bruno,
Thanks for the reply. Â I will try to use your suggestions and start fixing packages locally and see if I can get farther.
Thanks much!
Jim G
On 07/14/2010 10:50 AM, Bruno Wolff III wrote:
On Wed, Jul 14, 2010 at 09:33:21 -0500,   Jim Galarowiczjeg@krellinst.org  wrote:
So, what you are saying might have happened, is that the order of the packages to be installed may have changed and now I'm hitting packages that don't have the requirement specified for coreutils and that is the cause of the initial failures I'm seeing?
Yes.
Is there a workaround to use while the packages are being (bug) reported on? Â Is there a way to force coreutils to the top of the install list?
Probably there is some package you could add that would cause this to happen, but I don't know a good way to determine one.
It might be easier to start fixing the packages locally and build using the local repo in addition to the normal ones. There is a reasonable chance that fixing one of the packages will make things work.
The fix is pretty easy, so it shouldn't be hard to do (compared to making custom spins).
/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/ there are no rpm-tmp.nnnnn files being created there. Â Not sure why. Â I see older tmp files there from previous runs that worked a few days ago.
This might be a cascading error. Try fixing the other stuff first and then worry about it if it is still present.
Probably the easiest way to fix this is to ensure that your rpm has the correct pre-reqs and post-requires.
Hi Larry, Bruno,
I'm back trying to create a liveCD after failing to succeed in July. I've taken out all my OpenSpeedShop related rpms and I'm just trying to build with the existing FC13 rpms.
I've tried this on x86 and now on x86_64 with the same results:
Installing: zlib ##################### [ 27/995] Installing: libxml2 ##################### [ 28/995] Installing: libstdc++ ##################### [ 29/995] Installing: libICE ##################### [ 30/995] Installing: info ##################### [ 31/995] sh: uname: command not found Installing: popt ##################### [ 32/995] Installing: chkconfig ##################### [ 33/995] Installing: libcom_err ##################### [ 34/995]
I know the suggestion was to fix the offending rpms so that they install coreutils prior to using one of the coreutils commands (uname). However, I've looked at both the info and popt spec files that I believe fedora is using and there is no references to uname.
I've spent more time than I should admit trying to get a liveCD built.
As a sanity check I took these kickstart files:
fedora-live-desktop.ks fedora-livecd-desktop.ks fedora-live-base.ks fedora-live-minimization.ks
from the spin-kickstarts directory ( /usr/share/spin-kickstarts/) and tried to build the desktop liveCD version:
I get the same uname command not found message. I was building fine prior to the similar problem that started occurring sometime in July. I don't remember upgrading the liveCD tools, but I may have. Currently (with this attempt) I'm using livecd-tools-033-3.fc13.x86_64.
I have the "script" output for the desktop liveCD build, if anyone has time to look at or comment on this problem/issue.
4 -rw-r--r--. 1 jeg jeg 1810 Sep 16 17:48 fedora-live-desktop.ks 4 -rw-r--r--. 1 jeg jeg 1138 Sep 16 17:49 fedora-livecd-desktop.ks 12 -rw-r--r--. 1 jeg jeg 12267 Sep 16 17:49 fedora-live-base.ks 4 -rw-r--r--. 1 jeg jeg 433 Sep 16 17:49 fedora-live-minimization.ks 4 -rwxr-xr-x. 1 jeg jeg 316 Sep 16 17:51 buildlivecddesktop.sh 1004 -rw-r--r--. 1 root root 1023277 Sep 17 11:17 buildoutput.txt 4 drwxr-xr-x. 3 jeg jeg 4096 Sep 17 11:17 . [jeg@localhost kickstart-files]$ rpmq live livecd-tools-033-3.fc13.x86_64 [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-live-desktop.ks . [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-livecd-desktop.ks fedora-livecd-desktop.ks [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-live-base.ks fedora-live-base.ks [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-live-minimization.ks fedora-live-minimization.ks [jeg@localhost kickstart-files]$ cat buildlivecddesktop.sh #!/bin/sh
livecd_label=OpenSpeedShop-Live livecd_kickstart_file=fedora-livecd-desktop.ks
#You must run livecd-creator as root... if [ `whoami` != "root" ]; then echo "remember: you must be root to run livecd-creator..." fi
su -c "livecd-creator --config=$livecd_kickstart_file \ --fslabel=$livecd_label" root
Thanks, Jim G
On 07/14/2010 12:37 PM, Larry Brigman wrote:
On Wed, Jul 14, 2010 at 10:13 AM, Jim Galarowiczjeg@krellinst.org wrote:
Hi Bruno,
Thanks for the reply. I will try to use your suggestions and start fixing packages locally and see if I can get farther.
Thanks much!
Jim G
On 07/14/2010 10:50 AM, Bruno Wolff III wrote:
On Wed, Jul 14, 2010 at 09:33:21 -0500, Jim Galarowiczjeg@krellinst.org wrote:
So, what you are saying might have happened, is that the order of the packages to be installed may have changed and now I'm hitting packages that don't have the requirement specified for coreutils and that is the cause of the initial failures I'm seeing?
Yes.
Is there a workaround to use while the packages are being (bug) reported on? Is there a way to force coreutils to the top of the install list?
Probably there is some package you could add that would cause this to happen, but I don't know a good way to determine one.
It might be easier to start fixing the packages locally and build using the local repo in addition to the normal ones. There is a reasonable chance that fixing one of the packages will make things work.
The fix is pretty easy, so it shouldn't be hard to do (compared to making custom spins).
/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/ there are no rpm-tmp.nnnnn files being created there. Not sure why. I see older tmp files there from previous runs that worked a few days ago.
This might be a cascading error. Try fixing the other stuff first and then worry about it if it is still present.
Probably the easiest way to fix this is to ensure that your rpm has the correct pre-reqs and post-requires. -- livecd mailing list livecd@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/livecd
Jim,
----- Original Message -----
Hi Larry, Bruno,
I'm back trying to create a liveCD after failing to succeed in July. I've taken out all my OpenSpeedShop related rpms and I'm just trying to build with the existing FC13 rpms.
I've tried this on x86 and now on x86_64 with the same results:
Installing: zlib ##################### [ 27/995] Installing: libxml2 ##################### [ 28/995] Installing: libstdc++ ##################### [ 29/995] Installing: libICE ##################### [ 30/995] Installing: info ##################### [ 31/995] sh: uname: command not found Installing: popt ##################### [ 32/995] Installing: chkconfig ##################### [ 33/995] Installing: libcom_err ##################### [ 34/995]
I know the suggestion was to fix the offending rpms so that they install coreutils prior to using one of the coreutils commands (uname). However, I've looked at both the info and popt spec files that I believe fedora is using and there is no references to uname.
I've spent more time than I should admit trying to get a liveCD built.
As a sanity check I took these kickstart files:
fedora-live-desktop.ks fedora-livecd-desktop.ks fedora-live-base.ks fedora-live-minimization.ks from the spin-kickstarts directory ( /usr/share/spin-kickstarts/) and tried to build the desktop liveCD version:
I get the same uname command not found message. I was building fine prior to the similar problem that started occurring sometime in July. I don't remember upgrading the liveCD tools, but I may have. Currently (with this attempt) I'm using livecd-tools-033-3.fc13.x86_64.
I have the "script" output for the desktop liveCD build, if anyone has time to look at or comment on this problem/issue.
4 -rw-r--r--. 1 jeg jeg 1810 Sep 16 17:48 fedora-live-desktop.ks 4 -rw-r--r--. 1 jeg jeg 1138 Sep 16 17:49 fedora-livecd-desktop.ks 12 -rw-r--r--. 1 jeg jeg 12267 Sep 16 17:49 fedora-live-base.ks 4 -rw-r--r--. 1 jeg jeg 433 Sep 16 17:49 fedora-live-minimization.ks 4 -rwxr-xr-x. 1 jeg jeg 316 Sep 16 17:51 buildlivecddesktop.sh 1004 -rw-r--r--. 1 root root 1023277 Sep 17 11:17 buildoutput.txt 4 drwxr-xr-x. 3 jeg jeg 4096 Sep 17 11:17 . [jeg@localhost kickstart-files]$ rpmq live livecd-tools-033-3.fc13.x86_64 [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-live-desktop.ks . [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-livecd-desktop.ks fedora-livecd-desktop.ks [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-live-base.ks fedora-live-base.ks [jeg@localhost kickstart-files]$ diff /usr/share/spin-kickstarts/fedora-live-minimization.ks fedora-live-minimization.ks [jeg@localhost kickstart-files]$ cat buildlivecddesktop.sh #!/bin/sh
livecd_label=OpenSpeedShop-Live livecd_kickstart_file=fedora-livecd-desktop.ks
#You must run livecd-creator as root... if [ `whoami` != "root" ]; then echo "remember: you must be root to run livecd-creator..." fi
su -c "livecd-creator --config=$livecd_kickstart_file \ --fslabel=$livecd_label" root
Thanks, Jim G
On 07/14/2010 12:37 PM, Larry Brigman wrote:
On Wed, Jul 14, 2010 at 10:13 AM, Jim Galarowicz jeg@krellinst.org wrote:
Hi Bruno,
Thanks for the reply. I will try to use your suggestions and start fixing packages locally and see if I can get farther.
Thanks much!
Jim G
On 07/14/2010 10:50 AM, Bruno Wolff III wrote:
On Wed, Jul 14, 2010 at 09:33:21 -0500, Jim Galarowicz jeg@krellinst.org wrote:
So, what you are saying might have happened, is that the order of the packages to be installed may have changed and now I'm hitting packages that don't have the requirement specified for coreutils and that is the cause of the initial failures I'm seeing? Yes.
Is there a workaround to use while the packages are being (bug) reported on? Is there a way to force coreutils to the top of the install list? Probably there is some package you could add that would cause this to happen, but I don't know a good way to determine one.
It might be easier to start fixing the packages locally and build using the local repo in addition to the normal ones. There is a reasonable chance that fixing one of the packages will make things work.
The fix is pretty easy, so it shouldn't be hard to do (compared to making custom spins).
/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/ there are no rpm-tmp.nnnnn files being created there. Not sure why. I see older tmp files there from previous runs that worked a few days ago. This might be a cascading error. Try fixing the other stuff first and then worry about it if it is still present. Probably the easiest way to fix this is to ensure that your rpm has the correct pre-reqs and post-requires. -- livecd mailing list livecd@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/livecd -- livecd mailing list livecd@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/livecd
You will periodically see errors like that when packages installed during the build process and so far as I can tell, they don't really have a negative impact.
So far as when you picked to try and get back into building a LiveCD... there are about three different bugs that happened in August that have broken the build/install process so until those are fixed, forget about it. :(
I had found a way around two of the bugs but now I've run into a third so I've decided to give up until something changes.
Anaconda crashes after the device selection stage: https://bugzilla.redhat.com/show_bug.cgi?id=626780
livecd-creator creates iso that doesn't boot in KVM: https://bugzilla.redhat.com/show_bug.cgi?id=624028
The new one fails when resizing the disk image file... either that or I have two different VMs (on i686 and the other x86_64) with disk images that are going bad.
TYL,
On Fri, Sep 17, 2010 at 17:34:06 -0500, Jim Galarowicz jeg@krellinst.org wrote:
Installing: info ##################### [ 31/995] sh: uname: command not found
I know the suggestion was to fix the offending rpms so that they install coreutils prior to using one of the coreutils commands (uname). However, I've looked at both the info and popt spec files that I believe fedora is using and there is no references to uname.
There might be some indirect reference, though I haven't been able to spot it. The script for info doesn't look like it should do much. The info file it looks for doesn't match what is provided (the provided file is gzipped). So the first step probably won't run unless there is a tricky check going on. And the second runs sed, which if it is missing won't do anything either.
It might be that one of the shell scripts included when starting a new shell runs uname. I don't think that is normal, but perhaps some package installed between bash and info added a script that uses uname. If that's the case, then that package would probably be the issue. And it should probably require and require(pre) coreutils.
Looking at the nightly compose for the games spin, both info and popt are installed before coreutils without seeing this warning message.
bash-completion might be a suspect, as it seems to run uname. Is it installed before info?
Hi Brunu, all,
This is the section of the typescript output from the attempt to build a liveCD using the default desktop kickstart file. I don't see the bash-completion package in the list.
bash-completion might be a suspect, as it seems to run uname. Is it installed before info?
.... ..... Retrieving http://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/updates/13/x86_6... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/y... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/y... ...OK Retrieving http://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/updates/13/x86_6... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/z... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/z... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/z... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/z... ...OK Retrieving http://mirrors.kernel.org/fedora/releases/13/Everything/x86_64/os/Packages/z... ...OK warning: libgcc-4.4.4-10.fc13.x86_64: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY Installing: libgcc ################### [ 1/1098] Installing: fontpackages-filesystem ################### [ 2/1098] Installing: kacst-fonts-common ################### [ 3/1098] Installing: m17n-db ############### [ 4/1098] Installing: m17n-db ################### [ 4/1098] Installing: xkeyboard-config ####### [ 5/1098] Installing: xkeyboard-config ################ [ 5/1098] Installing: xkeyboard-config ################### [ 5/1098] Installing: setup ############# [ 6/1098] Installing: setup ################### [ 6/1098] Installing: filesystem ####### [ 7/1098] Installing: filesystem ################ [ 7/1098] Installing: filesystem ################### [ 7/1098] Installing: telepathy-filesystem ################### [ 8/1098] Installing: xml-common ################# [ 9/1098] ################### [ 9/1098] Installing: iso-codes ####### [ 10/1098] Installing: iso-codes ################ [ 10/1098] Installing: iso-codes ################### [ 10/1098] Installing: dejavu-fonts-common ################### [ 11/1098] Installing: liberation-fonts-common ################### [ 12/1098] Installing: ca-certificates ######### [ 13/1098] Installing: ca-certificates ################### [ 13/1098] Installing: dmz-cursor-themes ####### [ 14/1098] Installing: dmz-cursor-themes ################ [ 14/1098] Installing: dmz-cursor-themes ################### [ 14/1098] Installing: control-center-filesystem ################### [ 15/1098] Installing: comps-extras ####### [ 16/1098] Installing: comps-extras ################ [ 16/1098] Installing: comps-extras ################### [ 16/1098] Installing: hal-filesystem ################### [ 17/1098] Installing: foomatic-db-filesystem ################### [ 18/1098] Installing: mozilla-filesystem ############ [ 19/1098] Installing: mozilla-filesystem ################### [ 19/1098] Installing: tzdata ####### [ 20/1098] Installing: tzdata ################ [ 20/1098] Installing: tzdata ################### [ 20/1098] Installing: basesystem ################### [ 21/1098] Installing: smc-fonts-common ################### [ 22/1098] Installing: un-core-fonts-common ################### [ 23/1098] Installing: khmeros-fonts-common ################### [ 24/1098] Installing: vlgothic-fonts-common ################### [ 25/1098] Installing: thai-scalable-fonts-common ################### [ 26/1098] Installing: fedora-release ################## [ 27/1098] ################### [ 27/1098] Installing: fedora-bookmarks ################### [ 28/1098] Installing: ncurses-base ####### [ 29/1098] Installing: ncurses-base ################ [ 29/1098] Installing: ncurses-base ################### [ 29/1098] Installing: nss-softokn-freebl ################### [ 30/1098] Installing: glibc-common ####### [ 31/1098] Installin Installing: glibc-common ################### [ 31/1098] Installing: glibc ####### [ 32/1098] Installing: glibc ################ [ 32/1098] Installing: glibc ################### [ 32/1098] Installing: ncurses-libs ########### [ 33/1098] Installing: ncurses-libs ################### [ 33/1098] Installing: bash ####### [ 34/1098] Installing: bash ################ [ 34/1098] Installing: bash ################### [ 34/1098] Installing: dbus-libs ################### [ 35/1098] Installing: freetype ########## [ 36/1098] Installing: freetype ################### [ 36/1098] Installing: zlib ################### [ 37/1098] Installing: libxml2 ####### [ 38/1098] Installing: libxml2 ################ [ 38/1098] Installing: libxml2 ################### [ 38/1098] Installing: libstdc++ ######## [ 39/1098] Installing: libstdc++ ################### [ 39/1098] Installing: libICE ################### [ 40/1098] Installing: info ################## [ 41/1098] ################### [ 41/1098] sh: uname: command not found Installing: popt ############# [ 42/1098] Installing: popt ################### [ 42/1098] Installing: chkconfig ####### [ 43/1098] Installing: chkconfig ################ [ 43/1098] Installing: chkconfig ################### [ 43/1098] Installing: libcom_err ################### [ 44/1098] Installing: bzip2-libs ################### [ 45/1098] Installing: expat ################### [ 46/1098] Installing: audit-libs ################### [ 47/1098] Installing: libusb ################### [ 48/1098] Installing: libpng ########### [ 49/1098] Installing: libpng ################### [ 49/1098] Installing: libuuid ################### [ 50/1098] Installing: libSM ################### [ 51/1098] Installing: libjpeg ################ [ 52/1098] Installing: libjpeg ################### [ 52/1098] Installing: nspr ################### [ 53/1098] sh: uname: command not found Installing: libart_lgpl ################### [ 54/1098] Installing: readline ################ [ 55/1098] Installing: readline ################### [ 55/1098] sh: uname: command not found Installing: sqlite ############### [ 56/1098]
... .... .....
error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.QT0Kv2: No such file or directory error: Couldn't create temporary file for %pre(gdm-1:2.30.2-1.fc13.x86_64): No such file or directory error: install: %pre scriptlet failed (2), skipping gdm-1:2.30.2-1.fc13 warning: user gdm does not exist - using root warning: group gdm does not exist - using root Installing: pulseaudio-gdm-hooks ### [1094/1098]warning: user gdm does not exist - using root warning: group gdm does not exist - using root Installing: pulseaudio-gdm-hooks ################### [1094/1098] Installing: gdm-plugin-fingerprint ################### [1095/1098] Installing: gdm-user-switch-applet ################### [1096/1098] Installing: xorg-x11-drivers ################### [1097/1098] Installing: caribou ############# [1098/1098] Installing: caribou ################### [1098/1098] error: error creating temporary file /var/tmp/imgcreate-dHmbpU/install_root/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.EtuOma: No such file or directory error: Couldn't create temporary file for %posttrans(ModemManager-0.4-4.git20100720.fc13.x86_64): No such file or directory error: error creating temporary file /var/tmp/imgcreate-dHmbpU/install_root/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.AVqXqd: No such file or directory error: Couldn't create temporary file for %posttrans(rpm-4.8.1-2.fc13.x86_64): No such file or directory error: error creating temporary file /var/tmp/imgcreate-dHmbpU/install_root/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.WqcDCg: No such file or directory error: Couldn't create temporary file for %posttrans(gnome-icon-theme-2.30.2.1-1.fc13.noarch): No such file or directory error: error creating temporary file /var/tmp/imgcreate-dHmbpU/install_root/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.URY7Io: No such file or directory error: Couldn't create temporary file for %posttrans(gnome-icon-theme-extras-2.30.1-2.fc13.noarch): No such file or directory nscd-2.12-3.x86_64 was supposed to be installed but is not! gnome-user-share-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! 1:gnome-games-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! httpd-2.2.16-1.fc13.x86_64 was supposed to be installed but is not! ntpdate-4.2.6p1-2.fc13.x86_64 was supposed to be installed but is not! mlocate-0.22.4-1.fc13.x86_64 was supposed to be installed but is not! notification-daemon-0.5.0-1.fc13.x86_64 was supposed to be installed but is not! libgnomekbd-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! gok-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! nautilus-2.30.1-6.fc13.x86_64 was supposed to be installed but is not! evince-2.30.3-1.fc13.x86_64 was supposed to be installed but is not! gnome-bluetooth-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! gnome-pilot-2.0.17-9.fc13.x86_64 was supposed to be installed but is not! pulseaudio-0.9.21-6.fc13.x86_64 was supposed to be installed but is not! deja-dup-14.2-2.fc13.x86_64 was supposed to be installed but is not! shotwell-0.5.2-1.fc13.x86_64 was supposed to be installed but is not! selinux-policy-targeted-3.7.19-54.fc13.noarch was supposed to be installed but is not! smolt-1.4.2.2-1.fc13.noarch was supposed to be installed but is not! gstreamer-plugins-good-0.10.25-1.fc13.x86_64 was supposed to be installed but is not! gnome-media-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! gnome-keyring-2.30.3-1.fc13.x86_64 was supposed to be installed but is not! gnome-vfs2-2.24.3-1.fc13.x86_64 was supposed to be installed but is not! abrt-1.1.13-2.fc13.x86_64 was supposed to be installed but is not! nautilus-sendto-2.28.4-3.fc13.x86_64 was supposed to be installed but is not! brasero-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! gnote-0.7.2-1.fc13.x86_64 was supposed to be installed but is not! gnome-color-manager-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! empathy-2.30.3-1.fc13.x86_64 was supposed to be installed but is not! imsettings-0.108.1-2.fc13.x86_64 was supposed to be installed but is not! module-init-tools-3.11.1-2.fc13.x86_64 was supposed to be installed but is not! gucharmap-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! openssh-server-5.4p1-3.fc13.x86_64 was supposed to be installed but is not! evolution-2.30.3-1.fc13.x86_64 was supposed to be installed but is not! 1:control-center-2.30.1-3.fc13.x86_64 was supposed to be installed but is not! totem-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! 1:gdm-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! 1:gedit-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! 1:NetworkManager-gnome-0.8.1-6.git20100831.fc13.x86_64 was supposed to be installed but is not! cheese-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! gnome-panel-2.30.0-4.fc13.x86_64 was supposed to be installed but is not! mousetweaks-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! avahi-0.6.25-7.fc13.x86_64 was supposed to be installed but is not! 14:tcpdump-4.0.0-3.20090921gitdf3cb4.fc12.x86_64 was supposed to be installed but is not! initscripts-9.12.1-1.fc13.x86_64 was supposed to be installed but is not! ibus-1.3.6-1.fc13.x86_64 was supposed to be installed but is not! libcanberra-gtk2-0.24-1.fc13.x86_64 was supposed to be installed but is not! yelp-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! file-roller-2.30.1.1-3.fc13.x86_64 was supposed to be installed but is not! ibus-chewing-1.3.6.20100730-1.fc13.x86_64 was supposed to be installed but is not! gnome-system-monitor-2.28.1-1.fc13.x86_64 was supposed to be installed but is not! polkit-desktop-policy-0.96-1.fc13.noarch was supposed to be installed but is not! libgnome-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! gnome-screensaver-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! 1:gnome-applets-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! openvpn-2.1.1-2.fc13.x86_64 was supposed to be installed but is not! sendmail-8.14.4-4.fc13.x86_64 was supposed to be installed but is not! eog-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! cyrus-sasl-2.1.23-11.fc13.x86_64 was supposed to be installed but is not! sound-juicer-2.28.2-1.fc13.x86_64 was supposed to be installed but is not! gnome-session-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! rtkit-0.5-1.fc13.x86_64 was supposed to be installed but is not! vinagre-2.30.2-1.fc13.x86_64 was supposed to be installed but is not! simple-scan-1.0.2-1.fc13.x86_64 was supposed to be installed but is not! gnome-terminal-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! jack-audio-connection-kit-0.118.0-1.fc13.x86_64 was supposed to be installed but is not! gcalctool-5.30.1-1.fc13.x86_64 was supposed to be installed but is not! hal-0.5.14-3.fc13.x86_64 was supposed to be installed but is not! NetworkManager-openconnect-0.8.1-1.fc13.x86_64 was supposed to be installed but is not! udev-153-3.fc13.x86_64 was supposed to be installed but is not! 1:gnome-utils-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! gnome-packagekit-2.30.3-1.fc13.x86_64 was supposed to be installed but is not! gnome-media-libs-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! metacity-2.30.0-3.fc13.x86_64 was supposed to be installed but is not! gnome-power-manager-2.30.1-1.fc13.x86_64 was supposed to be installed but is not! vino-2.28.2-1.fc13.x86_64 was supposed to be installed but is not! gnome-settings-daemon-2.30.1-7.fc13.x86_64 was supposed to be installed but is not! at-spi-1.30.1-1.fc13.x86_64 was supposed to be installed but is not! libgweather-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! compiz-gnome-0.8.6-1.fc13.x86_64 was supposed to be installed but is not!
No such file or directory Removing password for user root. passwd: Success error reading information on service network: No such file or directory error reading information on service sshd: No such file or directory Traceback (most recent call last): File "/usr/bin/livecd-creator", line 144, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 128, in main creator.configure() File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 740, in configure kickstart.XConfig(self._instroot).apply(ksh.xconfig) File "/usr/lib/python2.6/site-packages/imgcreate/kickstart.py", line 236, in apply f = open(self.path("/etc/inittab"), "rw+") IOError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-dHmbpU/install_root/etc/inittab'
On 09/18/2010 11:42 AM, Bruno Wolff III wrote:
On Fri, Sep 17, 2010 at 17:34:06 -0500, Jim Galarowiczjeg@krellinst.org wrote:
Installing: info ##################### [ 31/995] sh: uname: command not found
I know the suggestion was to fix the offending rpms so that they install coreutils prior to using one of the coreutils commands (uname). However, I've looked at both the info and popt spec files that I believe fedora is using and there is no references to uname.
There might be some indirect reference, though I haven't been able to spot it. The script for info doesn't look like it should do much. The info file it looks for doesn't match what is provided (the provided file is gzipped). So the first step probably won't run unless there is a tricky check going on. And the second runs sed, which if it is missing won't do anything either.
It might be that one of the shell scripts included when starting a new shell runs uname. I don't think that is normal, but perhaps some package installed between bash and info added a script that uses uname. If that's the case, then that package would probably be the issue. And it should probably require and require(pre) coreutils.
Looking at the nightly compose for the games spin, both info and popt are installed before coreutils without seeing this warning message.
bash-completion might be a suspect, as it seems to run uname. Is it installed before info?
On Mon, Sep 20, 2010 at 09:05:04 -0500, Jim Galarowicz jeg@krellinst.org wrote:
Hi Brunu, all,
This is the section of the typescript output from the attempt to build a liveCD using the default desktop kickstart file. I don't see the bash-completion package in the list.
bash-completion might be a suspect, as it seems to run uname. Is it installed before info?
Thanks. Nothing immediately stood out, but that has the exact versions of packages used and a short list of what was installed before info, so when digging into this as I (or others) have time, I will have a short list to look at.
On Mon, Sep 20, 2010 at 09:05:04 -0500, Jim Galarowicz jeg@krellinst.org wrote:
Hi Brunu, all,
This is the section of the typescript output from the attempt to build a liveCD using the default desktop kickstart file. I don't see the bash-completion package in the list.
I created https://bugzilla.redhat.com/show_bug.cgi?id=635750 for tracking this.
Hi everyone,
I wanted to add this to the information about this issue.
I had a system that had FC11 installed on it with livecd-tools 1.24 so I tried to build a liveCD, containing the openspeedshop performance tool, on that system. I was successful several times, just as I was on FC13. Then I updated my own rpms (with some needed changes) and then started getting the same issue:
Installing: libICE ################### [ 69/1129] Installing: info ################### [ 70/1129]sh: uname: command not found
on FC11 that I had on FC13 (subject of the bugzilla report).
It seems that it must be related to my spec files as this issue always occurs after I've changed the contents of my packages and rebuild them. I createrepo and then try to build the liveCD.
I modified all my spec files that use coreutils executables/commands to include this:
Requires(pre): coreutils Requires(postun): coreutils
The spec files we have use uname, mkdir, and echo.
Is this the correct syntax?
It didn't make a difference. I still get the above "sh: uname: command not found message for info and many others.
Any thoughts on what I could try to narrow this down? I have a deadline of Friday to have a liveCD ready for duplication.
Thanks, Jim G.
On 09/20/2010 11:04 AM, Bruno Wolff III wrote:
On Mon, Sep 20, 2010 at 09:05:04 -0500, Jim Galarowiczjeg@krellinst.org wrote:
Hi Brunu, all,
This is the section of the typescript output from the attempt to build a liveCD using the default desktop kickstart file. I don't see the bash-completion package in the list.
I created https://bugzilla.redhat.com/show_bug.cgi?id=635750 for tracking this.
On Tue, Oct 26, 2010 at 07:41:53 -0500, Jim Galarowicz jeg@krellinst.org wrote:
It seems that it must be related to my spec files as this issue always occurs after I've changed the contents of my packages and rebuild them.
The problem can be intermittent, as it depends on the exact order of the compose. Note that stuff used in post and pre install scripts should have Requires(post), Requires(pre), Requires(postun) and/or Requires(preun).
Greetings,
----- Original Message -----
I wanted to add this to the information about this issue.
I had a system that had FC11 installed on it with livecd-tools 1.24 so I tried to build a liveCD, containing the openspeedshop performance tool, on that system. I was successful several times, just as I was on FC13. Then I updated my own rpms (with some needed changes) and then started getting the same issue:
Installing: libICE ################### [ 69/1129] Installing: info ################### [ 70/1129]sh: uname: command not found
on FC11 that I had on FC13 (subject of the bugzilla report).
It seems that it must be related to my spec files as this issue always occurs after I've changed the contents of my packages and rebuild them. I createrepo and then try to build the liveCD.
I modified all my spec files that use coreutils executables/commands to include this:
Requires(pre): coreutils Requires(postun): coreutils
The spec files we have use uname, mkdir, and echo.
Is this the correct syntax?
It didn't make a difference. I still get the above "sh: uname: command not found message for info and many others.
Any thoughts on what I could try to narrow this down? I have a deadline of Friday to have a liveCD ready for duplication.
Ok, I see the error you mention BUT does the build fail or does the package fail to install?
I get all kinds of errors like that during my build process but to the best of my knowledge, they are innocuous and don't hurt anything... as all of the packages install and work on the final media.
Another thing to try would be to do the build with Fedora 14 and see how that goes. Fedora 14 is basically done and will be distributed to all of the mirrors for public release next Tuesday... unless they have decided to slip the schedule... and since I haven't heard anything yet, I'm assume it is going to be on time.
TYL,
On Tue, Oct 26, 2010 at 13:33:09 -0400, Scott Dowdle dowdle@montanalinux.org wrote:
I get all kinds of errors like that during my build process but to the best of my knowledge, they are innocuous and don't hurt anything... as all of the packages install and work on the final media.
That would be through luck, not design. How bad it is depends on what the scripts are trying to do and if something else later in the install ends up running similar scripts that fix things up.
Hi Scott, Bruno, all,
The build of the liveCd aborts, so I don't get anything I can use. Here is the tail end of the output.
I added all the pre, preun, post, postun requires for coreutils to the rpm spec files we use but no change in the output/results.
Thanks, Jim g
Installing: evolution-perl ##################### [850/858] error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.ZzPX7n: No such file or directory error: Couldn't create temporary file for %pre(gdm-1:2.26.1-10.fc11.x86_64): No such file or directory error: install: %pre scriptlet failed (2), skipping gdm-1:2.26.1-10.fc11 Installing: bluez ##################### [852/858] error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.r7Nzvr: No such file or directory error: Couldn't create temporary file for %post(bluez-4.37-1.fc11.x86_64): No such file or directory Installing: pulseaudio-module-bluetooth ##################### [853/858] Installing: plymouth-gdm-hooks ##################### [854/858] Installing: gdm-user-switch-applet ##################### [855/858] Installing: gdm-plugin-fingerprint ##################### [856/858] error: error creating temporary file /home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.Brpwtv: No such file or directory error: Couldn't create temporary file for %pre(gnome-bluetooth-2.27.5-1.fc11.x86_64): No such file or directory error: install: %pre scriptlet failed (2), skipping gnome-bluetooth-2.27.5-1.fc11 Installing: gnome-bluetooth-libs ##################### [858/858] error: error creating temporary file /var/tmp/imgcreate-DhuWWx/install_root/home/jeg/OpenSpeedShop/liveOSS/INSTALL/localhost.localdomain/rpm-tmp.4kh43E: No such file or directory error: Couldn't create temporary file for %posttrans(rpm-4.7.0-1.fc11.x86_64): No such file or directory gnome-session-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! gnome-power-manager-2.26.1-3.fc11.x86_64 was supposed to be installed but is not! rpcbind-0.1.7-3.fc11.x86_64 was supposed to be installed but is not! gnome-system-monitor-2.26.1-2.fc11.x86_64 was supposed to be installed but is not! gnome-terminal-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! pulseaudio-0.9.15-11.fc11.x86_64 was supposed to be installed but is not! krb5-auth-dialog-0.8-4.fc11.x86_64 was supposed to be installed but is not! mpich2-1.2.1p1-1.fc11.x86_64 was supposed to be installed but is not! gnome-mount-0.8-5.fc11.x86_64 was supposed to be installed but is not! 1:gedit-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! kerneloops-0.12-5.fc11.x86_64 was supposed to be installed but is not! gcalctool-5.26.1-1.fc11.x86_64 was supposed to be installed but is not! gnome-media-libs-2.26.0-6.fc11.x86_64 was supposed to be installed but is not! module-init-tools-3.7-9.fc11.x86_64 was supposed to be installed but is not! libgnomekbd-2.26.0-1.fc11.x86_64 was supposed to be installed but is not! PolicyKit-gnome-0.9.2-3.fc11.x86_64 was supposed to be installed but is not! 1:nfs-utils-1.1.5-6.fc11.x86_64 was supposed to be installed but is not! 14:tcpdump-3.9.8-8.fc11.x86_64 was supposed to be installed but is not! metacity-2.26.0-1.fc11.x86_64 was supposed to be installed but is not! nscd-2.10.1-2.x86_64 was supposed to be installed but is not! MAKEDEV-3.24-3.x86_64 was supposed to be installed but is not! gnome-bluetooth-2.27.5-1.fc11.x86_64 was supposed to be installed but is not! hal-0.5.12-26.20090226git.fc11.x86_64 was supposed to be installed but is not! nautilus-2.26.3-1.fc11.x86_64 was supposed to be installed but is not! notification-daemon-0.4.0-3.fc11.x86_64 was supposed to be installed but is not! libgweather-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! gucharmap-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! gnome-settings-daemon-2.26.1-5.fc11.x86_64 was supposed to be installed but is not! avahi-autoipd-0.6.25-1.fc11.x86_64 was supposed to be installed but is not! 1:gnome-utils-2.26.0-1.fc11.x86_64 was supposed to be installed but is not! gthumb-2.10.11-4.fc11.x86_64 was supposed to be installed but is not! initscripts-8.95-1.x86_64 was supposed to be installed but is not! imsettings-0.106.2-2.fc11.x86_64 was supposed to be installed but is not! libutempter-1.1.5-3.fc11.x86_64 was supposed to be installed but is not! gnome-user-share-2.26.0-2.fc11.x86_64 was supposed to be installed but is not! nautilus-sendto-1.1.5-1.fc11.x86_64 was supposed to be installed but is not! gstreamer-plugins-good-0.10.14-2.fc11.x86_64 was supposed to be installed but is not! file-roller-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! 1:control-center-2.26.0-6.fc11.x86_64 was supposed to be installed but is not! gnome-screensaver-2.26.1-2.fc11.x86_64 was supposed to be installed but is not! eog-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! httpd-2.2.11-8.x86_64 was supposed to be installed but is not! gnome-packagekit-2.27.2-0.2.20090414git.fc11.x86_64 was supposed to be installed but is not! yelp-2.26.0-3.fc11.x86_64 was supposed to be installed but is not! avahi-0.6.25-1.fc11.x86_64 was supposed to be installed but is not! selinux-policy-targeted-3.6.12-39.fc11.noarch was supposed to be installed but is not! libcanberra-gtk2-0.12-1.fc11.x86_64 was supposed to be installed but is not! gnome-pilot-2.0.17-2.fc11.x86_64 was supposed to be installed but is not! openvpn-2.1-0.32.rc15.fc11.x86_64 was supposed to be installed but is not! 1:gnome-applets-2.26.1-3.fc11.x86_64 was supposed to be installed but is not! udev-141-3.fc11.x86_64 was supposed to be installed but is not! gnome-media-2.26.0-6.fc11.x86_64 was supposed to be installed but is not! openssh-server-5.2p1-2.fc11.x86_64 was supposed to be installed but is not! 1:bug-buddy-2.26.0-2.fc11.x86_64 was supposed to be installed but is not! samba-winbind-3.3.2-0.33.fc11.x86_64 was supposed to be installed but is not! sendmail-8.14.3-5.fc11.x86_64 was supposed to be installed but is not! gok-2.26.0-1.fc11.x86_64 was supposed to be installed but is not! gnome-keyring-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! ntpdate-4.2.4p6-4.fc11.x86_64 was supposed to be installed but is not! gnome-panel-2.26.1-2.fc11.x86_64 was supposed to be installed but is not! mousetweaks-2.26.0-1.fc11.x86_64 was supposed to be installed but is not! at-spi-1.26.0-1.fc11.x86_64 was supposed to be installed but is not! smolt-1.2-4.2.fc11.noarch was supposed to be installed but is not! 1:dbus-1.2.12-1.fc11.x86_64 was supposed to be installed but is not! mlocate-0.22-1.x86_64 was supposed to be installed but is not! libgnome-2.26.0-1.fc11.x86_64 was supposed to be installed but is not! lockdev-1.0.1-14.fc11.x86_64 was supposed to be installed but is not! evince-2.26.1-1.fc11.x86_64 was supposed to be installed but is not! gnome-vfs2-2.24.1-2.fc11.x86_64 was supposed to be installed but is not! 1:gdm-2.26.1-10.fc11.x86_64 was supposed to be installed but is not! PolicyKit-0.9-6.fc11.x86_64 was supposed to be installed but is not! gst-mixer-2.26.0-2.fc11.x86_64 was supposed to be installed but is not!
Removing password for user root. passwd: Success error reading information on service network: No such file or directory error reading information on service sshd: No such file or directory Traceback (most recent call last): File "/usr/bin/livecd-creator", line 140, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 124, in main creator.configure() File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 728, in configure kickstart.XConfig(self._instroot).apply(ksh.xconfig) File "/usr/lib/python2.6/site-packages/imgcreate/kickstart.py", line 236, in apply f = open(self.path("/etc/inittab"), "rw+") IOError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-DhuWWx/install_root/etc/inittab' [root@localhost kickstart-files]#
On 10/26/2010 03:13 PM, Bruno Wolff III wrote:
On Tue, Oct 26, 2010 at 13:33:09 -0400, Scott Dowdledowdle@montanalinux.org wrote:
I get all kinds of errors like that during my build process but to the best of my knowledge, they are innocuous and don't hurt anything... as all of the packages install and work on the final media.
That would be through luck, not design. How bad it is depends on what the scripts are trying to do and if something else later in the install ends up running similar scripts that fix things up. -- livecd mailing list livecd@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/livecd
On Tue, Oct 26, 2010 at 15:55:54 -0500, Jim Galarowicz jeg@krellinst.org wrote:
Hi Scott, Bruno, all,
The build of the liveCd aborts, so I don't get anything I can use. Here is the tail end of the output.
I added all the pre, preun, post, postun requires for coreutils to the rpm spec files we use but no change in the output/results.
Is it possible the file creation is failing because there isn't enough space? Maybe you need to specify a larger partition.
Hi Bruno,
Thanks for the reply!
My FC11 system is short on disk space, but I recreated the scenario on my FC13 system that seems to have ample disk space:
[root@localhost liveOSS]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup-lv_root 51606140 15528880 33455820 32% / tmpfs 1028088 500 1027588 1% /dev/shm /dev/sda1 495844 65141 405103 14% /boot /dev/mapper/VolGroup-lv_home 20738676 11946268 7738920 61% /home [root@localhost liveOSS]#
Same results:
... ... brasero-2.30.1-3.fc13.x86_64 was supposed to be installed but is not! gnome-media-libs-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! gcalctool-5.30.1-1.fc13.x86_64 was supposed to be installed but is not! at-spi-1.30.1-1.fc13.x86_64 was supposed to be installed but is not! libgweather-2.30.0-1.fc13.x86_64 was supposed to be installed but is not! pulseaudio-0.9.21-6.fc13.x86_64 was supposed to be installed but is not! nautilus-sendto-2.28.4-1.fc13.x86_64 was supposed to be installed but is not!
Removing password for user root. passwd: Success error reading information on service network: No such file or directory error reading information on service sshd: No such file or directory Traceback (most recent call last): File "/usr/bin/livecd-creator", line 144, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 128, in main creator.configure() File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 740, in configure kickstart.XConfig(self._instroot).apply(ksh.xconfig) File "/usr/lib/python2.6/site-packages/imgcreate/kickstart.py", line 236, in apply f = open(self.path("/etc/inittab"), "rw+") IOError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-d3xRQ0/install_root/etc/inittab' [root@localhost kickstart-files]#
Thanks, Jim G.
On 10/26/2010 04:07 PM, Bruno Wolff III wrote:
On Tue, Oct 26, 2010 at 15:55:54 -0500, Jim Galarowiczjeg@krellinst.org wrote:
Hi Scott, Bruno, all,
The build of the liveCd aborts, so I don't get anything I can use. Here is the tail end of the output.
I added all the pre, preun, post, postun requires for coreutils to the rpm spec files we use but no change in the output/results.
Is it possible the file creation is failing because there isn't enough space? Maybe you need to specify a larger partition.
On Tue, Oct 26, 2010 at 18:54:14 -0500, Jim Galarowicz jeg@krellinst.org wrote:
Hi Bruno,
Thanks for the reply!
My FC11 system is short on disk space, but I recreated the scenario on my FC13 system that seems to have ample disk space:
The size of the image is also relavent. The file system that packages are being installed to is a fixed size based on what your kickstart file (or one it inlcudes) says. If that space is used up things won't work (though I don't remember the exact symptoms) even if there is space on the outer file system.
Greetings,
----- Original Message -----
The size of the image is also relavent. The file system that packages are being installed to is a fixed size based on what your kickstart file (or one it inlcudes) says. If that space is used up things won't work (though I don't remember the exact symptoms) even if there is space on the outer file system.
I definitely concur with Bruno as for my remix I install about 1,700 packages and had to increase the disk size for the image in the .ks file to 8GB... as seen below:
part / --size 8192 --fstype ext4
I've had to gradually increase it over time as I've added packages... and I've actually run out of room a few times during the build. I believe in the error messages it actually says the filesystem is full but I don't really remember.
TYL,
Hi Scott, Bruno,
Thanks for all the tips/help!
I found what was causing this problem (for me). Apparently, I ran the build script I use for the webtutorials and example programs as root and that created a .rpmmacros file in /root. When I removed that file, the uname issue and the "can't create file in ... INSTALL .. rpm-tmp.nnnn" message also went away and I can create liveCD's again.
I apologize for taking up everyone's time with this, but I appreciate the tips which pointed me down the path to find the .rpmmacros mistake I made.
Thanks again, Jim G.
On 10/26/2010 09:38 PM, Scott Dowdle wrote:
Greetings,
----- Original Message -----
The size of the image is also relavent. The file system that packages are being installed to is a fixed size based on what your kickstart file (or one it inlcudes) says. If that space is used up things won't work (though I don't remember the exact symptoms) even if there is space on the outer file system.
I definitely concur with Bruno as for my remix I install about 1,700 packages and had to increase the disk size for the image in the .ks file to 8GB... as seen below:
part / --size 8192 --fstype ext4
I've had to gradually increase it over time as I've added packages... and I've actually run out of room a few times during the build. I believe in the error messages it actually says the filesystem is full but I don't really remember.
TYL,
livecd@lists.fedoraproject.org