On Fri, Oct 8, 2010 at 3:47 PM, Henning Hraban Ramm <hra...@fiee.net> wrote:
> Am 2010-10-08 um 13:46 schrieb Florian Wobbe:
>>
>> Right, so you are not even getting to the point where luatex is called.
>> This is still texlua executing instructions from mtxrun.
>
>>> strace -p 14256
>>> attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
>>> (as the same user as well as as root)
>>
>> Something to do with SElinux?
>
> As far as I can tell, SElinux isn't active. (libselinux is installed, but no
> other selinux package)
>
>> Here, uname -m should be called. But I guess you still have all unames
>> replaced by their return value I guess?
>
> Yes, I didn't reinstate the original mtxrun script.
>
>>> brk(0x1c3e1000)                         = 0x1c3e1000
>>> uname({sys="Linux", node="aine.fiee.net", ...}) = 0
>>> --- SIGTERM (Terminated) @ 0 (0) ---
>>> +++ killed by SIGTERM +++
>>
>> Here it should continue with reading texmfcnf.lua.
>>
>> The last
>>
>>  uname({sys="Linux", node="aine.fiee.net", ...
>>
>> you get is from the os.uname call I would guess.
>
> Probably.
>
>> Try putting the lines
>>
>> for k, v in next, os.uname() do
>>  print(k, v)
>> end
>>
>> in a file and run it with texlua from the script to be sure.
>
> That works:
>
> texlua call_uname.lua
>
> version #1 SMP Tue Jul 6 14:34:09 MSD 2010
> release 2.6.18-028stab070.2
> machine x86_64
> nodename        aine.fiee.net
> sysname Linux
>
>> Then you might also try to invoke luatex directly:
>>
>> luatex --interaction=batchmode --fmt="<path to>/formats/cont-en"
>> --lua="<path to>/formats/cont-en.lui" --backend=pdf hello
>
> Now I get the defunct uname again:
>
> 16002 15978 TS   21 15:41 ?        00:00:01  \_ /var/www/xxx/bin/python
> /var/www/.../manage.py run_gunicorn -c /var/www/.../gunicorn-settings.py
> 16210 16002 TS   14 15:42 ?        00:00:08      \_ luatex
> --interaction=batchmode
> --fmt=/var/opt/context/tex/texmf-cache/.../formats/cont-en
> --lua=/var/opt/context/tex/texmf-cache/...
> 16212 16210 TS   17 15:42 ?        00:00:00          \_ [uname] <defunct>
>
> (Meanwhile I switched from fcgi to gunicorn app server, but that didn't
> change anything WRT ConTeXt.)
>
> I get no log output.
valgrind ?

-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to