Not sure why glog could not get USER environment variable correctly after looking its code. But should not affect you running mesos.
On Fri, Mar 18, 2016 at 1:11 AM, haosdent <[email protected]> wrote: > root should be fine. > > On Fri, Mar 18, 2016 at 12:53 AM, Peter Steele <[email protected]> wrote: > >> My USER var is root. Do I need to create a non-root user for mesos to run >> under? >> >> >> On 03/17/2016 09:22 AM, haosdent wrote: >> >> glog get the user name by environment variable "USER" in Linux. >> https://github.com/google/glog/blob/master/src/utilities.cc#L290-L302 I >> think you could check the environment variable "USER" before you start >> Mesos slave. >> >> On Fri, Mar 18, 2016 at 12:19 AM, haosdent <[email protected]> wrote: >> >>> invalid-user is from glog >>> <https://github.com/google/glog/blob/master/src/logging.cc#L1036> >>> https://github.com/google/glog/blob/master/src/logging.cc#L1036 >>> >>> >W0317 06:26:41.178268 915 authenticator.cpp:511] No credentials >>> provided, authentication requests will be refused >>> >which I'm thinking might be related. What am I missing? >>> >>> I think should not related. This is a warning message if you don't pass >>> `credentials` flag when start mesos master. >>> >>> On Thu, Mar 17, 2016 at 10:07 PM, Peter Steele < <[email protected]> >>> [email protected]> wrote: >>> >>>> I'm testing out mesos for the first time and after installing the >>>> software I'm seeing numerous log files of the form >>>> >>>> mesos-slave.<host>.invalid-user.log.INFO.20160317-062640.918 >>>> >>>> I don't see any errors in the logs themselves, but the fact that >>>> "invalid-user" is part of the name makes me think I'm missing something in >>>> my config. The mesos-master.WARNING log has the message >>>> >>>> W0317 06:26:41.178268 915 authenticator.cpp:511] No credentials >>>> provided, authentication requests will be refused >>>> >>>> which I'm thinking might be related. What am I missing? >>>> >>>> Peter >>>> >>>> >>> >>> >>> -- >>> Best Regards, >>> Haosdent Huang >>> >> >> >> >> -- >> Best Regards, >> Haosdent Huang >> >> >> > > > -- > Best Regards, > Haosdent Huang > -- Best Regards, Haosdent Huang

