On Sat, Mar 29, 2008 at 10:30 PM, John Darrah <[EMAIL PROTECTED]> wrote:
>  Does the following strace segment mean any thing.
>
>  .
>  .
>  socket(PF_FILE, SOCK_STREAM, 0)         = 4
>  fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
>  connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 
> ENOENT (No such file or directory)
>  close(4)                                = 0
>  socket(PF_FILE, SOCK_STREAM, 0)         = 4
>  fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
>  connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 
> ENOENT (No such file or directory)
>  close(4)                                = 0

This socket does not have anything to do with NUT sockets.

It is used by libc to check if nscd (Name Service Cache Daemon) has a
cached copy of a get*ent() value or a DNS lookup. A little further
down in the strace, you should see it access a file in /etc, or send a
DNS query over a UDP socket.

-- 
- Charles Lepple

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

Reply via email to