On Fri, Aug 18, 2017 at 06:16:37PM -0700, Seth Arnold wrote:
> On Thu, Aug 17, 2017 at 10:47:05PM +0300, artiom wrote:
> > $ man select
> > man: can't open /usr/share/postgresql/9.6/man/man7/SELECT.7.gz:
> > Отказано в доступе
> 
> I slightly modified artiom's suggestion. It might not make a difference
> with our DFA walking but it'd help regular regex engines.
> 
> Signed-off-by: Seth Arnold <seth.arn...@canonical.com>
> 
 
> === modified file 'profiles/apparmor/profiles/extras/usr.lib.man-db.man'
> --- profiles/apparmor/profiles/extras/usr.lib.man-db.man      2016-12-03 
> 09:59:01 +0000
> +++ profiles/apparmor/profiles/extras/usr.lib.man-db.man      2017-08-19 
> 01:14:01 +0000
> @@ -61,6 +61,7 @@
>    /usr/share/man/** r,
>    /usr/share/terminfo/** r,
>    /usr/share/texmf/teTeX/man/** r,
> +  /usr/share/postgresql/*/man/** rk,
>  
>    /var/cache/man/** rk,

Hrm, while I'm not opposed to the patch, I'm curious why both
postgresql and teTeX have manpages outside of /usr/share/man/ given
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREMANMANUALPAGES

-- 
Steve Beattie
<sbeat...@ubuntu.com>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: PGP signature

-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to