Gary Thomas wrote:
Chris Lumens wrote:
Traceback (most recent call last):
File "/usr/bin/anaconda", line 986, in <module>
kickstart.processKickstartFile(anaconda, opts.ksfile)
File "/usr/lib/anaconda/kickstart.py", line 879, in
processKickstartFile
ksparser.readKickstart(file)
File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line
675, in readKickstart
self._stateMachine (lambda: fh.readline())
File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line
553, in _stateMachine
self.handleCommand(lineno, args)
File "/usr/lib/anaconda/kickstart.py", line 831, in handleCommand
KickstartParser.handleCommand(self, lineno, args)
File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line
407, in handleCommand
self.handler.dispatcher(args, lineno)
File "/usr/lib/python2.5/site-packages/pykickstart/base.py", line
321, in dispatcher
self.commands[cmd].parse(args[1:])
File "/usr/lib/anaconda/kickstart.py", line 488, in parse
fsprofile = pd.fsprofile)
AttributeError: FC4_PartData instance has no attribute 'fsprofile'
This will be fixed in the next build of anaconda. Thanks.
Could you send me the patch(es)? I have to build anaconda
myself (other reasons because I'm working with a non-standard
embedded platform) anyway.
I picked up the latest code from GIT and rebuilt. Now, I get
a bit farther (no Python exceptions), but it fails on this
line in my kickstart file:
clearpart --linux --drives=sda
The message (which is not in the log BTW) is:
Specified nonexistent disk sda in clearpart command.
This drive is definitely there - see attached /proc/partitions
Any ideas? All I'm trying to do is get a headless replay of
an install I did a few days ago...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
12:38:27 INFO : kernel command line: root=/dev/ram console=tty0 selinux=0 ks=file:/test_min.ks headless text
12:38:27 INFO : text mode forced from cmdline
12:38:27 INFO : anaconda version 11.4.0.21 on ppc starting
12:38:27 INFO : 127232 kB are available
12:38:28 DEBUG : probing buses
12:38:28 DEBUG : waiting for hardware to initialize
12:38:28 INFO : getting kickstart file
12:38:28 INFO : setting up kickstart
12:38:28 INFO : kickstartFromNfs
12:38:28 INFO : results of nfs, host is 192.168.1.94, dir is /mnt/work/fedora/AM, opts are '(null)'
12:38:28 DEBUG : going to set language to en_US.UTF-8
12:38:28 INFO : setting language to en_US.UTF-8
12:38:28 INFO : need to set up networking
12:38:28 INFO : going to pick interface
12:38:28 INFO : going to do getNetConfig
12:38:28 INFO : eth0 is not a wireless adapter
12:38:28 DEBUG : waiting for link eth0...
12:38:28 DEBUG : 0 seconds.
12:38:28 DEBUG : sleep (nicdelay) for 0 secs first
12:38:28 DEBUG : continuing...
12:38:28 DEBUG : sending anaconda-Linux 2.6.20-1.2925asp ppc as dhcp vendor-class
12:38:28 INFO : Listening on LPF/eth0/00:08:e5:11:32:33
12:38:28 INFO : Sending on LPF/eth0/00:08:e5:11:32:33
12:38:28 INFO : Sending on Socket/fallback
12:38:28 ERROR : option_space_encapsulate: option space agent does not exist, but is configured.
12:38:28 INFO : DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
12:38:32 INFO : DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
12:38:32 INFO : DHCPOFFER from 192.168.1.101
12:38:32 ERROR : option_space_encapsulate: option space agent does not exist, but is configured.
12:38:32 INFO : DHCPREQUEST on eth0 to 255.255.255.255 port 67
12:38:32 INFO : DHCPACK from 192.168.1.101
12:38:32 INFO : bound to 192.168.1.249 -- renewal in 15386 seconds.
12:38:32 DEBUG : device = eth0
12:38:32 DEBUG : broadcast = 192.168.1.255
12:38:32 DEBUG : netmask = 255.255.255.0
12:38:32 DEBUG : network = 192.168.1.0
12:38:32 DEBUG : gateway = 192.168.1.101
12:38:32 DEBUG : dns[0] = 204.133.123.27
12:38:32 DEBUG : dns[1] = 205.171.3.65
12:38:32 DEBUG : dns[2] = 205.171.2.65
12:38:32 DEBUG : waiting for link eth0...
12:38:32 DEBUG : 0 seconds.
12:38:32 DEBUG : sleep (nicdelay) for 0 secs first
12:38:32 DEBUG : continuing...
12:38:32 WARNING : reverse name lookup failed
12:38:32 INFO : starting to STEP_URL
12:38:32 INFO : going to do nfsGetSetup
12:38:32 INFO : mountOpts = 0x7
12:38:32 INFO : host is 192.168.1.94, dir is /mnt/work/fedora/AM, opts are '(null)'
12:38:32 INFO : mounting nfs path 192.168.1.94:/mnt/work/fedora/AM
12:38:32 INFO : can access /mnt/source/images/stage2.img
12:38:32 ERROR : got to setupCdrom without a CD device
12:38:32 INFO : mntloop /dev/loop0 on /mnt/runtime as /mnt/source/images/stage2.img fd is 21
12:38:32 DEBUG : after mountStage2, rc is 0
12:38:32 INFO : got url nfs://mnt/source
12:38:33 WARNING : Failed to create /etc/selinux/config: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/customizable_types: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/dbus_contexts: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/default_contexts: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/default_type: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/failsafe_context: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/files/file_contexts: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/files/file_contexts.homedirs: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/files/media: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/initrc_context: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/netfilter_contexts: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/removable_context: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/securetty_types: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/userhelper_context: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/users/guest_u: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/users/root: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/users/staff_u: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/users/user_u: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/contexts/users/xguest_u: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/base.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/commit_num: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/file_contexts: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/file_contexts.homedirs: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/file_contexts.template: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/homedir_template: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/amavis.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/amtu.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/apcupsd.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/audio_entropy.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/calamaris.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/ccs.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/cdrecord.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/certwatch.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/cipe.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/clamav.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/consolekit.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/daemontools.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/dcc.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/ethereal.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/exim.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/fail2ban.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/games.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/gnome.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/guest.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/hal.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/ipsec.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/irc.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/iscsid.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/kismet.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/lockdev.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/logadm.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/mailscanner.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/mozilla.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/mplayer.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/mrtg.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/munin.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/nagios.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/oddjob.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/openct.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/pcscd.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/publicfile.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/pyzor.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/razor.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/ricci.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/roundup.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/rpcbind.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/rwho.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/screen.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/slocate.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/smartmon.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/tmpreaper.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/tor.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/tvtime.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/uml.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/unconfined.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/usbmodules.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/userhelper.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/usernetctl.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/vmware.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/w3c.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/webadm.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/modules/zabbix.pp: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/netfilter_contexts: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/policy.kern: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/seusers: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/seusers.final: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/active/users_extra: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/semanage.read.LOCK: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/modules/semanage.trans.LOCK: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/policy/policy.21: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/setrans.conf: Read-only file system
12:38:33 WARNING : Failed to create /etc/selinux/targeted/seusers: Read-only file system
12:38:33 WARNING : Failed to symlink /var/lib/xkb to /tmp: File exists
12:38:33 ERROR : failed to mount /selinux: No such device, disabling SELinux
12:38:33 INFO : getting ready to spawn shell now
12:38:34 INFO : NFS install method detected, will use RHupdates/
12:38:34 INFO : Running anaconda script /usr/bin/anaconda
12:38:34 DEBUG : adding extraArg --headless
12:38:49 INFO : using only installclass _Fedora
12:38:49 INFO : Starting message bus...
12:38:55 INFO : Starting HAL daemon...
12:39:00 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '-m', 'nfs://mnt/source', '--headless', '-T', '--noselinux', '--kickstart', '/test_min.ks', '--lang', 'en_US.UTF-8', '--keymap', 'us']
12:39:00 INFO : Display mode = t
12:39:00 INFO : Method = file:///mnt/source
12:39:04 DEBUG : starting mpaths
12:39:04 DEBUG : self.driveList(): [u'']
12:39:04 DEBUG : DiskSet.skippedDisks: []
12:39:04 DEBUG : DiskSet.skippedDisks: []
12:39:04 DEBUG : starting all mpaths on drives [u'']
12:39:04 DEBUG : scanning for multipath on drives [u'']
12:39:04 DEBUG : loading bdevid modules from: '/tmp/updates/bdevid/:/mnt/source/RHupdates/bdevid/:/lib/bdevid/:/usr/lib/bdevid/'
12:39:04 DEBUG : mpaths: []
12:39:04 DEBUG : done starting mpaths. Drivelist: [u'']
12:39:04 DEBUG : starting dmraids
12:39:04 DEBUG : self.driveList(): [u'']
12:39:04 DEBUG : DiskSet.skippedDisks: []
12:39:04 DEBUG : DiskSet.skippedDisks: []
12:39:04 DEBUG : starting all dmraids on drives [u'']
12:39:04 DEBUG : scanning for dmraid on drives [u'']
12:39:04 ERROR : error scanning dmraid, disabling: bad argument type for built-in operation
12:39:04 ERROR : error scanning dmraid, disabling: bad argument type for built-in operation
12:39:04 DEBUG : done starting dmraids. Drivelist: [u'']
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list