One thing that I found when trying to run stuff at startup was that I needed to 'su' to a user even if that user is root. Init doesn't have a typical user environment. su'ing to root to run my startup script did solve some issues that I had, although I can't remember what they were anymore.
-Steve * Michael Ruelle <[EMAIL PROTECTED]> [030305 14:14]: > Ok first things first. My system is running in the framebuffer. No X is > being used. I am using the freevo start script from the boot directory > in the 1.3.2-pre2 full binary tarball. > > basically if this script is called by init during startup runapp > segfaults. But if I run it from a logged in terminal it is fine. Also > shutdown and reboot are fine when they are linked into rc0.d and rc6.d. > > I have tried editing the script to use openvt with a variety of options > -l (having bash spawn a script to execute the start command), -u to see > if just ownership of the tty was messing it up. none of these approaches > worked from init during bootup (I also tried in the inittab also but > that didn't work either) > > I have double checked that I have copied boot_config /etc/freevo and it > is world readable. > > Am I missing something? Would a strace or rebuilding runapp with debug > symbols be helpful? (I haven't found the core from the segfault so not > sure if ulimit is set during bootup) > > -- > Mike Ruelle > [EMAIL PROTECTED] > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Freevo-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-users ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
