[augeas-devel] Re: [Augeas] #32: save fails on bindmounted files

Augeas trac at fedorahosted.org
Wed Dec 24 05:34:30 UTC 2008


#32: save fails on bindmounted files
---------------------+------------------------------------------------------
  Reporter:  apevec  |       Owner:  lutter
      Type:  defect  |      Status:  closed
  Priority:  major   |   Milestone:  next  
 Component:  Augeas  |     Version:  0.3.4 
Resolution:  fixed   |    Keywords:        
---------------------+------------------------------------------------------
Changes (by lutter):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 The best fix for this I can think of is commit b47d4224: save by default
 behaves as before, i.e. will fail on bindmounted files. If the node
 /augeas/save/copy_if_rename_fails exists (doesn't matter what its value
 is), if renaming a file fails, the file is overwritten by copying its
 contents.

 So now you can do something like this:

 {{{
 augtool> ... make changes to the tree ...
 augtool> save
 Saving failed
 augtool> .. check /augeas/files/PATH/error and see what happened ...
 augtool> clear /augeas/save/copy_if_rename_fails
 augtool> save
 }}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/32#comment:6>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list