I have the same problem.  One extra root init process running.  I guess
it's not really a big deal is it?  Other than wasting resources.  There's
no security issues right?

Malcolm

On Fri, 27 Sep 2002 18:46:10 -0400
Andrew <[EMAIL PROTECTED]> wrote:

> I've noticed that tmda-ofmipd isn't starting cleanly from a script. I 
> need to run the program as a particular user (not root, and the -u 
> option isn't enough). If I start the program on the command line ending 
> with an '&', everthing is fine. I get one process running as the 
> required user.
> 
> If, however, I use and init script owned by root and use a command like 
> this to start tmda-ofmipd:
> 
> su - <username> -c "tmda-ofmipd <lots of options>" &
> 
> I get two processes running. One is the tmda-ofmipd process running as 
> the proper user. The other is the init process which is running as root;
> 
> it never terminates.
> 
> I also tried using the supervise program from the daemontools package to
> 
> control tmda-ofmipd. In this case, supervise requires run scripts to use
> 
> exec without a trailing '&' to start programs. This is the command I
> tried:
> 
> exec su - <username> -c "tmda-ofmipd <more options>"
> 
> With this I got the same effect as when using an '&' within an init
> script.
> 
> I found one thread in the list archives discussing this problem. 
> Unfortunately, no solution was posted. Has anyone successfully dealt 
> with this problem?
> 
> Andrew
> 
> 
> 
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
> 
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to