| Summary: | when swap UUID changes, initrd should be regenerated | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Morgan Leijström <fri> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | andresalaun, brianpeterson2, eeeemail, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools | CVE: | |
| Status comment: | |||
|
Description
Morgan Leijström
2014-12-20 18:54:52 CET
Morgan Leijström
2014-12-20 18:55:23 CET
Priority:
Normal =>
release_blocker I forgot to say i used diskdrake to change partitions. Indeed I already got caught by that bug. But this cannot be release critical as this bug exists for many releases. Also not that many people would recreate their swap. Priority:
release_blocker =>
Normal I think i got hit earlier too, not knowing what hit and reinstalled instead. OK 2) (not updating initrd) is not so critical if 1) the boot could just boot without finding that old swap.
claire robinson
2014-12-21 18:16:46 CET
CC:
(none) =>
eeeemail apparently here too this problem occurs if one uses diskdrake (from Mageia control center/Partition) to remove the swap partition from a standard install The partition tool successfully removes the swap entry from /etc/fstab but the boot then fails. Attempting to remove resume= from grub's menu.lst which deals with the swap partition didn't help.. I reinstalled the bootloader using the installer rescue mode but this didn't fix it.. I applied dracut and this gets booting back to normal so this is good If the tool diskdrake can remove the swap partition properly from the fstab file, it should also remove itself from resume= in grub's configuration... and I think here too initrd needs to be updated... or even a message to the end-user.. as long as he or she can get their system booted up after a swap change or in my case completely removing the swap. I noticed I'm not the only one who stumbled on this.. perhaps this bug should indeed finally be fixed even though few people would bother changing it, the thing is if the tool edits /etc/fstab for the user, it might as well do the rest of the magic, but if the tool breaks the boot then I think this should be fixed. CC:
(none) =>
brianpeterson2 |