Bug ID 1047929
Summary Host.rb crashes by parsing new host entries
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component AppArmor
Assignee suse-beta@cboltz.de
Reporter varkoly@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 731741 [details]
y2log

In a yast module I setup a network configuration with the API of yast2-network.
The /etc/hosts will be written by using Host module:

                 host_tmp = Host.Export
                 Ops.set(host_tmp, "hosts", {
                                        ip     => ["admin." + domain + "
admin"],
                                        mail   => ["mailserver."  + domain + "
mailserver" ],
                                        prin   => ["printserver." + domain + "
printserver" ],
                                        prox   => ["proxy."       + domain + "
proxy" ],
                                        backup => ["backup."      + domain + "
backup" ],
                                   })
                 Host.Import(host_tmp)
ip, mail, prin, proy and backup are variable containing different valid
ip-addresses. 

Until openLeap 42.2 this has worked fine. In openLeap 42.3 the @hosts is not a
hash but a CFA::Hosts object.
The  Augeas parser serializer crashes.


You are receiving this mail because: