You are not logged in.
I'm trying to create an apparmor profile for PopcornTime but whenever I put PT into either complain or enforce mode it crashes when run. When I run it in terminal I get the error.
LaunchProcess: failed to execvp:
/proc/self/exe
[18412:0808/130230:ERROR:child_process_launcher.cc(479)]
Failed to launch child process
[20353:0808/133143:ERROR:channel.cc(305)] RawChannel read error (connection broken)I'm using aa-logprof and I can never generate a profile that is able to surmount this faliure, even when adding even more lenient permissions by manually. I've tried giving full rights to /proc/** with no luck. The strange part is that this is happening in complain mode as well. Does anyone have any thoughts on this?
Last edited by inflextau (2015-08-13 07:52:44)
Offline
Use:
tail -f /var/log/audit/audit.logto monitor your audit log and run Popcorn-Time from another terminal. You'll see why it's failing.
I use the following profile for Popcorn-Time, I remember getting that same error when I created it but I don't remember what caused it.
Offline
Thanks, I had to edit the profile to make it fit with the AUR package but it worked in the end. There does seem to be a bug in AppArmor since complain mode does behave very weirdly with this app.
Last edited by inflextau (2015-08-13 07:53:17)
Offline
seem to be a bug in AppArmor
Possibly, but not necessarily. Could also be a bug in your app, e.g. a race condition or timing bug. These are bugs which can mostly remain hidden.
Offline