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

Nathan Huff Nathan.Huff at ndsu.edu
Wed Jan 11 22:22:58 UTC 2012


On 1/9/2012 6:17 PM, David Lutterkort wrote:
> 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
>
>
>

Doesn't it already show up twice?  /etc/grub.conf and
/boot/grub/menu.lst are already both symlinks to the same file.

--
Nathan Huff




More information about the augeas-devel mailing list