[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #52236] update-grub processing of lilo.conf append line contains a

From: Matthew Melton
Subject: [bug #52236] update-grub processing of lilo.conf append line contains a space at the end
Date: Mon, 16 Oct 2017 10:44:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/61.0.3163.100 Chrome/61.0.3163.100 Safari/537.36


                 Summary: update-grub processing of lilo.conf  append line
contains a space at the end
                 Project: GNU GRUB
            Submitted by: hairy_marmite
            Submitted on: Mon 16 Oct 2017 02:44:55 PM UTC
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Matt Melton
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.02
         Reproducibility: None
         Planned Release: None



This tripped me up during an update (on ubuntu 17.04  grub2/zesty-updates
2.02~beta3-4ubuntu2.2 amd64). 

My lilo.conf on another disk caused the upgrade-grub part of the upgrade to
After some quick research documented here:
I found the reason, the following part of my lilo.conf:

image = /boot/vmlinuz
  label = Linux

Contains a space after the last quote in the append line. 
Lilo itself does not worry about this and boots properly. 
The dequote function in the bash script
"/usr/lib/linux-boot-probes/mounted/50lilo" that parses the lilo.conf file
only removes the second quote on the append line if it is the last character
on the line.

So essentially a non-critical syntax error in lilo.conf, 
caused the update of grub to fail (this was during a kernel security

If you need any further details, let me know and I'll do my best to provide

Possible fix would be to trim any extra spaces at the end of the line before
(or during ) the call to dequote. 

All the best




Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]