[augeas-devel] grub lens doesn't match /boot/grub/grub.conf

David Lutterkort lutter at redhat.com
Tue Jan 10 00:17:38 UTC 2012


On Fri, 2011-12-30 at 13:46 -0600, Nathan Huff wrote:
> Since that is the actual file that RedHat uses I think it should.  I
> believe the one line change below would fix it.
> 
> diff -ur augeas-0.10.0.orig/lenses/grub.aug augeas-0.10.0/lenses/grub.aug
> --- augeas-0.10.0.orig/lenses/grub.aug	2011-11-28 17:51:05.000000000 -0600
> +++ augeas-0.10.0/lenses/grub.aug	2011-12-30 13:27:13.651145502 -0600
> @@ -276,5 +276,6 @@
>       (* View: filter *)
>       let filter = incl "/boot/grub/menu.lst"
>                  . incl "/etc/grub.conf"
> +               . incl "/boot/grub/grub.conf"

We have /etc/grub.conf in there; that should be a symlink
to /boot/grub/grub.conf. Does that not work for you ?

(I hesitate to make that change because we'll have the same file show up
twice in the tree, opening the door to all kinds of interesting
conflicts)

David






More information about the augeas-devel mailing list