[uWSGI] why uwsgi invokes /bin/bash

2018-08-08 Thread Michael Ströder
HI! I'm using uwsgi for starting WSGI Python apps. uwsgi itself is started with a systemd unit which also mandates that an AppArmor profile is load for that unit. Although I'm using pretty tight AppAmor profiles everything works. Now I'd like to minimize the (false-positive?) messages AppArm

Re: [uWSGI] why uwsgi invokes /bin/bash

2018-08-08 Thread Riccardo Magliocchetti
Il 08/08/2018 16:17, Michael Ströder ha scritto: HI! I'm using uwsgi for starting WSGI Python apps. uwsgi itself is started with a systemd unit which also mandates that an AppArmor profile is load for that unit. Although I'm using pretty tight AppAmor profiles everything works. Now I'd like

Re: [uWSGI] why uwsgi invokes /bin/bash

2018-08-08 Thread Michael Ströder
On 8/8/18 4:23 PM, Riccardo Magliocchetti wrote: Il 08/08/2018 16:17, Michael Ströder ha scritto: HI! I'm using uwsgi for starting WSGI Python apps. uwsgi itself is started with a systemd unit which also mandates that an AppArmor profile is load for that unit. Although I'm using pretty tigh

Re: [uWSGI] why uwsgi invokes /bin/bash

2018-08-08 Thread Damjan Georgievski
On 8 August 2018 at 16:17, Michael Ströder wrote: > HI! > > I'm using uwsgi for starting WSGI Python apps. > > uwsgi itself is started with a systemd unit which also mandates that an > AppArmor profile is load for that unit. > > Although I'm using pretty tight AppAmor profiles everything works. >

Re: [uWSGI] why uwsgi invokes /bin/bash

2018-08-08 Thread Michael Ströder
On 8/8/18 6:41 PM, Damjan Georgievski wrote: but without either the uwsgi .ini file or the systemd service file it's hard to tell what you're seeing See below. Ciao, Michael. #--- # uwsgi config for web2ldap service # Ans

[uWSGI] Getting ProxyPass not working

2018-08-08 Thread vogen
Hi, I am trying redirect request to localhost/mason to proxy pass I have apache 2.4.29 and have following line in httpd2.conf ProxyPass /mason uwsgi://localhost:3031/ I can access http://localhost:3031 but trying to access http://localhost/mason gives an error in apache error log. Running uwsgi