parser should handle its own parallelism

Bug #1488179 reported by intrigeri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Fix Released
Undecided
Unassigned
2.11
Fix Released
Undecided
Unassigned

Bug Description

As Seth Arnold explained on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782700#74 (slightly rephrasing): it would be good if calling the parser once per directory with profiles worked, e.g. apparmor_parser --replace /etc/apparmor.d/ (which already works, but without DTRT parallelism). This would avoid the need for distro initscripts & friends to implement xargs-based solutions, see e.g. https://sources.debian.net/src/apparmor/2.10-1/debian/lib/apparmor/functions/.

Another blocker to get rid of such ugliness seems to be LP: #1377338.

Both issues make it harder than needed to port current sysvinit initscripts to systemd.

Tags: aa-parser
Revision history for this message
intrigeri (intrigeri) wrote :

In 2.11 beta 1, the parser has --jobs=auto by default, so I guess we're done here :)

Changed in apparmor:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.