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

[augeas-devel] Is this a bug in Augeas?


A customer reported that virt-v2v failed when presented with a
grub.conf file which contained:

  # grub.conf generated by anaconda
  [... etc ...]

It failed at the line ‘acpi=off’.  This is not a grub command (I
suspect the customer was asked to add this to the kernel command line,
but added it in the wrong place), but it appears that grub ignores it.
Augeas fails to parse the whole file.

So Augeas is kind of doing the right thing here (pointing out an error
in the configuration), but also being overly fussy, and IMHO it
unnecessarily prevents a v2v conversion which should succeed.

What's the best way to deal with this?  A catch-all rule in grub.lens?
We want to edit this file so I think we need to try to preserve the
incorrect line.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.

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