28.4.7 Can I Manage Profiles for
Applications not Installed on my
System?
Managing profiles with AppArmor requires you to have access to a the system's log
the application is running on. So you do not need to run the application on your profile
build host as long as you have access to the machine that runs the application. You can
run the application on one system, transfer the logs (
/var/log/audit.log
or, if
audit
is not installed,
/var/log/messages
) to your profile build host and run
aa-logprof -f
path_to_logfile
.
28.4.8 How to Spot and fix AppArmor
Syntax Errors?
Manually editing Novell AppArmor profiles can introduce syntax errors. If you attempt
to start or restart AppArmor with syntax errors in your profiles, error results are shown.
This example shows the syntax of the entire parser error.
localhost:~ # rcapparmor start
Loading AppArmor profiles AppArmor parser error in
/etc/apparmor.d/usr.sbin.squid at line 410: syntax error, unexpected TOK_ID,
expecting TOK_MODE
Profile /etc/apparmor.d/usr.sbin.squid failed to load
Using the AppArmor YaST tools, a graphical error message indicates which profile
contained the error and requests you to fix it.
366
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......