[augeas-devel] [Augeas] #223: Parse error on end of line comments in resolv.conf
Augeas
trac at fedorahosted.org
Mon Oct 31 11:05:22 UTC 2011
#223: Parse error on end of line comments in resolv.conf
----------------------+-----------------------------------------------------
Reporter: domcleal | Owner: lutter
Type: defect | Status: new
Priority: minor | Milestone: next
Component: Augeas | Version: 0.9.0
Keywords: resolv |
----------------------+-----------------------------------------------------
My /etc/resolv.conf contains the following:
{{{
# Generated by NetworkManager
domain fab.redhat.com
search fab.redhat.com
# SixXS nameservers (nscache.eu.sixxs.net)
nameserver 2001:1418:10:2::2 # SixXS
nameserver 2001:14b8:0:3007::6 # SixXS
nameserver 10.33.63.7
nameserver 10.11.255.155
}}}
augeas error:
{{{
/augeas/files/etc/resolv.conf/error = "parse_failed"
/augeas/files/etc/resolv.conf/error/pos = "117"
/augeas/files/etc/resolv.conf/error/line = "5"
/augeas/files/etc/resolv.conf/error/char = "0"
/augeas/files/etc/resolv.conf/error/lens =
"/usr/share/augeas/lenses/dist/resolv.aug:102.10-.38:"
/augeas/files/etc/resolv.conf/error/message = "Iterated lens matched less
than it should"
}}}
Line 5 has a comment at the end of the line:
{{{
nameserver 2001:1418:10:2::2 # SixXS
}}}
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/223>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list