[Bug 804190] New: grub2-once (a grub2 pearl script) does not run & produces a Line Error message
https://bugzilla.novell.com/show_bug.cgi?id=804190 https://bugzilla.novell.com/show_bug.cgi?id=804190#c0 Summary: grub2-once (a grub2 pearl script) does not run & produces a Line Error message Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: SUSE Other Status: RESOLVED Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: jmcdaniel3@austin.rr.com QAContact: jsrain@suse.com CC: wstephenson@suse.com Found By: --- Blocker: --- Will Stephenson <wstephenson@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |wstephenson@suse.com Resolution| |DUPLICATE User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 the grub2 pearl script named /usr/sbin/grub2-once does not run and produces an error message instead. You can remark out line 60 and get the help command to work. Seems like the file exist detection is faulty in this script. Reproducible: Always Steps to Reproduce: 1. open up a terminal session. 2. Type in the command: /usr/sbin/grub2-once --help 3. You get: no grub.cfg in /boot/grub2 at /usr/sbin/grub2-once line 60. Actual Results: /usr/sbin/grub2-once --help no grub.cfg in /boot/grub2 at /usr/sbin/grub2-once line 60. dir /boot/grub2/*.cfg -rw------- 1 root root 6357 Feb 13 21:00 /boot/grub2/grub.cfg Expected Results: /usr/sbin/grub2-once --help Usage: grub2-reboot [OPTION] MENU_ENTRY Set the default boot menu entry for GRUB, for the next boot only. -h, --help print this message and exit -v, --version print the version information and exit --boot-directory=DIR expect GRUB images under the directory DIR/grub2 instead of the /boot/grub2 directory MENU_ENTRY is a number, a menu item title or a menu item identifier. Report bugs to <bug-grub@gnu.org>. Found while testing the next grub2cmd bash script on openSUSE 12.3 which you can find here: http://forums.opensuse.org/blogs/jdmcdaniel3/gnu-grub2-command-help-config-e... --- Comment #1 from Will Stephenson <wstephenson@suse.com> 2013-02-18 08:56:41 UTC --- Re-report *** This bug has been marked as a duplicate of bug 804189 *** http://bugzilla.novell.com/show_bug.cgi?id=804189 -- 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.
participants (1)
-
bugzilla_noreply@novell.com