[Libguestfs] [PATCH 0/3] fix setting lvm filter with newer lvm2

Richard W.M. Jones rjones at redhat.com
Tue Aug 26 15:09:13 UTC 2014


On Tue, Aug 26, 2014 at 04:29:08PM +0200, Pino Toscano wrote:
> Hi,
> 
> newer lvm2 releases don't have have uncommented "filter" lines, so the
> current way to edit lvm.conf doesn't work anymore.
> Instead, switch to augeas (with a "custom" len) for a cleaner and
> working way to set the lvm filter.
> 
> 
> Pino Toscano (3):
>   daemon: add add_sprintf
>   daemon: move AUGEAS_ERROR to the common header
>   daemon: lvm-filter: use augeas for setting the filter
> 
>  appliance/Makefile.am          |   6 +-
>  appliance/guestfs_lvm_conf.aug |  74 +++++++++++++++++
>  daemon/augeas.c                |  17 ----
>  daemon/daemon.h                |  19 +++++
>  daemon/guestfsd.c              |  20 +++++
>  daemon/lvm-filter.c            | 183 +++++++++++++++++++++--------------------

ACK series.

Let's remove the custom augeas lens as soon as we can though ...

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list