[PATCH 1/2] Properly revert changes when cancelling Partition destruction

Vratislav Podzimek vpodzime at redhat.com
Tue Sep 16 07:03:56 UTC 2014

On Mon, 2014-09-15 at 13:02 -0500, David Lehman wrote:
> On 09/11/2014 09:09 AM, Vratislav Podzimek wrote:
> > When a partition is scheduled to be destroyed, the action removes it's device
> > from the devicetree and from its parent's format. While the former change is
> > reverted in the devicetree's action cancelling, the latter one is ignored and
> > needs this fix.
> I think I fixed the same problem here with my patch adding add/remove 
> hooks to device classes. I also changed ActionDestroyFormat and 
> ActionCreateFormat to save a deep copy of the format instead of just 
> saving a reference to the same instance. I'm not totally certain, but I 
> think my patches will provide a more general solution to this problem.
Great, thanks! Can you please add the bugs referenced by these two
patches to your patches as Resolves? I'm willing to take care of any
additional fixes that could be needed on top of them to fix the bugs.

Vratislav Podzimek

Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic

More information about the anaconda-patches mailing list