Am Sonntag, 13. November 2016 um 23:45:20, schrieb Tommaso Cucinotta <tomm...@lyx.org> > On 13/11/2016 23:34, Kornel Benko wrote: > > The file /etc/apparmor.d/usr.local.bin.lyx2.3 is attached, I don't see > > anything wrong. > > I have to confess, this is new to me, so I may have gotten something wrong. > > first guess would be: make sure you installed with "make install" and you're > running LyX from your installed path, and that it's using your wrapper in > /usr/local/bin.
Yes, it is. > The AppArmor test is quite straightforward: > > /usr/local/bin/lyxwrap-2.3 touch ~/something > /usr/local/bin/lyxwrap-2.3 touch /tmp/whatever > > check if created Created. (Is here a typo? Shouldn't it be usr/local/bin/lyxwrap2.3 ?) > /usr/local/bin/lyxwrap-2.3 rm ~/something > /usr/local/bin/lyxwrap-2.3 rm /tmp/whatever Both. > check if removed. Also, this might be useful to troubleshoot: > > dmesg | grep 'DENIED\|apparmor' > > (but that's mostly useful when it stops you when you don't expect to be > stopped) There is no 'DENIED' in the grep output. Only lines like ... [31803.291501] type=1400 audit(1479061214.557:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/local/bin/lyxwrap2.3" pid=2808 comm="apparmor_parser" [32402.529027] type=1400 audit(1479061814.325:83): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/local/bin/lyxwrap2.3" pid=3392 comm="apparmor_parser" [46036.234003] type=1400 audit(1479075460.117:132): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/local/bin/lyxwrap2.3" pid=15081 comm="apparmor_parser" [46549.410428] type=1400 audit(1479075973.745:149): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/local/bin/lyxwrap2.3" pid=15230 comm="apparmor_parser" ... > T. Kornel
signature.asc
Description: This is a digitally signed message part.