Mailinglist Archive: opensuse-bugs (4671 mails)

< Previous Next >
[Bug 640724] New: etc/sysconfig/bootloader parameters prevent editing in YaST-> System-> /etc/sysconfig Editor
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 21 Sep 2010 07:44:34 +0000
  • Message-id: <bug-640724-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

https://bugzilla.novell.com/show_bug.cgi?id=640724

https://bugzilla.novell.com/show_bug.cgi?id=640724#c0


Summary: etc/sysconfig/bootloader parameters prevent editing in
YaST-> System-> /etc/sysconfig Editor
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Bootloader
AssignedTo: jsrain@xxxxxxxxxx
ReportedBy: gfarrell@xxxxxxxxxxxxxxx
QAContact: jsrain@xxxxxxxxxx
Found By: ---
Blocker: ---


Created an attachment (id=390642)
--> (http://bugzilla.novell.com/attachment.cgi?id=390642)
Screenshot of /etc/sysconfig Editor - DEFAULT_APPEND setting

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10)
Gecko/20100914 SUSE/3.6.10-30.1 Firefox/3.6.10

When trying to add some text to the DEFAULT_APPEND line of
/etc/sysconfig/bootloader with YaST-> System-> /etc/sysconfig Editor, you are
presented with the situation shown in the attached screenshot.

You are unable to enter text of your own choosing. You are only able to select
from the drop-down list, for which the available parameters are inappropriate
for the DEFAULT_APPEND setting. This is caused by the lines in
/etc/sysconfig/bootloader:

## Path: System/Bootloader
## Description: Bootloader configuration
## Type: list(floppy,mbr,root,boot,custom,none)
## Default: mbr
#
# Location of boot loader.
# For making the change effect run bootloader configuration tool

The 'list' type of input control is applied to all the parameters which follow
that header section:

LOADER_LOCATION=""
DEFAULT_APPEND="resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5
splash=silent quiet showopts nomodeset"
DEFAULT_VGA="0x31a"
FAILSAFE_APPEND="showopts apm=off noresume edd=off powersaved=off nohz=off
highres=off processor.max_cstate=1 x11failsafe"
FAILSAFE_VGA="0x31a"
XEN_KERNEL_APPEND="resume=/dev/disk/by-id/ata-ST3200827AS_4ND1N6BB-part5
splash=silent quiet showopts"
XEN_APPEND=""
XEN_VGA="0x31a"

While the 'list' type might be appropriate to the first one (LOADER_LOCATION),
it is not a valid input type for the remainder. They should have their own
sections dedicated to their particular settings, using input type string. As
well, the 'Description:' line repeats 'Bootloader configuration' a few times in
the /etc/sysconfig/bootloader file, and is not a useful description in the
places it is used. For example, the above example for LOADER_LOCATION would be
better described as 'Description: Bootloader location'.

A suggested replacement /etc/sysconfig/bootloader file, with saner settings, is
attached. This version worked with YaST OK, with all the above variables now
able to be edited in YaST-> System-> /etc/sysconfig Editor.

Reproducible: Always

Steps to Reproduce:
1. Open YaST-> System /etc/sysconfig Editor
2. Navigate to System-> Bootloader-> DEFAULT_APPEND
3. Try to add 'nomodeset' to the end of the line.
Actual Results:
Can't edit the line. Can only select inappropriate values 'floppy, mbr, root,
boot, custom, none'.

Expected Results:
Should be able to edit the line to add 'nomodeset'.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups