bugGNU GRUB - Bugs: bug #52002, grub-mkconfig detects .sig files...

 
 

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

bug #52002: grub-mkconfig detects .sig files as system images

Submitter:  Jordan <vern95>
Submitted:  Tue 12 Sep 2017 06:00:19 PM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Wed 06 Dec 2017 02:11:15 PM UTC, comment #1: 
Jordan <vern95>
Tue 12 Sep 2017 06:00:19 PM UTC, original submission:  

Hi, currently grub-mkconfig autodetects RSA .sig files used for grub signature checking as valid system images and adds them to grub menu.

I created simple patch which fixes this issue by adding .sig extension to grub_file_is_not_garbage blacklist function.


--- a/util/grub-mkconfig_lib.in
+++ b/util/grub-mkconfig_lib.in
@@ -188,6 +188,7 @@
       *.dpkg-*) return 1 ;; # debian dpkg
       *.rpmsave|*.rpmnew) return 1 ;;
       README*|*/README*)  return 1 ;; # documentation
+      *.sig) return 1 ;; # signatures
     esac
   else
     return 1


Jordan <vern95>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #41789:  grub-mkconfig.patch added by vern95 (292B - text/x-diff - [PATCH] Fix grub-mkconfig detecting .sig files as system images)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vern95 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-12 vern95 Attached File- Added grub-mkconfig.patch, #41789

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code