<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=565121600-26042006>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=565121600-26042006>I'm trying to get 
ffmpeg working for Gallery2 on FC5, and getting the following error (from the 
debug message via Gallery):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=565121600-26042006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=565121600-26042006><PRE class="gcBackground1 gcBorder2" id=AdminFfmpeg_debugSnippet style="BORDER-RIGHT: 1px dotted; PADDING-RIGHT: 4px; BORDER-TOP: 1px dotted; DISPLAY: block; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; BORDER-LEFT: 1px dotted; PADDING-TOP: 4px; BORDER-BOTTOM: 1px dotted">Executing: ( "/usr/bin/ffmpeg"  "-h" )
2>/MV/webs/Repository/gallery/tmp/g2dbgitTQYC
file_exists(/MV/webs/Repository/gallery/tmp/g2dbgitTQYC)
filesize(/MV/webs/Repository/gallery/tmp/g2dbgitTQYC)
fopen(/MV/webs/Repository/gallery/tmp/g2dbgitTQYC, r, 0)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fgets(Resource id #108, 4096)
feof(Resource id #108)
fclose(Resource id #108)
unlink(/MV/webs/Repository/gallery/tmp/g2dbgitTQYC)
Regular Output:
Error Output:
/usr/bin/ffmpeg: error while loading shared libraries: libavcodec.so.51:
cannot enable executable stack as shared object requires: Permission
denied
Status: 127 (expected 0)</PRE></SPAN></FONT></DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial size=2>A quick look in 
/usr/lib reveals:</FONT></SPAN></DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial size=2>-rwxr-xr-x  
root     root     
system_u:object_r:textrel_shlib_t /usr/lib/libavcodec-CVS.so<BR>lrwxrwxrwx  
root     root     
system_u:object_r:lib_t          
/usr/lib/libavcodec.so -> libavcodec-CVS.so<BR>lrwxrwxrwx  
root     root     
system_u:object_r:lib_t          /usr/lib/libavcodec.so.51 
-> libavcodec-CVS.so</FONT></SPAN></DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial 
size=2><BR> </DIV></FONT></SPAN>
<DIV><SPAN class=565121600-26042006><FONT face=Arial 
size=2>/var/log/audit/audit.log shows:</FONT></SPAN></DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial size=2>type=SYSCALL 
msg=audit(1146010953.133:45163): arch=40000003 syscall=125 success=no exit=-13 
a0=bfc5b000 a1=1000 a2=1000007 a3=fffff000 items=0 pid=25005 auid=1000 uid=48 
gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 comm="ffmpeg" 
exe="/usr/bin/ffmpeg"<BR>type=AVC msg=audit(1146010953.141:45164): avc:  
denied  { execstack } for  pid=25007 comm="ffmpeg" 
scontext=user_u:system_r:httpd_sys_script_t:s0 
tcontext=user_u:system_r:httpd_sys_script_t:s0 tclass=process<BR>type=SYSCALL 
msg=audit(1146010953.141:45164): arch=40000003 syscall=125 success=no exit=-13 
a0=bf9e8000 a1=1000 a2=1000007 a3=fffff000 items=0 pid=25007 auid=1000 uid=48 
gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 comm="ffmpeg" 
exe="/usr/bin/ffmpeg"<BR>type=AVC msg=audit(1146010953.213:45165): avc:  
denied  { execstack } for  pid=25009 comm="ffmpeg" 
scontext=user_u:system_r:httpd_sys_script_t:s0 
tcontext=user_u:system_r:httpd_sys_script_t:s0 tclass=process<BR>type=SYSCALL 
msg=audit(1146010953.213:45165): arch=40000003 syscall=125 success=no exit=-13 
a0=bfbe6000 a1=1000 a2=1000007 a3=fffff000 items=0 pid=25009 auid=1000 uid=48 
gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 comm="ffmpeg" 
exe="/usr/bin/ffmpeg"<BR>type=AVC msg=audit(1146010953.221:45166): avc:  
denied  { execstack } for  pid=25011 comm="ffmpeg" 
scontext=user_u:system_r:httpd_sys_script_t:s0 
tcontext=user_u:system_r:httpd_sys_script_t:s0 tclass=process<BR>type=SYSCALL 
msg=audit(1146010953.221:45166): arch=40000003 syscall=125 success=no exit=-13 
a0=bf89b000 a1=1000 a2=1000007 a3=fffff000 items=0 pid=25011 auid=1000 uid=48 
gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 comm="ffmpeg" 
exe="/usr/bin/ffmpeg"<BR></FONT></SPAN><SPAN class=565121600-26042006><FONT 
face=Arial size=2></DIV></FONT></SPAN>
<DIV><SPAN class=565121600-26042006><FONT face=Arial size=2>when I run the page 
producing the error output.</FONT></SPAN></DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial size=2>I tried to set the 
allow_execstack boolean but it didn't make any difference.</FONT></SPAN></DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=565121600-26042006><FONT face=Arial size=2>I'm out of ideas on 
this one - any help appreciated :)</DIV></FONT></SPAN><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-au><FONT face=Arial size=2>Robert 
Foster</FONT></SPAN> <BR><SPAN lang=en-au><FONT face=Arial size=2>General 
Manager</FONT></SPAN> <BR><SPAN lang=en-au><FONT face=Arial size=2>Mountain 
Visions P/L  <A 
href="http://mountainvisions.com.au/">http://mountainvisions.com.au</A></FONT></SPAN> 
<FONT face=Arial size=2><BR>Mobile: 0418 131 065</FONT></P>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>