bugGNU GRUB - Bugs: bug #43668, grub2-mkconfig doesn't work when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43668: grub2-mkconfig doesn't work when /bin/sh -> dash

Submitted by:  Joe Sapp <sappj>
Submitted on:  Sat 22 Nov 2014 02:22:25 AM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: Andrei Borzenkov <arvidjaar>Originator Name: 
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: Every Time
Planned Release: None

Sun 07 Dec 2014 11:58:01 AM UTC, comment #3:

Fixed in cdae5bf208f5fa6093fa34c978c5da7b5bbafc54. Thank you!

Andrei Borzenkov <arvidjaar>
Project MemberIn charge of this item.
Sun 23 Nov 2014 02:18:33 AM UTC, comment #2:

Seems to work as expected, thanks!

Joe Sapp <sappj>
Sat 22 Nov 2014 07:30:45 PM UTC, comment #1:

Could you test attached patch?

(file #32523)

Andrei Borzenkov <arvidjaar>
Project MemberIn charge of this item.
Sat 22 Nov 2014 02:22:25 AM UTC, original submission:

It appears that grub2-mkconfig doesn't work when /bin/sh is linked to dash (bash works fine though).

$ grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/starfield/theme.txt
Found linux image: -n
basename: invalid option -- 'n'
Try 'basename --help' for more information.

$ eselect sh list
Available POSIX shell implementations:
[1] bash
[2] dash *

$ eselect sh set 1 # set /bin/sh -> bash

$ grub2-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/starfield/theme.txt
Found linux image: /boot/kernel-3.17.2-gentoo
Found initrd image: /boot/initramfs-3.17.2-gentoo.img
Found linux image: /boot/kernel-3.17.1-gentoo-r1
Found initrd image: /boot/initramfs-3.17.1-gentoo-r1.img
Found linux image: /boot/kernel-3.17.0-gentoo
Found initrd image: /boot/initramfs-3.17.0-gentoo.img
done

Joe Sapp <sappj>

 

Attached Files
file #32523:  43668.patch added by arvidjaar (5KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cmayo
  • -unavailable- added by arvidjaar (Updated the item)
  • -unavailable- added by sappj (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 07 Dec 2014 11:58:01 AM UTCarvidjaarStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Tue 02 Dec 2014 07:46:07 PM UTCcmayoCarbon-Copy-=>Added cmayo
    Sat 22 Nov 2014 07:30:45 PM UTCarvidjaarAttached File-=>Added 43668.patch, #32523
      StatusNone=>Need Info
      Assigned toNone=>arvidjaar

    Back to the top


    Powered by Savane 3.1-cleanup1