GNU GRUB - Bugs: bug #35386, Add tests to grub-reboot
You are not allowed to post comments on this tracker with your current authentication level.
bug #35386: Add tests to grub-reboot
Submitter: | Mike Bridge <buckethead> | ||
Submitted: | Fri 27 Jan 2012 10:39:07 PM UTC | ||
Category: | None | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Feature Request |
Status: | Wont Fix | Privacy: | Public |
Assigned to: | None | Originator Name: | Mike Bridge |
Open/Closed: | Closed | Release: | other |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Sun 04 Mar 2012 01:41:10 AM UTC, comment #1: |
Vladimir Serbinenko <phcoder> |
Fri 27 Jan 2012 10:39:07 PM UTC, original submission:
Grub-reboot doesn't currently check sanity of configuration. I recommend checking for proper parameters in /etc/default/grub and (If KDM is installed) in /usr/share/kdm/kdmrc.
|
Mike Bridge <buckethead> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2012-03-04 | phcoder | Status | None | Wont Fix | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-4b48.
Corresponding source code
Even if kdm is installed it's not necessarily used. Erroring in one package just because some other package may be misconfigured is unreasonable. Also it may be that GRUB isn't the main bootloader even if grub-reboot is used. E.g. if you odify another system mounted somewhere or just test GRUB as secondary loader. Converserly grub-reboot may never be executed and so the check would never happen. It's just wrong place to check for kdm config.
Also grub.cfg may be manually written and contents of default/grub isn't significant in this case. Also if --boot-directory is given we have no idea where the corresponding default/grub may be. Again exiting with error just because of a sanity check which doesn't cover all possible usecases isn't good