Auto-resize install fails to mount drive

Bug #199129 reported by Henrik Nilsen Omma on 2008-03-06
6
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

Looks like this is caused by the new PolicyKit setup.

Steps to reproduce:

* Install a copy of Ubuntu, using the whole disk, no LVM
* Install again from the Live CD, and use the auto-resize option

Result:
* You are asked for the admin password to mount the partition (which is confusing if you don't know the password is blank
* On entering the blank password a 'Cannot mount volume' error appears.
* Clicking OK resumes the process though - The resizing progress bar sits for a long time at 50% but does complete. The system then installs successfully

Related branches

Henrik Nilsen Omma (henrik) wrote :
Henrik Nilsen Omma (henrik) wrote :
Henrik Nilsen Omma (henrik) wrote :
Henrik Nilsen Omma (henrik) wrote :
Henrik Nilsen Omma (henrik) wrote :
Steve Langasek (vorlon) on 2008-03-14
Changed in ubiquity:
milestone: none → ubuntu-8.04-beta
Colin Watson (cjwatson) wrote :

It shouldn't be trying to mount this at all. GNOME keeps changing this around and breaking ubiquity ...

Colin Watson (cjwatson) wrote :

I think hal is doing this (via hal-storage-mount). My conjecture is that hal-disable-polling needs to be called on each drive to turn it off.

Colin Watson (cjwatson) wrote :

Could you try running ubiquity as follows:

  hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run ubiquity

... and see if it behaves the same way?

Martin Pitt (pitti) wrote :

Something like "sudo hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/ubiquity" should help, if we can put that into the desktop file?

Martin Pitt (pitti) wrote :

With blocking mounts at the hal level, we can also drop the various nautilus/g-v-m/KIO configuration tweaks.

Colin Watson (cjwatson) wrote :

If so, something like this attachment would do the job.

Henrik Nilsen Omma (henrik) wrote :

It installs fine now, but on completion it does open a nautilus window at /lib/var/OS-prober on the Live file system (other disks are not mounted).

I then tried running ubiquity with

hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run ubiquity

and that works fine as well.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 1.8.0

---------------
ubiquity (1.8.0) hardy; urgency=low

  * Disable the intro message in preparation for Ubuntu 8.04 beta.
  * Run ubiquity under hal-lock if possible (LP: #199129).

 -- Colin Watson <email address hidden> Wed, 19 Mar 2008 15:49:26 +0000

Changed in ubiquity:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers