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

Dominique Dumont dominique.dumont at hp.com
Thu Oct 30 12:50:54 UTC 2008


Hello

With Augeas 0.3.3, and AUG_SAVE_BACKUP flag, I have a problem with
saved files (0.3.1 did work fine).

My Config::Augeas test setup begins with this directory:

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

Once I run the tests (which modify /etc/hosts entries), I get after aug_save:

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


The etc/hosts files is missing and etc/hosts.augnew file should not be created.

Does anyone have similar problem ?


-- 
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