Jaunty - get no dhcp lease, till i call dhclient manually

Bug #385994 reported by asterix80
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: dhcp

Hello,

Jaunty(64bit) fails to get an IP-Address from DHCP (dhcp client v3.1.1) at boot by the router of the cable network. The company (cablecom, Mr. Cekic) says, it's not a modem or network problem. The Cable Device is Cisco/Scientific Atlanta EPC2203. Windows XP works as my cable-phone does.

The case is similar to other reports. Forcing dhcp3-client to send on eth0 the eth0 mac doesnt change the problem. Similar but not identical to #354471.

The only solution I found is keep calling /sbin/dhclient EVERY 15minutes (lease time is about 30min).

Some Details:

+ifconfig eth0 right after boot: (not working)
eth0 Link encap:Ethernet Hardware Adresse 00:30:1......f
          inet Adresse:192.168.0.93 Bcast:192.168.0.255 Maske:255.255.255.0
          inet6-Adresse: fe80......

+after calling dhclient manually (and repeating to do so every 900 seconds)
eth0 Link encap:Ethernet Hardware Adresse 00:30:1.......f
          inet Adresse:84.7.....41 Bcast:255.255.255.255 Maske:255.255.248.0
          inet6-Adresse:........

netstat -rn (working)

Ziel Router Genmask Flags MSS Fenster irtt Iface
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
84.7....0 0.0.0.0 255.255.248.0 U 0 0 0 eth0
0.0.0.0 84.7....1 0.0.0.0 UG 0 0 0 eth0

Some Syslog Entries from a single boot: (Correct time gave same problems).
---------------------------------------------------------------------------------------------------------
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 0.428858] CPU0: AMD Athlon(tm) 64 Proces
sor 3200+ stepping 00
...
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274463] type=1505 audit(1244746758.307
:3): operation="profile_load" name="/sbin/dhclient-script" name2="default" pid=2
072
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274621] type=1505 audit(1244746758.307
:4): operation="profile_load" name="/sbin/dhclient3" name2="default" pid=2072
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274668] type=1505 audit(1244746758.307
:5): operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.actio
n" name2="default" pid=2072
Jun 11 20:59:19 ubuntu-ic6 kernel: [ 14.274707] type=1505 audit(1244746758.307
:6): operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" na
me2="default" pid=2072
...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> starting...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (eth0): new Ethernet device (
driver: 'forcedeth')
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (eth0): exported as /org/freed
esktop/Hal/devices/net_00_30.......f
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (ttyS0): ignoring due to lack
of mobile broadband capabilties
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> Trying to start the supplicant
...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> Trying to start the system set
tings daemon...
Jun 11 20:59:28 ubuntu-ic6 NetworkManager: <info> (eth0): carrier now ON (device
 state 1)
...
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPluginIfupdown: guessed conne
ction type (eth0) = 802-3-ethernet
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: No service file found in /etc/avah
i/services.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Joining mDNS multicast group on in
terface virbr0.IPv4 with address 192.168.122.1.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: New relevant interface virbr0.IPv4
 for mDNS.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Joining mDNS multicast group on in
terface eth0.IPv4 with address 192.168.0.93.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: New relevant interface eth0.IPv4 f
or mDNS.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Network interface enumeration comp
leted.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
 fe80::cc........ on virbr0.*.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
 192.168.122.1 on virbr0.IPv4.
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPlugin-Ifupdown: update_conne
ction_setting_from_if_block: name:eth0, type:802-3-ethernet, autoconnect:0, id:If
updown (eth0), uuid: ..................
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPlugin-Ifupdown: addresses co
unt: 1
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPlugin-Ifupdown: autoconnect
Jun 11 20:59:28 ubuntu-ic6 nm-system-settings: SCPluginIfupdown: management mo
de: unmanaged
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
 fe80::............ on eth0.*.
Jun 11 20:59:28 ubuntu-ic6 avahi-daemon[3169]: Registering new address record for
 192.168.0.93 on eth0.IPv4.

affects: dhcp (Ubuntu) → dhcp3 (Ubuntu)
Chuck Short (zulcss)
affects: dhcp3 (Ubuntu) → network-manager (Ubuntu)
Revision history for this message
Robin Sheat (eythian) wrote :

I see this on my eeepc, Jaunty NBR, 32-bit. NM actually works, but is prevented from setting the lease and so thinks that it hasn't, or something like that:

Oct 25 08:12:02 gulik kernel: [ 64.206320] type=1503 audit(1256411522.020:11): operation="file_mprotect" requested_mask="r::" denied_mask="r::" fsuid=0 name="/.filesystem/usr/overlay/lib/libglib-2.0.so.0.2000.1" pid=3172 profile="/usr/lib/NetworkManager/nm-dhcp-client.action"

(the .filesystem stuff is just due to a unionfs'ed filesystem backed by squashfs)

is there a workaround?

Revision history for this message
Robin Sheat (eythian) wrote :

OK, the workaround I just found is to /etc/init.d/apparmor stop, then network manager works.

Revision history for this message
Maarten Bezemer (veger) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 385994 and any other logs that are relevant for this particular issue.

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.