Bug 138042

Summary: autoyast ignores configuration settings in xml-file
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Thomas Holzapfel <holzapfel>
Component: AutoYaSTAssignee: Olaf Dabrunz <odabrunz>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: ug
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Thomas Holzapfel 2005-12-12 14:30:39 UTC
I'm using autoyast to install SuSE 10.0 on a set of systems. I want to configure grub, which works fine using SuSE 9.3.

I want to 
- set the boot loader location to the boot sector of my boot partition
- activate the boot loader partition
- set the boot menu timeout
- set the vga mode
- set the kernel parameters like resume and splash=verbose 

The corresponding part of my config file is 

<bootloader>
 <loader_type>grub</loader_type>
 <location>custom</location>
 <loader_device>/dev/sda1</loader_device>
 <activate config:type="boolean">true</activate>
 <repl_mbr config:type="boolean">false</repl_mbr>

 <global config:type="list">
  <global_entry>
   <key>timeout</key>
   <value config:type="integer">5</value>
  </global_entry>
 </global>

 <sections config:type="list">
  <section>
   <append>selinux=0  resume=/dev/sda8  splash=verbose showopts</append>
   <initial>1</initial>
   <initrd>/boot/initrd</initrd>
   <kernel>/boot/vmlinuz</kernel>
   <lines_cache_id>0</lines_cache_id>
   <name>SuSE Linux 10.0</name>
   <original_name>linux</original_name>
   <root>/dev/sda6</root>
   <type>image</type>
   <vga>794</vga>
  </section>

...

 </sections>
</bootloader>

I'm using the following directive to check the result of my config file

<mode>
 <confirm config:type="boolean">true</confirm>
</mode>

- Autoyast ignores the directives <location> and <loader_device>, instead MBR is selected as the boot loader location.

- The timeout setting in the global section is also ignored. I think all global settings are ignored.

- At last, in the section settings the directive <vga>794</vga> is set to blank and the splash=verbose option is replaced by splash=silent!

- Only activating the boot loader partition is set right. 

Thank you.
Comment 1 Uwe Gansert 2005-12-12 14:48:31 UTC
Jiri?
Comment 2 Jiri Srain 2006-01-02 08:58:36 UTC
The format of the contents of the bootloader section has changed since 10.0. However, the old one should still be working. Please, try to generate the bootloader section via GUI.

Olaf, please, check this during beta phase of 10.1.
Comment 3 Alexander Osthof 2007-05-10 12:13:08 UTC
IMHO this bug is fixed in openSUSE 10.3
Comment 4 Alexander Osthof 2007-05-10 12:13:41 UTC
Forgot to mark it RESOLVED FIXED