View Single Post
  #11  
Old 21st May 2013, 06:11
jrossi90 jrossi90 is offline
Junior Member
 
Join Date: May 2013
Posts: 5
Thanks: 1
Thanked 3 Times in 2 Posts
Default

FYI - For all those who are having the same or similar problem. This is due to Ubuntu Bug #1031718 with a Ubuntu update.

The patch adds some auxv related stuff to the library init that attempt to read /proc/self/auxv. If it fails the above error is printed usually ending up to application's log that's using the library. Looking at the log it's completely unclear where that error came from and what file was it trying to read.

The /proc/self/auxv has 0400 permissions and is owned by the user who started the process. If the process drops privileges and setuid()'s to another user, the file is no longer readable.


To fix, add:
setuid uwsgiuser
setgid uwsgiuser


To the .ini of the application.

- jrossi90
Reply With Quote
Sponsored Links