On May 2, 2016, at 10:40 AM, Ken Marsh <[email protected]> wrote:
> 
> I just did strace. EINPROGRESS seems to be part of some socket connect code 
> either doing with ldap or DNS. I have no idea why it is doing this as the 
> upsmon process user "nut" is local, nsswitch.conf has files before ldap, and 
> the UPS is on USB and in standalone mode. Maybe just boilerplate library 
> initialization?

I'm not sure either, but you could compare it with strace output from "getent 
passwd nut".

> 
> The nscd is not running. Kernel is 3.11.0-13-generic so it's a "3" kernel.
> 
> The getpwnam is for (ups) not sure if that's a variable or string literal. If 
> it's a literal, I have nothing named "ups" in the setup, the UPS is [eaton] 
> and the user within NUT is monuser.
> 

It is the literal from "./configure --with-user=ups..." 

Although it can be overridden with the "-u" flag, I am not sure if that would 
help. (We sometimes recommend "-u root" for debugging permission issues with 
the driver, but then the driver might create a socket that upsd can't read 
without a similar "-u root".)

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to