Public bug reported: Upgraded from Ubuntu 8.10 to 9.04 and lost all network connections. Found out that it was it was a problem with dhcp3-client. See syslog list:
Apr 8 22:55:48 idefix dhclient: Can't create /usr/local/var/run/dhclient-eth1.pid: Permission denied Apr 8 22:55:48 idefix kernel: [ 190.757114] type=1503 audit(1239224148.534:16): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/usr/local/var/run/dhclient-eth1.pid" pid=3618 profile="/sbin/dhclient3" Apr 8 22:55:52 idefix dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3 Apr 8 22:55:53 idefix dhclient: DHCPOFFER of 192.168.0.4 from 192.168.0.1 Apr 8 22:55:53 idefix dhclient: DHCPREQUEST of 192.168.0.4 on eth1 to 255.255.255.255 port 67 Apr 8 22:55:55 idefix dhclient: DHCPACK of 192.168.0.4 from 192.168.0.1 Apr 8 22:55:55 idefix dhclient: execve (/usr/local/libexec/nm-dhcp-client.action, ...): Permission denied Apr 8 22:55:55 idefix dhclient: can't create /usr/local/var/lib/dhcp3/dhclient-eth1.lease: No such file or directory Apr 8 22:55:55 idefix dhclient: bound to 192.168.0.4 -- renewal in 34096 seconds. Apr 8 22:55:55 idefix dhclient: Can't create /usr/local/var/run/dhclient-eth1.pid: Permission denied Apr 8 22:55:55 idefix kernel: [ 197.668930] type=1503 audit(1239224155.446:17): operation="inode_permission" requested_mask="x::" denied_mask="x::" fsuid=0 name="/usr/local/libexec/nm-dhcp-client.action" pid=3620 profile="/sbin/dhclient3" Apr 8 22:55:55 idefix kernel: [ 197.669691] type=1503 audit(1239224155.446:18): operation="inode_create" requested_mask="a::" denied_mask="a::" fsuid=0 name="/usr/local/var/run/dhclient-eth1.pid" pid=3618 profile="/sbin/dhclient3" Apr 8 22:55:57 idefix NetworkManager: <info> Device 'eth0' DHCP transaction took too long (>45s), stopping it. Apr 8 22:55:57 idefix NetworkManager: <info> eth0: canceled DHCP transaction, dhcp client pid 3588 Apr 8 22:55:57 idefix NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) scheduled... Apr 8 22:55:57 idefix NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) started... Apr 8 22:55:57 idefix NetworkManager: <info> (eth0): device state change: 7 -> 9 Apr 8 22:55:57 idefix NetworkManager: <info> Marking connection 'Auto eth0' invalid. When I disabled the apparmor profile /sbin/dhclient3 the network connection with NetworkManager works again. I don't know if this is a bug in dhcp3 or apparmor, but its a bug that breaks the system. It's hard to get back on track without a network connection... ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 Package: dhcp3-client 3.1.1-5ubuntu8 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: dhcp3 Uname: Linux 2.6.28-11-generic i686 ** Affects: dhcp3 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- can't create file: permission denied by apparmor https://bugs.launchpad.net/bugs/358035 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs