Bug 753594

Summary: [abrt] bootconf-1.4-2.fc15: bootconf:26:<module>:OSError: [Errno 2] No such file or directory: '/boot/grub/grub.conf'
Product: [Fedora] Fedora Reporter: Jirka Folta <jiri.folta>
Component: bootconfAssignee: Sam Varshavchik <mrsam>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mrsam
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:443092cf4cffe60f5428c2e5f8fc4b06ad4e9456
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-13 20:20:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jirka Folta 2011-11-13 17:17:14 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        /usr/bin/python /usr/sbin/bootconf
executable:     /usr/sbin/bootconf
kernel:         3.1.0-7.fc16.x86_64
reason:         bootconf:26:<module>:OSError: [Errno 2] No such file or directory: '/boot/grub/grub.conf'
time:           Sun Nov 13 18:10:38 2011
uid:            1000
username:       user

backtrace:
:bootconf:26:<module>:OSError: [Errno 2] No such file or directory: '/boot/grub/grub.conf'
:
:Traceback (most recent call last):
:  File "/usr/sbin/bootconf", line 26, in <module>
:    if stat.S_ISLNK(os.stat(configfile)[0]):
:OSError: [Errno 2] No such file or directory: '/boot/grub/grub.conf'
:
:Local variables in innermost frame:
:stat: <module 'stat' from '/usr/lib64/python2.7/stat.pyc'>
:copyright: 'bootconf\n\nCopyright 2006-2010, Double Precision, Inc.\n\nSee COPYING file for distribution information\n'
:__builtins__: <module '__builtin__' (built-in)>
:__file__: '/usr/sbin/bootconf'
:gettext: <module 'gettext' from '/usr/lib64/python2.7/gettext.pyc'>
:__package__: None
:sys: <module 'sys' (built-in)>
:re: <module 're' from '/usr/lib64/python2.7/re.pyc'>
:configfile: '/boot/grub/grub.conf'
:__name__: '__main__'
:os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
:__doc__: None

comment:
:I installed the bootconf package by using
:$ yum install bootconf
:after I tried to run it 
:[root@pholta-nb ~]# bootconf 
:Traceback (most recent call last):
:  File "/usr/sbin/bootconf", line 26, in <module>
:    if stat.S_ISLNK(os.stat(configfile)[0]):
:OSError: [Errno 2] No such file or directory: '/boot/grub/grub.conf'

smolt_data:
:
:
:Obecné
:=================================
:UUID: cbd30871-46e3-4895-8d14-e047558f9265
:OS: Fedora release 16 (Verne)
:Výchozí startovací úroveň: Unknown
:Jazyk: cs_CZ.utf8
:Platfoma: x86_64
:BogoMIPS: 2659.90
:Výrobce CPU: GenuineIntel
:Model CPU: Intel(R) Core(TM) i3 CPU       U 380  @ 1.33GHz
:CPU Stepping: 5
:CPU Family: 6
:Číslo modelu CPU: 37
:Počet CPU: 4
:Rychlost CPU: 1333
:Systémová paměť: 3755
:Systémový odkládací prostor: 5791
:Výrobce: LENOVO
:Systém: 03285EG ThinkPad Edge
:Formát desky: Notebook
:Jádro: 3.1.0-7.fc16.x86_64
:SELinux povolen: 1
:SELinux politika: targeted
:SELinux vynucen: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Zařízení
:=================================
:(32902:11362:6058:8598) pci, None, HOST/PCI, Core Processor QuickPath Architecture Generic Non-core Registers
:(32902:11521:6058:8598) pci, None, HOST/PCI, Core Processor QuickPath Architecture System Address Decoder
:(32902:68:6058:8648) pci, agpgart-intel, HOST/PCI, Core Processor DRAM Controller
:(32902:11536:6058:8598) pci, None, HOST/PCI, Core Processor QPI Link 0
:(32902:11537:6058:8598) pci, None, HOST/PCI, Core Processor QPI Physical 0
:(32902:11538:6058:8598) pci, None, HOST/PCI, Core Processor Reserved
:(32902:11539:6058:8598) pci, None, HOST/PCI, Core Processor Reserved
:(32902:15152:6058:8648) pci, i801_smbus, SERIAL, 5 Series/3400 Series Chipset SMBus Controller
:(32902:15145:6058:8648) pci, ahci, STORAGE, 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
:(32902:15113:6058:8648) pci, None, PCI/ISA, Mobile 5 Series Chipset LPC Interface Controller
:(32902:15154:6058:8648) pci, intel ips, NONE, 5 Series/3400 Series Chipset Thermal Subsystem
:(4332:33128:6058:8645) pci, r8169, ETHERNET, RTL8111/8168B PCI Express Gigabit Ethernet controller
:(32902:9288:6058:8648) pci, None, PCI/PCI, 82801 Mobile PCI Bridge
:(32902:15164:6058:8648) pci, ehci_hcd, USB, 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
:(32902:15156:6058:8648) pci, ehci_hcd, USB, 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
:(32902:15204:6058:8648) pci, None, SIMPLE, 5 Series/3400 Series Chipset HECI Controller
:(32902:132:32902:4885) pci, iwlagn, NETWORK, Centrino Wireless-N 1000 BGN
:(32902:70:6058:8648) pci, i915, VIDEO, Core Processor Integrated Graphics Controller
:(32902:15170:6058:8648) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 1
:(32902:15172:6058:8648) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 2
:(32902:15178:6058:8648) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 5
:(32902:15190:6058:8648) pci, snd_hda_intel, MULTIMEDIA, 5 Series/3400 Series Chipset High Definition Audio
:(32902:15180:6058:8648) pci, pcieport, PCI/PCI, 5 Series/3400 Series Chipset PCI Express Root Port 6
:
:
:Informace o souborovém systému
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/mapper/vg_pholtanb-lv_root / ext4 4096 4096 12901535 11938652 11807630 3276800 3169102 3169102
:/dev/sda1 /boot ext4 1024 1024 495844 460051 434451 128016 127791 127791
:/dev/mapper/vg_pholtanb-lv_home /home ext4 4096 4096 62427105 43934713 40763590 15859712 15856114 15856114
:/dev/sdb1 WITHHELD fuseblk 4096 4096 244190000 14873399 14873399 59624668 59529001 59529001
:

Comment 1 Jirka Folta 2011-11-13 17:17:50 UTC
Package: bootconf-1.4-2.fc15
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
I installed the bootconf package by using
$ yum install bootconf
after I tried to run it 
[root@pholta-nb ~]# bootconf 
Traceback (most recent call last):
  File "/usr/sbin/bootconf", line 26, in <module>
    if stat.S_ISLNK(os.stat(configfile)[0]):
OSError: [Errno 2] No such file or directory: '/boot/grub/grub.conf'

Comment 2 Sam Varshavchik 2011-11-13 20:20:57 UTC
F16 by default installs grub2, not grub.

bootconf does not support grub2.