← Back to team overview

touch-packages team mailing list archive

[Bug 1435452] Re: dh_apparmor has no dh sequencer support

 

How about:

debian/apparmor/usr.sbin.mysqld: <actual profile>

debian/mysql-server-5.6.apparmor:

debian/apparmor/usr.sbin.mysqld usr.sbin.mysqld

OR (both would work)

debian/apparmor/usr.sbin.mysqld

(profile name defaults to basename of path provided)

then, in debian/rules:

dh --with apparmor

OR (both would work)

dh_installapparmor at the appropriate time

OR (for backwards compatilibity)

dh_install # arranges /etc/apparmor.d/usr.sbin.mysqld to exist
dh_apparmor --profile=usr.sbin.mysqld

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1435452

Title:
  dh_apparmor has no dh sequencer support

Status in apparmor package in Ubuntu:
  Confirmed

Bug description:
  As dh_apparmor timing is critical (it must run before services are
  started with dh_installinit), it makes sense to provide direct dh
  sequencer support so that maintainers don't have to remember to run it
  directly, and cannot mistakenly call it at the wrong point, as
  happened with MySQL in bug 1421303).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1435452/+subscriptions


References