Bugzilla – Bug 140068
autoyast grub options configuration broken
Last modified: 2007-05-10 11:28:41 UTC
Unable to set grub options such as the timeout and the password in my autoyast configuration file. This is reproducible across different machines. Have tried two different formats inside the bootloader section: (password has been changed for security!) <global config:type="list"> <default>0</default> <password>--md5 $4$tzztPhls$DEoQGzkVJCu6YOSffX%nQ0</password> <timeout config:type="integer">14</timeout> </global> and: <global config:type="list"> <global_entry> <key>default</key> <value>0</value> </global_entry> <global_entry> <key>password</key> <value>--md5 $4$tzztPhls$DEoQGzkVJCu6YOSffX%nQ0</value> </global_entry> <global_entry> <key>timeout</key> <value>88</value> </global_entry> </global> Bug 138042(https://bugzilla.novell.com/show_bug.cgi?id=138042) seems to talk about some of this, but nothing in that ticket since it was made on 12/12. Bug 118595(https://bugzilla.novell.com/show_bug.cgi?id=118595) says this bug was fixed, at least for the password issue, but the ticket seems incomplete as the requester was never answered in the ticket in regards to 10.0! Interestingly, using either of these to the config file causes autoyast to NOT set the 'Boot Menu Time-Out' options which normally get set by default! In addition, the default line has no argument instead of having 'default 0'. So these options are not just being ignored by autoyast, something is going wrong. However, if I DO NOT use these lines, it looks like the section entries don't get added to menu.lst - but this doesn't happen in my desktop autoyast configuration, which implies that some other part of the configuration file is interacting with the bootloader section. In my desktop configuration, if I ADD these lines, not only do they not work, and unset boot menu timeout, my section lines are ignored and the default ones are made!?!??? Currently getting around by setting the confirm option and then manually setting the options. thanks, edgar nielsen DHAPDigital
please report bugs for "SUSE Linux 10.0 OSS" against "SUSE Linux 10.0"
Please also attach the logfiles for this scenario here.
Created attachment 61389 [details] yast log files
Created attachment 61390 [details] autoyast config file
OK, here are the attached yast logs as a compressed tarball. I did not manually touch the grub settings, I let them get set by autoyast entirely. [As reported, the system came up with this menu.lst file: beluga:~ # cat /boot/grub/menu.lst # Modified by YaST2. Last modification on Mon Dec 19 11:59:35 UTC 2005 color white/blue black/light-gray default ###Don't change this comment - YaST2 identifier: Original name: linux### title SUSE LINUX 10.0 root (hd0,0) kernel /boot/vmlinuz root=/dev/md0 selinux=0 resume=/dev/sda2 splash=silent showopts initrd /boot/initrd ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- SUSE LINUX 10.0 root (hd0,0) kernel /boot/vmlinuz root=/dev/md0 showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3 initrd /boot/initrd Here is /etc/grub.conf beluga:~ # cat /etc/grub.conf root (hd0,0) install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0,0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd1,0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst quit Also attached is my yast xml file, albeit with passwords and such modified for security..... thanks, edgar nielsen
Olaf, the bootloader is your baby.
Fixed in openSUSE 10.3