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:  None Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  Andrei Borzenkov <arvidjaar> Originator Name: 
Open/Closed:  Closed Release: 
Release:  2.02~beta1 Reproducibility:  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
  • -email is unavailable- added by cmayo
  • -email is unavailable- added by arvidjaar (Updated the item)
  • -email is unavailable- added by sappj (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-07 arvidjaar StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2014-12-02 cmayo Carbon-Copy- => Added cmayo
    2014-11-22 arvidjaar Attached File- => Added 43668.patch, #32523
        StatusNone => Need Info
        Assigned toNone => arvidjaar

    Back to the top


    Powered by Savane 3.7