Rebooting didn't help sorry to say.

Also  found that the apparmor_parser doesn't handle some of the flags,
--Complain and -d seen below, mentioned in the help text.

tho...@thosjo-lab:~$ uptime && sudo aa-complain 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
 12:19:46 up 6 min,  2 users,  load average: 1.15, 0.77, 0.36
Setting /etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh to complain mode.
/sbin/apparmor_parser: Unable to replace "/usr/lib/firefox-3.0.7/firefox.sh".  
Unknown error

tho...@thosjo-lab:~$ sudo apparmor_parser  --Complain 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
apparmor_parser: unrecognized option '--Complain'
Novell/SUSE AppArmor parser version 2.3
Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Novell Inc.

Usage: apparmor_parser [options] [profile]

Options:
--------
-a, --add               Add apparmor definitions [default]
-r, --replace           Replace apparmor definitions
-R, --remove            Remove apparmor definitions
-C, --Complain          Force the profile into complain mode
-B, --binary            Input is precompiled profile
-p, --preprocess        Dump profiles with includes expanded
-N, --names             Dump names of profiles in input.
-S, --stdout            Dump compiled profile to stdout
-b n, --base n          Set base dir and cwd
-I n, --Include n       Add n to the search path
-f n, --subdomainfs n   Set location of apparmor filesystem
-m n, --match-string n  Use only match features n
-n n, --namespace n     Set Namespace for the profile
-q, --quiet             Don't emit warnings
-v, --version           Display version info and exit
-d, --debug             Debug apparmor definitions
-h, --help              Display this text and exit
tho...@thosjo-lab:~$ sudo apparmor_parser  -C 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
apparmor_parser: Unable to add "/usr/lib/firefox-3.0.7/firefox.sh".  Unknown 
error
tho...@thosjo-lab:~$ sudo apparmor_parser -d -C 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
tho...@thosjo-lab:~$ 
tho...@thosjo-lab:~$ sudo apparmor_parser -dC 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
tho...@thosjo-lab:~$ sudo apparmor_parser -d 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
tho...@thosjo-lab:~$ sudo aa-complain 
/etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh 
Setting /etc/apparmor.d/usr.lib.firefox-3.0.7.firefox.sh to complain mode.
/sbin/apparmor_parser: Unable to replace "/usr/lib/firefox-3.0.7/firefox.sh".  
Unknown error

tho...@thosjo-lab:~$

-- 
jaunty: Apparmor doesn't parse logs and doesnt generally work.
https://bugs.launchpad.net/bugs/341205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to