Hello,

another patch that was lost for half a year...

Am Montag, 28. April 2014 schrieb Felix Geyer:
> The Debian and Ubuntu Ruby 1.9.1 package is configured like this:
> --with-vendordir='/usr/lib/ruby/vendor_ruby'
> --with-sitedir='/usr/local/lib/site_ruby
> 
> These paths are missing in the ruby abstraction.
> 
> === modified file 'profiles/apparmor.d/abstractions/ruby'
> --- profiles/apparmor.d/abstractions/ruby     2013-07-01 18:06:52 +0000
> +++ profiles/apparmor.d/abstractions/ruby     2014-04-28 21:32:52 +0000
> @@ -13,9 +13,9 @@
>    /usr/lib{,32,64}/ruby/1.[89]{.[0-9],}/**.rb r,
>    /usr/lib{,32,64}/ruby/1.[89]{.[0-9],}/*-linux/**.so mr,
> 
> -  /usr/lib{,32,64}/ruby/site_ruby/1.[89]{.[0-9],}/ r,
> -  /usr/lib{,32,64}/ruby/site_ruby/1.[89]{.[0-9],}/**.rb r,
> -  /usr/lib{,32,64}/ruby/site_ruby/1.[89]{.[0-9],}/*-linux/**.so mr,
> +  /usr/{,local/}lib{,32,64}/ruby/{site,vendor}_ruby/1.[89]{.[0-9],}/
> r, + 
> /usr/{,local/}lib{,32,64}/ruby/{site,vendor}_ruby/1.[89]{.[0-9],}/**.
> rb r, + 
> /usr/{,local/}lib{,32,64}/ruby/{site,vendor}_ruby/1.[89]{.[0-9],}/*-l
> inux/**.so mr,
> 
>    /usr/lib{,32,64}/ruby/gems/1.[89]{.[0-9],}/ r,
>    /usr/lib{,32,64}/ruby/gems/1.[89]{.[0-9],}/** r,

Acked-by: Christian Boltz <[email protected]>

and commited to bzr trunk r2662.


BTW: In the meantime, openSUSE Factory contains ruby 2.1.2, which is not 
covered by the abstraction (only 1.8.x and 1.9.x). We really should 
avoid version numbers in abstractions...   (but that's another patch ;-)


Regards,

Christian Boltz
-- 
This feature is a bit cloudy (because of the theme of hackweek IV?).
What flavor do you want? Is there anywhere in Nürnberg/Erlangen an
ice-cream-delivery that has ice cream of pae or desktop flavor? Or
only vanilla? [Martin Seidler in https://features.opensuse.org/309454]


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to