Bug 831791

Summary: pbl: fix quoting when writing grub2 config in perl-Bootloader
Product: [openSUSE] openSUSE Tumbleweed Reporter: Forgotten User l03xIL5qZl <forgotten_l03xIL5qZl>
Component: BootloaderAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: cwh
Version: 201503*   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.3   
See Also: http://bugzilla.opensuse.org/show_bug.cgi?id=964766
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User l03xIL5qZl 2013-07-27 09:34:16 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

I want to add acpi_osi="!Windows 2012" on the kernel command line (see #831790), and it fails with the following error:

"Command 2012 not found"

It seems that the space doesn't make him happy. Adding it manually to grub.cfg works like a charm.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Forgotten User l03xIL5qZl 2013-07-30 06:57:19 UTC
I found a workaround.

In Yast Bootloader, instead of writing acpi_osi="!Windows 2012" you should write acpi_osi=\"!Windows 2012\"

And the double quotes are inserted in the grub.cfg.
Comment 2 Christopher Hofmann 2015-05-18 14:33:01 UTC
Fixed in perl-bootloader 0.833
Comment 3 Swamp Workflow Management 2016-04-20 18:08:36 UTC
SUSE-RU-2016:1113-1: An update that has 12 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 831791,857556,898099,899921,908664,910479,926426,937806,940486,942519,947697,948778
CVE References: 
Sources used:
SUSE Linux Enterprise Server 12 (src):    perl-Bootloader-0.844-2.5.1
SUSE Linux Enterprise Desktop 12 (src):    perl-Bootloader-0.844-2.5.1