Bug 128182
| Summary: | RFE: graceful recovery for system-config-network when files in /etc/sysconfig/ are unreadable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Keunwoo Lee <klee> | ||||
| Component: | system-config-network | Assignee: | Harald Hoyer <harald> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | mattdm | ||||
| Target Milestone: | --- | Keywords: | FutureFeature | ||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-11-13 11:33:55 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: | |||||||
| Attachments: |
|
||||||
|
Description
Keunwoo Lee
2004-07-19 19:33:38 UTC
Created attachment 102051 [details]
backtrace from crash
*** This bug has been marked as a duplicate of 98252 *** Sorry about the rapid changes in status. Upon further inspection
this does not look like an exact duplicate of 98252, so I am
reopening. BTW my bug leads to a crash on application startup.
Further information:
$ ls -al /etc/sysconfig/hwconf
b--xr-SrwT 65382 1718026086 4284900966 102, 102 Sep 6
1969 /etc/sysconfig/hwconf
Looks like something's wrong to me. Running kudzu crashes with:
# /usr/sbin/kudzu
Traceback (most recent call last):
File "/usr/share/system-config-mouse/system-config-mouse.py", line
56, in ?
useCliMode(mousetype, device, emulthree, help)
File "/usr/share/system-config-mouse/system-config-mouse.py", line
32, in useCliMode
app = mouse_cli.childWindow(mousetype, device, emulthree, help)
File "/usr/share/system-config-mouse/mouse_cli.py", line 44, in
__init__
self.mouse.read()
File "/usr/lib/python2.3/site-packages/rhpl/mouse.py", line 230, in
read
SimpleConfigFile.read(self, instPath + "/etc/sysconfig/mouse")
File "/usr/lib/python2.3/site-packages/rhpl/simpleconfig.py", line
55, in read
f = open(file, "r")
IOError: [Errno 6] No such device or address: '//etc/sysconfig/mouse'
Let's look at /etc/sysconfig/mouse:
s-ws--sr-- 65484 3435986892 4291611852 4291611852 Nov 22
1969 /etc/sysconfig/mouse
Hmmm.
errr... your filesystem looks completly broken!!! Really! Your may have to reinstall! Did you play around with hdparm?? My apologies. It appears I had not run a full fsck after a recent unclean shutdown. I still may have to reinstall but my system is mostly running better after a fsck. Nevertheless, there are any number of problems that can lead to /etc/sysconfig/* being unavailable. It seems like a good idea to have system-config-network, which is end-user software, recover gracefully from errors reading these files instead of crashing with a backtrace. I am reducing this bug's priority to enhancement and changing the title. Thanks. Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. |