[apparmor] [Merge] lp:~intrigeri/apparmor/perl-5.20-multiarch into lp:apparmor

Jamie Strandboge jamie at canonical.com
Wed Aug 20 19:22:07 UTC 2014


On 08/20/2014 03:19 AM, intrigeri wrote:
> Hi,
> 
> Jamie Strandboge wrote (20 Aug 2014 02:28:08 GMT) :
>> Ubuntu is going through the 5.20 perl multiarch transition and I came up with
>> different rules (and more comprehensive patch).
> 
> Great! I'm happy to see my merge request superseded by a better one :)
> 
>> --- apparmor-2.8.96~2541.orig/profiles/apparmor.d/abstractions/perl
>> +++ apparmor-2.8.96~2541/profiles/apparmor.d/abstractions/perl
>> @@ -15,6 +15,8 @@
> 
>>    /usr/lib{,32,64}/perl5/**         r,
>>    /usr/lib{,32,64}/perl{,5}/**.so*  mr,
>> +  /usr/lib/@{multiarch}/perl/**            r,
>> +  /usr/lib/@{multiarch}/perl/[0-9]*/**.so* mr,
> 
> I'm curious why /usr/lib/@{multiarch}/perl5/ doesn't need to be
> allowed: I see a lot of modules installed in there, that previously
> were installed in /usr/lib/perl5/ (and thus accessible for reading).
> Any hint to satisfy my curiosity?
> 
Ah, when I installed libapparmor-perl built against multiarchified perl on a
system with multiarch perl, I saw it was installed to
/usr/lib/@{multiarch}/perl/5.20/..., so I didn't think we needed the ',5'. Since
you are seeing both, I'll update the patch. I'll send it in a separate thread.

-- 
Jamie Strandboge                 http://www.ubuntu.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140820/4803cd82/attachment.pgp>


More information about the AppArmor mailing list