--rootpath questions/barfs

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

 



hi,

I'm playing around a bit with Anaconda. I want to use it as an installer
for custom UML images and the likes. Anaconda barfed on me and I'm not
really sure what to do to fix it.

What I did was the following:

- start Xnest on localhost:2 (without access control)
- export DISPLAY=localhost:2
- # anaconda --graphical --rootpath=/tmp/anaconda --method=cdrom:///dev/hdb:/tmp/source

where /dev/hdb has my Fedora Core 3 DVD, and which is mounted on /tmp/source

Everything works fine, miniwm and everything starts, I can configure the
firewall, timezone, network interfaces, packages, etc.

When I start installing Anaconda barfs with:

IndexError: list index out of range

The complete traceback:

Traceback (most recent call last):
  File "/usr/lib/anaconda/gui.py", line 1128, in handleRenderCallback
    self.currentWindow.renderCallback()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 242, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 872, in nextClicked
    self.dispatch.gotoNext()
  File "/usr/lib/anaconda/dispatch.py", line 173, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 241, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/lib/anaconda/packages.py", line 759, in doPreInstall
    if method.systemMounted (id.fsset, instPath):
  File "/usr/lib/anaconda/image.py", line 183, in systemMounted
    self.loopbackFile = "%s%s%s" % (chroot,
IndexError: list index out of range

The method where it barfs:

    def systemMounted(self, fsset, chroot):
        print "chroot: ", chroot
        print fsset.filesystemSpace(chroot)
        self.loopbackFile = "%s%s%s" % (chroot,
                                        fsset.filesystemSpace(chroot)[0][0],
                                        "/rhinstall-stage2.img")

With a few debug statements I've verified that fsset.filesystemSpace(chroot)
is [], which of course causes the IndexError.

My questions: what does this filesystemSpace actually do and how can I
fix this particular problem, I know it's a bit of an exotic use of Anaconda,
but it would be neat to be able to use it this way :)

Oh, I'm using anaconda 10.2.0.24 on an up to date Fedora Core 3 system.

thanks in advance,

armijn

-- 
 ---------------------------------------------------------------------------
  armijn@xxxxxxxx | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
 ---------------------------------------------------------------------------


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux