[Bug 1028526] Re: dhcpd failed to start with apparmor denied: capname="dac_override"

Launchpad Bug Tracker 1028526 at bugs.launchpad.net
Tue Jul 24 17:15:39 UTC 2012


This bug was fixed in the package isc-dhcp - 4.2.4-1ubuntu4

---------------
isc-dhcp (4.2.4-1ubuntu4) quantal; urgency=low

  * debian/isc-dhcp-server.isc-dhcp-server[6].upstart: chown /var/lib/dhcp
    and the lease files to 'root:root'. This is needed due to the change
    in 4.2.4-1ubuntu1 to use the upstream code for dropping privileges which
    requires the lease files be owned by root. (LP: #1028526)
 -- Jamie Strandboge <jamie at ubuntu.com>   Tue, 24 Jul 2012 11:24:36 -0500

** Changed in: isc-dhcp (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1028526

Title:
  dhcpd failed to start with apparmor denied: capname="dac_override"

Status in “isc-dhcp” package in Ubuntu:
  Fix Released

Bug description:
  TEST CASE:
  1. Install a fresh ubuntu server
  2. Install isc-dhcp-server
  3. Reboot

  ACTUAL RESULT
  dhcpd failed to start with the following message in syslog

  Jul 24 12:00:51 ubuntu dhcpd: Can't open /var/lib/dhcp/dhcpd.leases for append.
  Jul 24 12:00:51 ubuntu kernel: [    2.754632] type=1400 audit(1343145651.533:7): apparmor="DENIED" operation="capable" parent=1 profile="/usr/sbin/dhcpd" pid=889 comm="dhcpd" pid=889 comm="dhcpd" capability=1  capname="dac_override"

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: isc-dhcp-server (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-5.5-generic 3.5.0-rc7
  Uname: Linux 3.5.0-5-generic x86_64
  ApportVersion: 2.4-0ubuntu5
  Architecture: amd64
  Date: Tue Jul 24 18:05:29 2012
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: isc-dhcp
  UpgradeStatus: Upgraded to quantal on 2012-01-31 (174 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1028526/+subscriptions




More information about the foundations-bugs mailing list