7022174: YaST lan module: Client call failed with ‘Augeas parsing/serializing error: Iterated lens matched less than it should.

This document (7022174) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)


Running ‘yast lan’ module fails with a popup message to report a bug.

Within /var/log/YaST/y2log a detailed error message shows :

Relevant snippet from the log file :

Details: Augeas parsing/serializing error: Iterated lens matched less than it should at /usr/share/augeas/lenses/dist/hosts.aug:23.12-.42:


Add a line break at the end of /etc/hosts as below :

echo >> /etc/hosts


The last line in /etc/hosts does not have line termination “n”.

This can be verified by doing e.g. ‘cat /etc/hosts’, and not seeing the bash prompt on a new line as a result.


This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.


Leave a Reply