Free Hosting Online for WorkStations

< Previous | Contents | Next >

4.2.1. Creating a Profile

Design a test plan: Try to think about how the application should be exercised. The test plan should be divided into small test cases. Each test case should have a small description and list the steps to follow.


Some standard test cases are:

• Starting the program.

• Stopping the program.

• Reloading the program.

• Testing all the commands supported by the init script.

Generate the new profile: Use aa-genprof to generate a new profile. From a terminal:


sudo aa-genprof executable


For example:


sudo aa-genprof slapd

• To get your new profile included in the apparmor-profiles package, file a bug in Launchpad against the

AppArmor7 package:

• Include your test plan and test cases.

Top OS Cloud Computing at OnWorks: