[pkg-apparmor] Bug#796589: apparmor: Has init script in runlevel S but no matching service file

Felipe Sateler fsateler at debian.org
Fri Jun 24 13:38:17 UTC 2016


On 24 Jun 2016 5:00 a.m., "intrigeri" <intrigeri at debian.org> wrote:
>
> Hi,
>
> Felipe Sateler wrote (06 Jun 2016 23:49:46 GMT) :
> > Please find attached a unit that wraps the currently existing init
> > script.
>
> Thanks! I've integrated something along these lines and expect I'll
> upload today.

Cool, thanks!

> > Also, apparmor init script is not stopped on shutdown (and thus I did
> > not add a Conflicts on shutdown.target), you might want to consider
> > dropping the ExecStop in that case.
>
> What would it buy us to drop ExecStop? Even though the service is not
> stopped on shutdown (that's on purpose), it may be useful to support
> manual "systemctl stop apparmor.service".

Mostly to prevent user errors. If the stop functionality is useful for
debugging purposes, maybe it is safer to ship in a helper script.

Saludos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-apparmor-team/attachments/20160624/26fa7d5d/attachment-0001.html>


More information about the pkg-apparmor-team mailing list