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

Bug#558686: Partition manager fails to update kernel partition table



> > In particular: v1.9.0-137-g048602c
> >
> > http://git.debian.org/?p=parted/parted.git;a=commitdiff;h=048602c1d5df
> >93ddf4
> >
> >    ped_partition_busy: do not call the libparted exception handler
> >
> >    Modify libparted/arch/linux.c _partition_get_part_dev() to not call
> >    _device_stat() but instead use stat directly, as _device_stat()
> > calls the libparted exception handler, and we don't want this here,
> > the only caller of _partition_get_part_dev() is
> > _partition_is_mounted(), which in turn only gets called by
> > linux_partition_is_busy(), and we don't want to "throw" exceptions
> > from ped_partition_busy().
> >
> >    This issue was noticed in combination with pyparted as used by
> >    anaconda, see: http://bugzilla.redhat.com/527035#c10
>
> I fear the changes that this specific one depends on will change our
> ABI and this will cause a soname bump.

After removing the change to the NEWS file and including the patch in 
debian/patches, the patch applies without problem to current parted from 
unstable.

> I'll try to prepare the package for try it out.

I've rebuilt the libparted udeb including this patch and installed that in 
my test system before starting partman and then repeated the test 
described in message #20 in the BR.

The patch does *NOT* fix the issue. I can still reproduce.



Reply to: