Comment 17 for bug 1305108

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1305108] Re: please provide upstart job for apparmor

On Thu, Jun 12, 2014 at 06:56:45PM -0000, Jamie Strandboge wrote:
> For bug #1296415 to be unblocked, we only need to guarantee that the
> policy is loaded before the user session starts since we can have the
> upstart jobs for the system services in bug #1296415 load the policy
> like we do now with other services. As such, could we not have the
> apparmor upstart job be a task, happen sometime later in the boot and
> have the lightdm job do "start on started apparmor"? AIUI "started" for
> task means that the task has completed.

No, a task job will be in state 'stopped', not 'started'. But with a normal
non-task job, it probably works to add 'and started apparmor' to the lightdm
start condition.