On Aug 4, 2016, at 11:56 PM, haosdent 
<haosd...@gmail.com<mailto:haosd...@gmail.com>> wrote:

Do you start all your Mesos Agents with root user?

We use systemctl on linux, smf on solaris, a plist launchd on OS X ( which has 
severe latency issues)  and just now looking at windows.  When we start the 
task we switch to a non root user.


On Thu, Aug 4, 2016 at 7:54 PM, DiGiorgio, Mr. Rinaldo S. 
<rdigior...@pace.edu<mailto:rdigior...@pace.edu>> wrote:
Hi,

We have software that runs unmodified on many different operating systems ( 
Linux, Solaris, Windows and OS X). We have found several cases where the mesos 
provided compute resource requires some additional setup since the created 
process is not quite the same as a process created by login. We would prefer to 
have some code apply changes once the resource is allocated and before we start 
our task on the resource. Is there any framework support for this that you 
could recommend or suggest I look at. We don’t want to have out application 
need to be  aware that it is running in a mesos created process.

Some examples:

On OS X several keychain operations fail because the keychain is not created. A 
reader of this list provided a solution that I would like to apply to the node 
before starting the task that requires valid keychains.  You can’t configure 
some of these things before the process is created so using puppet or ansible 
would not help. It needs to be done at runtime.

On Linux and OS X /usr/bin/expect fails due to some issues that may be related 
to environment settings like HOME, LOGNAME … The mesos plugin for jenkins 
provides support for setting of some values before the node is executed.



Rinaldo



--
Best Regards,
Haosdent Huang

Reply via email to