Adjust the multiarch alternation rule in the perl abstraction for modern Debian
and Ubuntu systems which store some modules under the architecture-specific
perl-base directory instead of perl or perl5.


Signed-Off-By: Jamie Strandboge <[email protected]>

PS - I accidentally used 'bzr ci' instead of 'bzr ci --local' for this, but
immediately uncommitted. I guess I'm getting used to git. ;)

-- 
Jamie Strandboge             | http://www.canonical.com
------------------------------------------------------------
revno: 3667
committer: Jamie Strandboge <[email protected]>
branch nick: apparmor.trunk
timestamp: Mon 2017-06-26 14:04:52 -0500
message:
  Author: Jamie Strandboge <[email protected]>
  Description: adjust the multiarch alternation rule in the perl abstraction for
   modern Debian and Ubuntu systems which store some modules under the
   architecture-specific perl-base directory instead of perl or perl5.
  
  Signed-Off-By: Jamie Strandboge <[email protected]>
diff:
=== modified file 'profiles/apparmor.d/abstractions/perl'
--- profiles/apparmor.d/abstractions/perl	2014-08-21 12:28:44 +0000
+++ profiles/apparmor.d/abstractions/perl	2017-06-26 19:04:52 +0000
@@ -15,8 +15,8 @@
 
   /usr/lib{,32,64}/perl5/**                    r,
   /usr/lib{,32,64}/perl{,5}/**.so*             mr,
-  /usr/lib/@{multiarch}/perl{,5}/**            r,
-  /usr/lib/@{multiarch}/perl{,5}/[0-9]*/**.so* mr,
+  /usr/lib/@{multiarch}/perl{,5,-base}/**            r,
+  /usr/lib/@{multiarch}/perl{,5,-base}/[0-9]*/**.so* mr,
 
   /usr/share/perl/**             r,
   /usr/share/perl5/**            r,
-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to