Skip to content

Commit 5b338ac

Browse files
committed
emulation: Added documentation to describe how to use the opp_run apparmor profiles.
1 parent 833715e commit 5b338ac

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

showcases/emulation/README

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,18 @@ $> sudo setcap cap_sys_admin+ep /${your-omnetpp-root}/bin/opp_run_dbg
1414
To remove extra privileges after you're finished using network namespaces, use the following commands:
1515

1616
$> sudo setcap -r /${your-omnetpp-root}/bin/opp_run_release
17-
$> sudo setcap -r /${your-omnetpp-root}/bin/opp_run_dbg
17+
$> sudo setcap -r /${your-omnetpp-root}/bin/opp_run_dbg
18+
19+
On Ubuntu systems which use apparmor additional configuration is required:
20+
21+
Copy the opp_run apparmor profile:
22+
23+
$> sudo cp opp_run /etc/apparmor.d
24+
25+
Enable the new opp_run apparmor profile:
26+
27+
$> sudo aa-enforce /etc/apparmor.d/opp_run
28+
29+
If you later edit the opp_run apparmor profile you can reload it:
30+
31+
$> sudo apparmor_parser -r /etc/apparmor.d/opp_run

0 commit comments

Comments
 (0)