https://bugzilla.novell.com/show_bug.cgi?id=857464 https://bugzilla.novell.com/show_bug.cgi?id=857464#c4 --- Comment #4 from Pi Ny <piny@gmx.com> 2014-01-06 14:31:55 UTC --- (In reply to comment #3)
I do not see where it is grub2 problem. It is perfectly legal to add parameters that would be expanded at boot time to kernel command line in grub.cfg. This feature is very useful.
I agree that it is worth to mention it in documentation. Care to provide a patch?
May be YaST could special case memmap and additionally escape it. Do you have list of other kernel parameters that are using $ as part of value?
I checked https://www.kernel.org/doc/Documentation/kernel-parameters.txt There is seems that memmap is the only "true" kernel parameter using the "$"-character. I propose at least 3 documents that should be updated: 1) In https://www.kernel.org/doc/Documentation/kernel-parameters.txt: A note should be added to the memmap entry. -> see attached kernel-parameters.txt.2014-01-08_grub2-dollar.diff (based on kernel-parameters.txt as of 2013-12-30) 2) In the config files of grub: I apologize for surrendering in the face of the data structure of grub-2.00.tar.gz as available from ftp://ftp.gnu.org/gnu/grub/. I could not really identify the places to propose following changes: 2a) /etc/default/grub A note should be added before the entries GRUB_CMDLINE_LINUX_DEFAULT, GRUB_CMDLINE_LINUX_RECOVERY, and GRUB_CMDLINE_LINUX -> see attached _etc_default_grub_2014-01-08_dollar-escape.diff (based on current installation) 2b) /boot/grub2/grub.cfg A note should be added in the file header -> see attached _boot_grub2_grub.cfg_2014-01-08_dollar-escape.diff (based on a current installation) Yes, there is a warning not to edit this file directly but in emergency cases people go there... I strongly agree that YAST should escape it (three-fold!), because YAST is meant for users (like me) who don't know too much about internals. Should I file a bug concerning YAST related to this one? -- 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.