debugedit fails to handle apparmor_parse due to extra slash

Bug #1561939 reported by Christian Svensson
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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)
Changed in apparmor:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Tyler Hicks (tyhicks)
Revision history for this message
Tyler Hicks (tyhicks) wrote :

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.