|
Bugzilla – Full Text Bug Listing |
| Summary: | Networkmanager drops DHCP configuration | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Lars Müller <lmuelle> |
| Component: | GNOME | Assignee: | E-mail List <gnome-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | hare |
| Version: | RC 3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Networkmanager log
Excerpt of /var/log/messages while dhclient is under NM control strace of NetworkManager diff of the non and the working dhclient.conf |
||
|
Description
Lars Müller
2008-06-11 09:43:16 UTC
Created attachment 221452 [details]
Networkmanager log
Created attachment 221455 [details]
Excerpt of /var/log/messages while dhclient is under NM control
The time frame in question is Jun 11 11:33:04 to 11:33:49. LC_ALL=POSIX rpm -qa --last | grep ^NetworkManager NetworkManager-kde-0.7r815970-4.1 Tue Jun 10 16:01:30 2008 NetworkManager-0.7.0.r3685-7.1 Tue Jun 10 15:55:38 2008 NetworkManager-glib-0.7.0.r3685-7.1 Tue Jun 10 15:46:08 2008 This looks like a dbus issue. NM uses it's own script that runs when dhclient succeeds. It's purpose is to convert the environment variables from dhclient to dbus message and send it to NM. This usually fails because the script can not obtain dbus connection and that happens when dbus configuration files in /etc/dbus-1/ change. For some reason, dbus is not able to work correctly after that until it's restarted or receives a SIGHUP signal. Can you confirm the problem dissapears after reboot? I've rebooted the systenm several times and the problem is still there. dbus is activated and running. These are the dbus packages in use: dbus-1-qt3-0.62-179.1 libdbus-1-qt3-0-0.8.1-24.1 dbus-1-glib-0.74-88.1 dbus-1-1.2.1-15.1 dbus-1-x11-1.2.1-18.1 dbus-1-devel-1.2.1-15.1 NM runs dhclient like this: /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -cf /etc/dhclient.conf eth0 Could you please try to kill NetworkManager, then 'ifconfig eth0 up' and the dhclient command line from above. Does that work? In case of dbus errors I suspect, it should print out something like: Error: Could not acquire the NM DHCP client service. Message: (org.freedesktop.DBus.Error.AccessDenied) Connection ":1.1598" is not allowed to own the service "org.freedesktop.nm_dhcp_client" due to security policies in the configuration file The dhclient command line from comment #7 works. Created attachment 222436 [details]
strace of NetworkManager
This is a strace of NetworkManager started with an unplugged cable. Later the cable gets plugged.
/etc/dhclient.conf was installed as /etc/dhclient.conf.rpmnew.
I suspec this line
script "/sbin/dhclient-script";
to cause the trouble.
Created attachment 222475 [details]
diff of the non and the working dhclient.conf
Confirmed here. Why is this closed with INVALID? It certainly is a problem here, found during update from 10.3 to 11.0. As it works with the default dhclient configuration. Please check the diff of my old working configuration attached with comment #11 compared to your situation. If the situation is the same we have a generic 10.3 to 11.0 upgrade problem anyone using networkmanager/ dhclient will run into. Situation is the same. The first hunk is not required, but the second one (which comments out the 'script' line still applies and fixes the problem. Looks like a generic update problem. Marking this one as duplicate because the other has more information. *** This bug has been marked as a duplicate of bug 402575 *** |