Re: RH9 Processes Failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 12, 2004 at 01:52:50PM -0500, salvatore wrote:
> This might fall in the 'Im an idiot' category rather than in the RedHat
> problem category, but Im posting nonetheless.
> 
> I have the following in /etc/inittab:
> # Run webcam uploading utility - added by slp on 12/18/2003
> cam:3:respawn:/home/salvatore/cam/runcam

This is a strange place to be running these sorts of applications.  You
should, instead, create a start/stop script for in /etc/rc.d/init.d - a
good approach would be to copy one of the scripts there and modify it
accordingly.  Then do:
# chckconfig --add cam          or whatever you call your script
# service cam start             to start it now

I suspect the issue you're seeing with putting it in inittab is that
/home might not be mounted at the time your application starts.

You may also want to think about the security issues with running your
webcam as a root user.  

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux