Bug 20268 - draklive-install does not ensure all disks/partitions are unmounted before partitioning
Summary: draklive-install does not ensure all disks/partitions are unmounted before pa...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Martin Whitaker
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 10:29 CET by Martin Whitaker
Modified: 2017-02-12 18:51 CET (History)
1 user (show)

See Also:
Source RPM: draklive-install-2.9-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Martin Whitaker 2017-02-12 10:29:56 CET
draklive-install calls a umount_all() subroutine to ensure all disks/partitions that will be presented to the partitioning wizard are not currently mounted. But it only checks against mount points in /etc/fstab, so will not pick up disks/partitions that have been manually mounted or auto-mounted (e.g. by Thunar). The installer will then cheerfully allow you to delete those partitions, leading to the usual problem of getting out of sync with the kernel.
Comment 1 Mageia Robot 2017-02-12 16:24:45 CET
commit 4f6b3b5372ed0d5e1d0044a23d658dc8c5c4e9f9
Author: Martin Whitaker <mageia@...>
Date:   Sun Feb 12 11:33:41 2017 +0000

    Ensure all selected devices are unmounted before partitioning (mga#20268).
---
 Commit Link:
   http://gitweb.mageia.org/software/draklive-install/commit/?id=4f6b3b5372ed0d5e1d0044a23d658dc8c5c4e9f9
Comment 2 Martin Whitaker 2017-02-12 18:51:51 CET
Fixed in draklive-install 2.10.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.