Bug 429725
| Summary: | s-c-n-cmd cannot import | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Adams <linux> |
| Component: | system-config-network | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | jmoskovc |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.5.5-1.fc8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-22 22:39:04 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: | |||
|
Description
Chris Adams
2008-01-22 18:15:29 UTC
Seeing the "fixed /etc/hosts parser" comment in the RPM changelog and that the above appeared to be failing on the HostsList line, I tried to remove all the HostsList lines and import. Now it fails in a different way: # system-config-network-cmd -i -c -f /tmp/net.new An unhandled exception has occured. This is most likely a bug. Please file a detailed bug report against the component system-config-network at https://bugzilla.redhat.com/bugzilla using the text below. Component: system-config-network Version: 1.4.7 Summary: TB /usr/share/system-config-network/netconfpkg/log.py:65:syslog_handler:TypeError: [priority,] message string Traceback (most recent call last): File "/usr/sbin/system-config-network-cmd", line 335, in main log.log(1, devlist) File "/usr/share/system-config-network/netconfpkg/log.py", line 72, in log self.handler(message, level = level) File "/usr/share/system-config-network/netconfpkg/log.py", line 65, in syslog_handler syslog.syslog(level, string) TypeError: [priority,] message string Local variables in innermost frame: syslog: <module 'syslog' from '/usr/lib/python2.5/lib-dynload/syslog.so'> self: <netconfpkg.log.LogFile instance at 0xb7cb8e2c> string: DeviceList.Ethernet.eth1.HardwareAddress=00:02:E3:0A:3E:2B DeviceList.Ethernet.eth1.Type=Ethernet DeviceList.Ethernet.eth1.BootProto=dhcp DeviceList.Ethernet.eth1.Device=eth1 DeviceList.Ethernet.eth1.OnBoot=False DeviceList.Ethernet.eth1.DeviceId=eth1 DeviceList.Ethernet.eth0.Hostname=gnat1.hiwaay.net DeviceList.Ethernet.eth0.HardwareAddress=00:E0:81:20:6B:25 DeviceList.Ethernet.eth0.Type=Ethernet DeviceList.Ethernet.eth0.BootProto=dhcp DeviceList.Ethernet.eth0.Device=eth0 DeviceList.Ethernet.eth0.OnBoot=True DeviceList.Ethernet.eth0.DeviceId=eth0 level: 1 # I also tried 1.5.0 from rawhide and it also failed (both on the full import and the partial). The original 1.4.3 from the F8 release does not seem to have the problem with the HostsList entries, but it still fails with the syslog error. Hi, I'm going thru the code right now, will fix this asap. I fixed this in devel, if you want to try it, you can download it from http:// git.fedorahosted.org/git/system-config-network.git I pulled just the patch for this issue and applied it to 1.4.7 and it does fix the import problem. Thanks. Any chance of seeing this in an update for F8? system-config-network-1.5.5-1.fc8 has been submitted as an update for Fedora 8 system-config-network-1.5.5-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-network'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2995 system-config-network-1.5.5-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |