Re: [PATCH] checking immutability with LUKS devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-04-16 at 13:46 +0200, Martin Sivak wrote:
> Hi,
> 
> while working on #495848, I noticed, that if somebody tries to edit a
> physical partition which has LUKS on top of it, we consider it as
> mutable and let the user continue.

We don't represent the device-mapper luks device separately in the user
interface, so even though it looks like they're setting the format for
sda2 they are really setting the format for /dev/mapper/luks-$uuid.

> 
> It then results in strange errors. For example when you try to modify
> physical partition with LUKS and LVM-PV on top.

The problem here begins with the code starting at
iw/partition_dialog_gui.py:224, which does not account for the
possibility of the partition being encrypted.

> 
> Since I do not want to break anything and I can't say I understood the
> .format stuff completely, can somebody take a look at following patch
> and tell me If I am on the right way?
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux