Installer deletes more files from existing partition than it says it will

Bug #1633931 reported by Ryan Saunders
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

When using manual partitioning, and designating an existing partition containing files as the "/" partition, the installer issues a warning that its going to delete "directories containing system files", and lists (/etc, /lib, /usr, /var) as examples.

However, I had files in /old, and they were deleted too, much to my dismay. (The only thing that saved me here is that this was a btrfs filesystem, and I still had the ext2 backup snapshot. Whew!)

Is this intended behavior? Is /old considered a "directory containing system files"? So perhaps there's a bug here.

Even if /old _is_ properly in the list of directories to be nuked, there's a usability problem here. In my opinion, the warning message here is inadequate...it would be far better to actually scan the directories existing on the partition, and specifically report *which* directories it's going to delete. That will give users confidence that they're not about to get bitten.

You might also include an option to instead _move_ these old system directories into a safe place (say, underneath /old.backup).

I'm installing Ubuntu 16.04 Server, using whatever version of debian-installer comes on the CD.

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.