[augeas-devel] [Augeas] #283: Segfault on using store

Augeas trac at fedorahosted.org
Tue Jul 17 23:28:51 UTC 2012


#283: Segfault on using store
----------------------+--------------------
  Reporter:  raphink  |      Owner:  lutter
      Type:  defect   |     Status:  new
  Priority:  major    |  Milestone:  next
 Component:  Augeas   |    Version:  devel
Resolution:           |   Keywords:
Blocked By:           |   Blocking:
----------------------+--------------------

Comment (by lutter):

 The issue is that you have a type in your commands (/text instead of
 /text/1) so that store gets a NULL string to transform.
 Commit ee373e22 fixes that. You now get:


 {{{
 avon:augeas (master)>./src/try -e
 augtool> set /text/1 "192.168.0.1 toto\n"
 augtool> store Passwd.lns /text /passwd
 error: No match for path expression
 Source node /text has a NULL value
 augtool>
 }}}

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




More information about the augeas-devel mailing list