more info on pykickstart parse error - simple reproduce

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a ks.cfg that produces the 295 parse error but does NOT
refernce onpart or ondisk. (It is intended to run on a machine with a
sda drive that I wish to preserve) and a sdb drive (that is completely
unallocated space) and is the drive I wish to install on.

As I said above, it fails (as is) but WILL WORK BY ADDING JUST ONE
CHAR. That is, comment out with a # char line 25 (logging info) line
to have it be parsed correctly and the OS be installed.

Now, I have seen this behavior with the orginal F8 pykistart prog (ver.
-18-) but not with -19- (until now). I may be wrong, but seems that
to reproduce the prob, lines like this fail ONLY in certain cases.
If that is the case, this may be corruption in the paring buffer
(overflow, for example). I know from my many experiements that
commenting out this line is NOT ENOUGH when either "onpart OR odisk"
is used.

Here is the bad parse ks.cfg

# Kickstart file for composing the "Fedora" spin of Fedora 8
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
bootloader --location=mbr
ignoredisk --drives=sda
clearpart --drives=sdb
part /boot --fstype ext3 --size=100 --> part pv.1 --size=0 --grow --> volgroup VolGroup00 --pesize=16384 pv.1
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=512 --grow --maxsize=512
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=15000
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --enabled
#interactive
# System keyboard
keyboard us
# System language
lang en_US
# Installation logging level
logging info
# Use CDROM installation media
cdrom
#harddrive --partition=sda1 --dir=/
# Network information
network --device eth0 --bootproto dhcp --hostname floydsmi --> network --device eth1 --bootproto dhcp --hostname floydsmi --> # Reboot after installation
reboot
#Root password
#rootpw --iscrypted $1$aaaaaa$GXMJ3udCd0ey9r4NUNOsk/
rootpw --iscrypted $1$812aSfDP$n3uhf7d//gw1Lh.cei.ue1

# SELinux configuration
selinux --disabled
# System timezone
timezone  America/New_York
# Install OS instead of upgrade
install
# X Window System configuration information
#xconfig  --defaultdesktop=GNOME --startxonboot
xconfig --driver "sis" --defaultdesktop=GNOME --resolution 1024x768 --depth 24

# Package manifest for the compose.  Uses repo group metadata to translate groups.
# (@base is added by default unless you add --nobase to %packages)
%packages
# core
@core
@base-x
kernel*
# Hardware stuff
@hardware-support
@dial-up
# Desktop Packages
@gnome-desktop
@kde-desktop
echo-icon-theme
tracker
gnash
liferea
esc
# apps
@authoring-and-publishing
@eclipse
@editors
emacs
@games
@graphical-internet
@graphics
@java
@office
@sound-and-video
@text-internet
@system-tools
wireshark-gnome
# Devel packages
@development-libs
@development-tools
@gnome-software-development
@java-development
@kde-software-development
@web-development
@x-software-development
# Server packages
@dns-server
@ftp-server
@mail-server
@mysql
@network-server
@news-server
@printing
@server-cfg
@smb-server
@sql-server
@web-server --optional
# Virt group
@virtualization --optional
# filesystem stuff
reiserfs-utils
xfsprogs
jfsutils
# Languages
@filipino-support
@tagalog-support
# Compose Needs
anaconda-runtime
iscsi-initiator-utils
memtest86+
vnc-server

createrepo
# This one is already in core 6 Fedora/RPMS dir - no need to copy it to there in mkisofsDVD4.sh
# This is needed when comps.xml is chged to update the repository database.

glib
# This lib is needed by nerolinux.
# 3rd party extra (from rpm.pbone.net)
# (glib-1.2.10-18.2.2.i386.rpm) needs to be copied to Fedora/RPMS dir from NEWRPMS dir in mkisofsDVD4.sh (when it is in NEWRPMS dir). This is done by run of mkisofsDVD4.sh. It must be added manually to /dosc/d/5/comps.xml before that.
gtk+
# This lib is needed by nerolinux.
# newrpm (from yum install gtk+)
# (gtk+-1.2.10-55.fc6.i386.rpm) needs to be copied to Fedora/RPMS dir from NEWRPMS dir in mkisofsDVD4.sh (when it is in NEWRPMS dir). This is done by run of mkisofsDVD4.sh. It must be added manually to /dosc/d/5/comps.xml before that.
nerolinux
# newrpm (from nero.com)
# (nerolinux-2.1.0.3-x86.rpm) needs to be copied to Fedora/RPMS dir from NEWRPMS dir in mkisofsDVD4.sh. This is done by run of mkisofsDVD4.sh (when it is in NEWRPMS dir). It must be added manually to /dosc/d/5/comps.xml before that.
pykickstart
# This one is already in Fedora/RPMS dir - no need to copy it to there in mkisofsDVD4.sh
# This is needed by GUI kickstart configurator.

system-config-kickstart
# This one is already in Fedora/RPMS dir - no need to copy it to there in mkisofsDVD4.sh

# This is needed by GUI kickstart configurator.
unifdef
# This one is already in Fedora/RPMS dir - no need to copy it to there in mkisofsDVD4.sh
# This is needed to build a redhat kernel src rpm.

#yy
#yy%post --nochroot
#yy
#yy# /dosc/cpfiles - cp file(s) for new fedora core install.
#yy
#yy[ ! -d /mnt/sysimage/dosc ] && mkdir /mnt/sysimage/dosc
#yymount -t vfat /dev/sda1 /mnt/sysimage/dosc
#yy
#yyif [ ! -f /mnt/sysimage/dosc/d/5/zdrivezks.i ]; then
#yy ksversion=0
#yyelse
#yy ksversion=`cat /mnt/sysimage/dosc/d/5/zdrivezks.i`
#yyfi
#yyecho "$ksversion" >/mnt/sysimage/dosc/d/5/ksver.i
#yyecho "$ksversion" >/mnt/sysimage/ksver.i
#yyecho "" >>/mnt/sysimage/dosc/ovdos/oveinfor/ovinfo.i
#yyecho "install on zdrivez via kickstart with version ($ksversion) was done on: `date`" >>/mnt/sysimage/dosc/ovdos/oveinfor/ovinfo.i
#yyecho "install via kickstart with version ($ksversion) was done on: `date`" >/mnt/sysimage/install.i
#yylet "ksversion=ksversion+1"
#yyecho -n "$ksversion" >/mnt/sysimage/dosc/d/5/zdrivezks.i
#yy
#yy/mnt/sysimage/bin/bash -c "/mnt/sysimage/dosc/d/5/ks_post_install_script.sh zdrivez zlabelz"
#yy
#yyecho "IN KS.CFG - signal /dosc/rclocal to invoke /dosc/ncpfiles the very first time we boot" >/mnt/sysimage/var/doncpfiles.s
#yyecho ok9 >/mnt/sysimage/test9K0
#yy
#yy%end

%end






**************************************
See AOL's top rated recipes (http://food.aol.com/top-rated-recipes?NCID=aoltop00030000000004)
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux