Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96319 - risk of mounting the wrong partitions in method mount_local_partitions GLIArchitectureTemplate.py
Summary: risk of mounting the wrong partitions in method mount_local_partitions GLIArc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 16:09 UTC by Steven Mertens
Modified: 2006-03-24 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against GLIArchitectureTemplate.py (GLIArchitectureTemplate.py.diff,1.59 KB, patch)
2005-06-16 16:09 UTC, Steven Mertens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Mertens 2005-06-16 16:09:00 UTC
If there are multiple disk devices in the system there is a risk that the
mount_local_partition method mounts the wrong partitions on /mnt/gentoo .

The 'for mountpoint in sorted_list:' will mount all partitions but the string
device can contain the wrong device because it gets set in the previous 
for device in parts: and will always contain the last device encountered.
Which isnt necessarly the correct one. 

The patch will be more descriptive .. :)

I tested this patch on snapshot installer-work-20050616 
and also tested the gtkfe with it.

rgds.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steven Mertens 2005-06-16 16:09:55 UTC
Created attachment 61357 [details, diff]
patch against GLIArchitectureTemplate.py

patch against GLIArchitectureTemplate.py
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2005-06-16 16:41:15 UTC
fix in cvs. thanks.
Comment 3 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:30 UTC
Moving to Release Media/Installer.