Bug 190968
| Summary: | xen-3.0.2-0.FC5.1 should not bomb if default in grub.conf is not specified | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Roy-Magne Mo <rmo> |
| Component: | xen | Assignee: | Jeremy Katz <katzj> |
| Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5 | CC: | bstein, katzj |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-09-21 20:06:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 150224 | ||
This should be fixed now |
Description of problem: If default entry in grub.conf is not specified, pygrub bombs out with a error message. Version-Release number of selected component (if applicable): xen-3.0.2-0.FC5.1 PYGRUB_VER = 0.3 How reproducible: always Steps to Reproduce: 1. remove or comment out the default line in grub.conf in a xen-guest 2. 3. Actual results: # xm create xen04 Using config file "/etc/xen/xen04". Traceback (most recent call last): File "/usr/bin/pygrub", line 260, in ? sel = cf.default File "/usr/lib/python2.4/site-packages/grub/GrubConf.py", line 193, in _get_default return self._default AttributeError: 'GrubConfigFile' object has no attribute '_default' Error: Boot loader didn't return any data! Expected results: pygrub should go to interactive mode, or let me select the entry to boot with the --entry parameter. Additional info: