Fwd: [opensuse-autoinstall] YaST crashes when adding "partition" to "dont_merge" section in rules.xml
The actual error message reads ---- ... YaST got signal 11 at YCP file Profile.ycp:88 ... ---- Note that it does not matter if there is a partitioning section in the XMl file that gets merged with this rule. The crash is solely triggered by adding the "partition" element to the "dont_merge" part of the rules.xml. -------- Original Message -------- Subject: [opensuse-autoinstall] YaST crashes when adding "partition" to "dont_merge" section in rules.xml Date: Mon, 8 Aug 2011 13:01:52 +0200 From: Joschi Brauchle <joschi.brauchle@tum.de> To: opensuse-autoinstall@opensuse.org <opensuse-autoinstall@opensuse.org> Hi everyone, I wanted to customize the partitioning for a specific node type of my auto installation, thus I added ---- <rule> <!-- Custom machine --> <custom1> <script> <!-- script to match machine type --> </script> <match><!-- match string --></match> <match_type>regex</match_type> </custom1> <result> <profile><!-- profile name --></profile> <continue config:type="boolean">true</continue> <dont_merge config:type="list"> <element><!-- some elements--></element> <element><!-- some elements--></element> <element><!-- some elements--></element> <element>partition</element> </dont_merge> </result> </rule> ---- to my rules/rules.xml. YaST crashes at the beginning of the installation when reading/merging the profiles as soon as I added the "partition" element to the "dont_merge" section. If I remove it, the installation runs fine. The error message is something like (I took video and noted this down): ---- error: cannot open Packages index using db3 - No such file or directory (2) YaST got signal 11 at YCP file Profile.ycp:86 /usr/lib/YaST2/startup/YaST.call: line 284: 3549 Segmentation fault (core dumped) $OPT_FBITERM y2base "$Y2_MODULE_NAME" "Y2_MODE_FLAGS $Y2_MODULE_ARGS $Y2_MODE $Y2_UI_ARGS ---- Is there any known problem/workaround? Best regards, Dipl.-Ing. Joschi Brauchle, M.Sc. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauchle@tum.de Web: http://www.lnt.ei.tum.de/
on Monday 08 August 2011 Joschi Brauchle wrote:
---- ... YaST got signal 11 at YCP file Profile.ycp:88 ... ----
yes, yast segfaults when it tries to access a partition map from the partitions list. Somehow illegal XML was created and I guess either <partitioning config:type="list"> or <partitions config:type="list"> lost the "list" definition. It can also be something else but I'm quite sure that the merged XML is not valid anymore double check all your XML and try to merge on the command line to see what happens. http://www.suse.de/~ug/AutoYaST_FAQ.html#a8 -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net listening to: "Weltuntergang" by In Strict Confidence -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Joschi Brauchle
-
Uwe Gansert