apparmor_parser "hides" error message in help output
Bug #1437946 reported by
Christian Boltz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Christian Boltz |
Bug Description
# /sbin/apparmor_
/sbin/apparmor_
AppArmor parser version 2.9.1
Copyright (C) 1999-2008 Novell Inc.
Copyright 2009-2012 Canonical Ltd.
Usage: /sbin/apparmor_
Options:
--------
[...]
The parser errors out for obvious reasons, but why does it hide the
"You need root privileges" message behind the full --help details?
IMHO it should _only_ print the "You need root privileges" message.
BTW: The same happens for apparmor_parser --unknown-option.
BTW2: maybe you should also update the copyright year ;-)
Changed in apparmor: | |
assignee: | nobody → Christian Boltz (cboltz) |
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in 2.13/2.15 (whatever version number we'll use), see https:/ /gitlab. com/apparmor/ apparmor/ merge_requests/ 83