IOError in chroot_setup(): No such file or directory: '/target/usr/sbin/policy-rc.d'

Bug #249659 reported by LesFromIL
66
This bug affects 10 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: ubiquity

Installing from LiveCD (8.0) . Installer gets to end and then crashes back to LiceCD desktop. Icon in upper left says a "Crash Re[prt Detected".
Clicking on it, a dialog open and says ubiquity closed unexpectedly.

Problem is repeatable on this machine.

CD media verifed OK, in fact, was used to install on different machine with no issues.

I have had Ubuntu installed on this machine in the past but I am attempting a fresh installation (dual boot with XP), I manage the partition mount points myself (sda10 = /, sda11 = /home, sda12 = swap).

ProblemType: Crash
Architecture: i386
Date: Thu Jul 17 19:14:41 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
InterpreterPath: /usr/bin/python2.5
Package: ubiquity 1.8.7
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/lib/ubiquity/bin/ubiquity --only
ProcEnviron:
 LANGUAGE=
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 LANG=en_US.UTF-8
PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', '--only']
SourcePackage: ubiquity
Title: ubiquity crashed with IOError in chroot_setup()
Uname: Linux 2.6.24-16-generic i686
UserGroups:

Tags: apport-crash
Revision history for this message
LesFromIL (lesunix) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Most bizarre. It's crashing because it can't open /target/usr/sbin/policy-rc.d for writing, claiming "No such file or directory", which in this context must in fact mean that the directory /target/usr/sbin doesn't exist. That should be impossible at this stage. It's almost as if /target spuriously got unmounted in the middle of the installation ...

Colin Watson (cjwatson)
Changed in ubiquity:
status: New → Confirmed
Evan (ev)
summary: - Ubuntu nstallation crashes near end
+ IOError in chroot_setup(): No such file or directory:
+ '/target/usr/sbin/policy-rc.d'
Revision history for this message
qweqq (qweqq) wrote :

After ubiquity crashed I saw that on /target there were two partitions mounted - the install destination partition and my Debian root partition. /target/home was also used as a mount point for my Debian home partition. Is it possible that when configuring hardware the setup chroots in the wrong /target ?

I didn't do anything else except running the installer, selecting to choose partitions manually, chose one partition for root and clicked install. (haven't specified to mount my debian home partition as /home).

Will try installing with the alternate cd image.

Changed in ubiquity (Ubuntu):
importance: Undecided → Medium
Revision history for this message
dino99 (9d9) wrote :

That version has died long ago; no more supported

Changed in ubiquity (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.