If a user mistakenly uses a live cd to try and upgrade an existing system (by unselecting the option to format the partition(s)), drakx-finish-install will overwrite contents of any files in /home/$user, with the files from /home/live, if the user does, as most will, reuses the same user name. The finish-install should check to see if /home/$user already exists, and get permission, before overwriting the files, or all the user to leave the /home/live directory as is. Hopefully, the user won't have the user name live, already in use. If they do, the live cd should get permission, before overwriting.
Priority: Normal => release_blocker
See bug 5990 for an example of the damage that can be done.
CC: (none) => mageia, tmb
as in mdv and in mga1 so no regression so far
Blocks: (none) => 5990Target Milestone: --- => Mageia 3
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
This bug is for the Mageia 3, on first boot after install from a live cd.
Keywords: NEEDINFO => (none)Hardware: i586 => All
Whiteboard: (none) => MGA2TOO
(no regression, should not be used for upgrade, etc)
Priority: release_blocker => NormalTarget Milestone: Mageia 3 => ---Summary: Do not overwrite files without permission. => ask for overwrite files (drakx-finish-installer)Severity: critical => enhancement
Should this be closed? It appears not to be a bug as the medium is not designed to upgrade existing installations.
CC: (none) => nic
(In reply to Nic Baxter from comment #6) > Should this be closed? It appears not to be a bug as the medium is not > designed to upgrade existing installations. It's still a valid enhancement request. There's no reason why we couldn't use the Live DVD with an existing home directory, so we should probably give a warning in the first boot wizard if the chosen username matches one that already has a home directory: advise to choose a different username to avoid existing configuration files to be overwritten, but let the user keep its initial choice if wanted. Assigning to Mageia Tools maintainer group.
Assignee: bugsquad => mageiatoolsWhiteboard: MGA2TOO => (none)
Summary: ask for overwrite files (drakx-finish-installer) => After Live Install, ask before overwriting user files if needed (drakx-finish-installer)
*** Bug 20636 has been marked as a duplicate of this bug. ***
CC: (none) => krnekit
When doing a Live install, after creating mount points for / and /home, only / is formatted by default. /home is not formatted by default. That's odd if we don't support doing a fresh install from a Live DVD while keeping /home
CC: (none) => marja11
"live media shouldn't be used for an upgrade" isn't an argument, because clean install with existing home isn't an upgrade. And in this case user can lose data, see Bug 20636. So this is critical. I don't think, it's so hard to not touch user's home if it's already exists. At least there should be a warning.
Severity: enhancement => critical
(In reply to Nikita Krupenko from comment #10) > "live media shouldn't be used for an upgrade" isn't an argument, because > clean install with existing home isn't an upgrade. I agree, and I think many will. It was only last night that I learned that: * all our warnings about not using the Live iso for an upgrade, were also meant for clean installs while keeping /home * QA team does _not_ test installing from Live isos while keeping /home That one wiki page in which I made it more clear that keeping /home can lead to data loss, isn't enough... there are undoubtedly more wiki pages, forums posts, official Mageia manuals etc. that will need to be updated with the warning about possible data loss if you try this :-( > And in this case user can > lose data, see Bug 20636. So this is critical. You're right > > I don't think, it's so hard to not touch user's home if it's already exists. > At least there should be a warning. CC'ing Martin Whitaker, who said in duplicate bug #20636, comment #5 : > Unfortunately most people only read the Wiki *after* something's gone wrong > :-( > > I do think we should fix this. Setting the IN_ERRATA* keywords, but also hoping this'll be solved before Mga6 release.
Keywords: (none) => IN_ERRATA5, IN_ERRATA6CC: (none) => mageia
Hello, I discover this big limitation in using Live supports, I have never been aware of that. And never given instructions in this direction when checking or writing documentation, or giving instructions in forum. The better solution seems to avoid such a behaviour. If we haven't improvement on that for MGA 6, we should review our documentation and give large echos in forum.
CC: (none) => doc-bugs, yves.brungard_mageia
Seems I had set wrong keywords, correcting them now. (In reply to papoteur from comment #12) > Hello, > I discover this big limitation in using Live supports, I have never been > aware of that. And never given instructions in this direction when checking > or writing documentation, or giving instructions in forum. > The better solution seems to avoid such a behaviour. If we haven't > improvement on that for MGA 6, we should review our documentation and give > large echos in forum. Yes, we need to tell everywhere that installing from a Live DVD while keeping /home, is not supported.
Keywords: IN_ERRATA5, IN_ERRATA6 => FOR_ERRATA5, FOR_ERRATA6
Wait. Our Live DVDs are just perfect to do just that: doing a fresh install of M6 while keeping a separate /home partition. I did it with my main desktop weeks ago. No data loss. By default /home will not be formatted. The checkmark is set to not format it. You can even use the same user name, and it will -at least with Xfce- work just fine. QA does and did test this. Me :p The warning should be that an _upgrade_ is not possible.
CC: (none) => shybluenight
(In reply to Chris B from comment #14) > Wait. Our Live DVDs are just perfect to do just that: doing a fresh install > of M6 while keeping a separate /home partition. I did it with my main > desktop weeks ago. No data loss. > By default /home will not be formatted. The checkmark is set to not format > it. You can even use the same user name, and it will -at least with Xfce- > work just fine. > > QA does and did test this. Me :p > > The warning should be that an _upgrade_ is not possible. Well, it _can_ overwrite important settings, as was reported by at least David Hodgins here, Nikita (see bug 20636) and Jehan Hysseo (bug 5990). The current wiki warning is in https://wiki.mageia.org/en/Installation_Media#Live_DVD_ISO
Thank you, Marja. My bad, the wiki looks fine.