Bug#596038: Writes temporary files all over the filesystem

2010-09-15 Thread David Lutterkort
Martin, you are right - in this case, there's a simple way to avoid writing anything, since Augeas can just check whether the old and the new value for the tree node are different, and hence can figure out if anything needs to be written at all. There are more complicated cases of a noop, like

Bug#596038: Writes temporary files all over the filesystem

2010-09-15 Thread David Lutterkort
On Wed, 2010-09-15 at 18:53 +0200, martin f krafft wrote: also sprach David Lutterkort lut...@redhat.com [2010.09.15.1756 +0200]: To catch your use case in all generality, I could just write the changed file to a memstream, do the compare from that, and only write to .augnew when something

Bug#522056: [augeas-devel] Bug#522056: augeas-lenses: The patch for Debian's grub could be replaced by an additional lens

2009-04-01 Thread David Lutterkort
On Tue, 2009-03-31 at 14:47 +0200, Raphael Pinson wrote: Package: augeas-lenses Version: 0.5.0-0hebex1 Severity: wishlist There is currently a patch in the Debian augeas package so that the grub.aug lens looks into /boot/grub/menu.lst instead of /etc/grub.conf for grub's configuration.