Closed dinosaw closed 9 years ago
Every time an RPC method is invoked (e.g. by the cli or web monitor) the daemon attempts to obtain the details of the calling user, including their $PATH environmental variable and the groups they are a member of.
The only reliable way I've found of doing this is to use sudo as it simulates the user logging in, so sources the relevant profile files (e.g. ~/.bashrc
, /etc/profile
, etc) and sets their environment up as you'd expect.
The details aren't necessarily going to be used with every request so if obtaining this stuff becomes a bottleneck I suppose it could be deferred until it's actually needed.
On my CentOS 6 server, in
/var/log/secure
, I'm seeing many many logs being made by guvnor and I'm a bit confused as to what is going on.As you can see, it seems to be attempting whatever it's trying to do at least once a second, sometimes twice. Do you have any ideas?