[apparmor] [PATCH] update perl abstraction for perl-base

Seth Arnold seth.arnold at canonical.com
Mon Jun 26 19:22:54 UTC 2017


On Mon, Jun 26, 2017 at 02:14:41PM -0500, Jamie Strandboge wrote:
> 
> 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 <jamie at canonical.com>

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Acked for whatever branches need it.

Thanks

> 
> 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 <jamie at ubuntu.com>
> branch nick: apparmor.trunk
> timestamp: Mon 2017-06-26 14:04:52 -0500
> message:
>   Author: Jamie Strandboge <jamie at canonical.com>
>   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 <jamie at canonical.com>
> 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,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20170626/d78ec652/attachment.pgp>


More information about the AppArmor mailing list