congratulations on discovering yet another bug :/

It looks like the version check is broken, I haven't used it for a
while, but I just wanted to check for which version of the parser was
involved. We can skip this command and move on as 13.04 should be the
2.8.0 parser. If you care you can use the command without sudo you
should get the following output

> apparmor_parser -v
apparmor_parser: Sorry. You need root privileges to run this program.

AppArmor parser version 2.8.0
Copyright (C) 1999-2008 Novell Inc.
Copyright 2009-2012 Canonical Ltd.

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
-N, --names             Dump names of profiles in input.
-S, --stdout            Dump compiled profile to stdout
-o n, --ofile n         Write output to file n
-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
-X, --readimpliesX      Map profile read permissions to mr
-k, --show-cache        Report cache hit/miss details
-K, --skip-cache        Do not attempt to load or save cached profiles
-T, --skip-read-cache   Do not attempt to load cached profiles
-W, --write-cache       Save cached profile (force with -T)
-L, --cache-loc n       Set the location of the profile cache
-q, --quiet             Don't emit warnings
-v, --verbose           Show profile names as they load
-Q, --skip-kernel-load  Do everything except loading into kernel
-V, --version           Display version info and exit
-d, --debug             Debug apparmor definitions
-p, --preprocess        Dump preprocessed profile
-D [n], --dump          Dump internal info for debugging
-O [n], --Optimize      Control dfa optimizations
-h [cmd], --help[=cmd]  Display this text or info about cmd


Which is still not right as it should not be complaining about root, nor 
dumping the help text but at least it is dumping the version

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1187970

Title:
  apparmor prevents custom printer driver from executing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1187970/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to