nohup + java > select: interrupted system call
I wrote a init script wich runs:
nohup /usr/spine/HelloWorld.class </dev/null >>/var/log/spine.console 2>>/var/log/spine.err &
It uses binfmt_misc to run java. I use the latest sun-jdk-1.5.
It works good, except the first time I run it after boot. It quits telling me:
select: interrupted system call.
And it does not run.
If I remove the /var/lib/init.d/satrted/ file and run the script again, there is no problem. It just runs perfect.
What could cause this unexpected behavior?