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

Pino Toscano ptoscano at redhat.com
Tue Aug 26 14:29:08 UTC 2014


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 +++++++++++++++++++++--------------------
 6 files changed, 211 insertions(+), 108 deletions(-)
 create mode 100644 appliance/guestfs_lvm_conf.aug

-- 
1.9.3




More information about the Libguestfs mailing list