[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



#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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]