batshit insane btrfs installer assume default subvolume is root subvolume

Bug #960894 reported by shawnlandden
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

if you set the default subvolume of a btrfs volume like so
mkfs.btrfs /dev/blasterdisk
mount /dev/blasterdisk /mnt
cd /mnt
btrfs subvolume create foo .
btrfs subvolume set-default foo .
cd ..
umount /mnt

and the install WITHOUT reformatting

then the installer will:

1. create subvolumes foo/@ and foo/@home
2. do no error checking: i.e. if a @ subvolume already exists, lets say you set @ as the default, then the system will install into @, and then the installer will crash while trying to mount @home (when it created @/@home)

while your at it you should also fix upstream, and make it work equally bad with btrfs

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubiquity 2.9.23
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
CasperVersion: 1.305
Date: Tue Mar 20 23:23:09 2012
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcEnviron:
 TERM=unknown
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
shawnlandden (shawnlandden) wrote :
Revision history for this message
shawnlandden (shawnlandden) wrote :

also, the installer should have a feature to continue where is left off, even if undocumented and hidden

Revision history for this message
shawnlandden (shawnlandden) wrote :

the ideal fix for this is to detect the default subvolume (and perhaps expose it in the interface) and then make the new subvolume childs of that (as it currently does) and then actually properly handle these new subvolumes (broken)

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : Traceback

Exception during installation:
Mar 21 06:22:44 ubuntu plugininstall.py: Traceback (most recent call last):
Mar 21 06:22:44 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1690, in <module>
Mar 21 06:22:44 ubuntu plugininstall.py: install.run()
Mar 21 06:22:44 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 55, in wrapper
Mar 21 06:22:44 ubuntu plugininstall.py: func(self)
Mar 21 06:22:44 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 166, in run
Mar 21 06:22:44 ubuntu plugininstall.py: self.configure_face()
Mar 21 06:22:44 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 271, in configure_face
Mar 21 06:22:44 ubuntu plugininstall.py: uid = int(uid)
Mar 21 06:22:44 ubuntu plugininstall.py: ValueError: invalid literal for int() with base 10: ''
Mar 21 06:22:44 ubuntu plugininstall.py:

tags: added: installer-crash
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 960894

and any other logs that are relevant for this particular issue.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
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.