HomePhorge

(#13204) Workaround duplicate Augeas save events
0498d55e2d94Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#13204) Workaround duplicate Augeas save events

Bug #264 in Augeas causes duplicate save events to be returned when editing
under /boot in newfile mode. Because we loop around these events, diffing and
unlinking the files, this causes an ENOENT error when we process the same event
twice.

This commit checks that the file we intend to operate on exists.

Details

Provenance
Dominic Cleal <dcleal@redhat.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU75476e1ae2b3: Merge remote-tracking branch 'daniel-pittman/refactor/2.7.x/4862-remove-the…
Branches
Unknown
Tags
Unknown

Event Timeline

Dominic Cleal <dcleal@redhat.com> committed rPU0498d55e2d94: (#13204) Workaround duplicate Augeas save events (authored by Dominic Cleal <dcleal@redhat.com>).Mar 23 2012, 11:24 PM