[Bug 1049177] Re: isc-dhcp-server apparmor profile should have include ".d"

Launchpad Bug Tracker 1049177 at bugs.launchpad.net
Mon Apr 29 16:54:24 UTC 2013


** Branch linked: lp:~smoser/ubuntu/precise/isc-dhcp/precise-
updates.dist

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

Title:
  isc-dhcp-server apparmor profile should have include ".d"

Status in “isc-dhcp” package in Ubuntu:
  Fix Released
Status in “maas” package in Ubuntu:
  Fix Released
Status in “isc-dhcp” source package in Precise:
  Fix Released
Status in “maas” source package in Precise:
  New
Status in “isc-dhcp” source package in Quantal:
  Fix Released
Status in “maas” source package in Quantal:
  Fix Released

Bug description:
  /etc/apparmor.d/usr.sbin.dhcpd currently has:
    # Eucalyptus
    /{,var/}run/eucalyptus/net/ r,
    /{,var/}run/eucalyptus/net/** r,
    /{,var/}run/eucalyptus/net/*.pid lrw,
    /{,var/}run/eucalyptus/net/*.leases* lrw,
    /{,var/}run/eucalyptus/net/*.trace lrw,

  and
      #include <local/usr.sbin.dhcpd>

  [rationale]
  The MAAS project is looking to use isc-dhcp-server almost exactly like eucalyptus did, and as a result would need some changes to this profile.  In speaking with jdstrand [1], he suggested that "#include <isc-dhcpd.d>" was the preferred way to enable this.

  [test case]
  Just make sure the apparmor profile gets updated and doesn't fail to load. Proper testing will have to be done once the mass change lands.

  [regression potential]
  Was tested on quantal and it's already widely used apparmor syntax, so the worst I can think of is that the line just won't work and won't include the profile once it lands in maas.

  --
  [1] http://irclogs.ubuntu.com/2012/09/11/%23ubuntu-server.html#t14:36

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: isc-dhcp-server 4.2.4-1ubuntu7
  ProcVersionSignature: User Name 3.5.0-13.14-generic 3.5.3
  Uname: Linux 3.5.0-13-generic x86_64
  ApportVersion: 2.5.1-0ubuntu7
  Architecture: amd64
  Date: Tue Sep 11 15:01:45 2012
  DhServerLeases:

  Ec2AMI: ami-00000148
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  KernLog:

  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.dhcp.dhcpd.conf: 2012-09-07T14:46:55.587373

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




More information about the foundations-bugs mailing list