[augeas-devel] [Augeas] #361: httpd.lns - augeas set value with whitespace failed

Augeas trac at fedorahosted.org
Fri Oct 24 20:16:01 UTC 2014


#361: httpd.lns - augeas set value with whitespace failed
-------------------------+--------------------
  Reporter:  kwreczycki  |      Owner:  lutter
      Type:  defect      |     Status:  new
  Priority:  major       |  Milestone:  0.10.0
 Component:  Augeas      |    Version:  1.0.0
Resolution:              |   Keywords:
Blocked By:              |   Blocking:
-------------------------+--------------------

Comment (by ralso):

 This looks like a generic parsing issue,  not limited to
 `FastCgiExternalServer`.

 {{{
 augtool> set /files/etc/httpd/conf.d/ssl.conf/VirtualHost/directive[.
 ='SSLProtocol']/arg 'all -SSLv2 -SSLv3'
 augtool> save
 augtool> print /augeas//error
 /augeas/files/etc/httpd/conf.d/ssl.conf/error = "put_failed"
 /augeas/files/etc/httpd/conf.d/ssl.conf/error/path =
 "/files/etc/httpd/conf.d/ssl.conf/VirtualHost/directive"
 /augeas/files/etc/httpd/conf.d/ssl.conf/error/lens =
 "/usr/share/augeas/lenses/dist/httpd.aug:76.18-77.49:"
 /augeas/files/etc/httpd/conf.d/ssl.conf/error/message = "Failed to match
 \n    ({ /arg/ = /([^\\001-\\004\\t\\n\\r
 \"']|\\\\\\\\\"|\\\\\\\\')+|\"([^\\001-\\004\\n\\r\"\\\\]|\\\\\\\\[^\\001-\\004\\n])*\"|'([^\\001-\\004\\n\\r'\\\\]|\\\\\\\\[^\\001-\\004\\n])*'/
 }({ /arg/ = /([^\\001-\\004\\t\\n\\r
 \"']|\\\\\\\\\"|\\\\\\\\')+|\"([^\\001-\\004\\n\\r\"\\\\]|\\\\\\\\[^\\001-\\004\\n])*\"|'([^\\001-\\004\\n\\r'\\\\]|\\\\\\\\[^\\001-\\004\\n])*'/
 })*)?\n  with tree\n    { \"arg\" = \"all -SSLv2 -SSLv3\" }"

 }}}

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




More information about the augeas-devel mailing list