wrong path in natty

Bug #755724 reported by Mikko
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
isc-dhcp (Ubuntu)
Fix Released
Medium
Jamie Strandboge

Bug Description

Binary package hint: isc-dhcp-client

In Ubuntu SERVER 11.04 (natty) dhclient uses (IMO) wrong path for dhclient's lease files:
dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0

In /etc/apparmor.d/sbin.dhclient there's a line:
/var/lib/dhcp/dhclient* lrw,

which causes an error message to syslog:
dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: Permission denied

So I think correct path for the lease files should be /var/lib/dhcp/

Desktop Natty with Network-Manager seems work fine.

Description: Ubuntu Natty (development branch)
Release: 11.04

isc-dhcp-client:
  Installed: 4.1.1-P1-15ubuntu7
  Candidate: 4.1.1-P1-15ubuntu7

Related branches

Mikko (mikko911)
description: updated
Changed in isc-dhcp (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
importance: Undecided → Medium
milestone: none → ubuntu-11.04-beta-2
status: New → Triaged
Changed in isc-dhcp (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package isc-dhcp - 4.1.1-P1-15ubuntu8

---------------
isc-dhcp (4.1.1-P1-15ubuntu8) natty; urgency=low

  * apparmor-profile.dhclient: update to also allow leases in /var/lib/dhcp3
    (LP: #755724)
 -- Jamie Strandboge <email address hidden> Mon, 11 Apr 2011 07:56:15 -0500

Changed in isc-dhcp (Ubuntu):
status: Fix Committed → Fix Released
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.