debugedit fails to handle apparmor_parse due to extra slash

Bug #1561939 reported by Christian Svensson on 2016-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tyler Hicks

Bug Description

Trying to use debugedit on apparmor_parse results in:

# debugedit -i apparmor_parser -d /tmp -b $PWD
debugedit: canonicalization unexpectedly shrank by one character

This is a known problem ( and is quite silly.
The fix is to remove this extra slash:

--- a/parser/Makefile 2016-03-25 11:11:45.807843796 +0100
+++ b/parser/Makefile 2016-03-25 11:11:51.639843639 +0100
@@ -95,7 +95,7 @@
- LIBAPPARMOR_SRC = ../libraries/libapparmor/
+ LIBAPPARMOR_SRC = ../libraries/libapparmor

After patch:
# debugedit -i apparmor_parser -d /tmp -b $PWD

Related branches

Tyler Hicks (tyhicks) on 2016-03-25
Changed in apparmor:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Tyler Hicks (tyhicks)
Tyler Hicks (tyhicks) wrote :

Thanks Christian! I've committed a fix for this:

Steve Beattie (sbeattie) on 2016-03-25
Changed in apparmor:
milestone: none → 2.11
Christian Boltz (cboltz) on 2017-01-10
Changed in apparmor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers