[augeas-devel] Bug ? aug_save creates both .augnew and .augsave file

David Lutterkort lutter at redhat.com
Thu Oct 30 17:38:53 UTC 2008


On Thu, 2008-10-30 at 14:11 +0100, Dominique Dumont wrote:
> Dominique Dumont <dominique.dumont at hp.com> writes:
> > The etc/hosts files is missing and etc/hosts.augnew file should not
> > be created.
> 
> I've reproduced the problem with augtool, so there's definitely a problem:

Yes, I can reproduce it; definitely a bug. What happens is that during
save the original file is moved to the .augsave file, and then an
attempt is made to get file attributes off the original file, which
doesn't exist anymore.

I'll work up a patch shortly.

David





More information about the augeas-devel mailing list