Do you start all your Mesos Agents with root user? On Thu, Aug 4, 2016 at 7:54 PM, DiGiorgio, Mr. Rinaldo S. < [email protected]> 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

