[Bug 1107686] Re: dhcpd: Open a socket for LPF: Permission denied

John Johansen john.johansen at canonical.com
Mon Jan 28 15:59:03 UTC 2013


The apparmor rule for af family packet needs to be changed, or a new rule needs to be added
  network packet packet,

the denials in the log
Jan 27 16:30:17 gilles-PC kernel: [ 5019.663392] type=1400 audit(1359300617.371:40): apparmor="DENIED" operation="create" parent=1 profile="/usr/sbin/dhcpd" pid=19585 comm="dhcpd" family="packet" sock_type="raw" protocol=768

show that raw sockets of the packet family need to be allowed, this can
be done with any of the following, listed from most specific to most
generic

  network packet raw,
  network packet,
  network,

-- 
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/1107686

Title:
  dhcpd: Open a socket for LPF: Permission denied

Status in “isc-dhcp” package in Ubuntu:
  New

Bug description:
  gilles at gilles-PC:~$ apt-cache policy isc-dhcp-server
  isc-dhcp-server:
    Installé : 4.2.4-4ubuntu1
    Candidat : 4.2.4-4ubuntu1
   Table de version :
   *** 4.2.4-4ubuntu1 0
          500 http://fr.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status
  gilles at gilles-PC:~$ lsb_release -rd
  Description:	Ubuntu Raring Ringtail (development branch)
  Release:	13.04
   
  the demon don't start.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: isc-dhcp-server 4.2.4-4ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-2.6-generic 3.8.0-rc4
  Uname: Linux 3.8.0-2-generic x86_64
  ApportVersion: 2.8-0ubuntu2
  Architecture: amd64
  Date: Mon Jan 28 10:14:39 2013
  DhServerLeases:
   
  InstallationDate: Installed on 2013-01-12 (15 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130112)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.dhcp.dhcpd.conf: 2013-01-27T15:52:08.331356

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




More information about the foundations-bugs mailing list