On Thu, Aug 23, 2007 at 10:01:03AM +0200, Benedict Verheyen wrote:
> Hmmm it's indeed running as root then. The reason is this:
> all uml's get started automatically at the start of the system because they
> are meant to act as virtualized servers.

> What is a good solution if i want the UML's to start on system startup 
> and keep
> the ability for the script to create the tap device and do arping or 
> would it be
> better if put the creating & deleting of the tapdevices in a startup 
> script of
> it's own?
> 
> This is full startup script of the uml i'm talking about:

>    e screen -S $NAME -d -m $UML/$KERNEL $OPTIONS con=null con0=fd:0,fd:1

You want a sudo -u $UMLUSER before that screen.

>        tunctl -u $UMLUSER -t $TAP

Which would be consistent with the tunctl setup.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to