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

Dominique Dumont dominique.dumont at hp.com
Thu Oct 30 13:11:42 UTC 2008


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:

$ tree augeas-box/
augeas-box/
`-- etc
    |-- hosts
    `-- ssh
        |-- ssh_config
        `-- sshd_config

2 directories, 3 files
$ augtool -b -r augeas-box/
augtool> set /files/etc/hosts/1/ipaddr "127.0.0.2"
augtool> save
Saving failed
augtool> quit
$ tree augeas-box/
augeas-box/
`-- etc
    |-- hosts.augnew
    |-- hosts.augsave
    `-- ssh
        |-- ssh_config
        `-- sshd_config

2 directories, 4 files

All the best


-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner




More information about the augeas-devel mailing list