Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2009 16:11:13 +0100
From:      Chris Rees <utisoft@googlemail.com>
To:        Nikos Vassiliadis <nvass9573@gmx.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: var socket in random directories
Message-ID:  <b79ecaef0906020811t530ca486o32f92f2b4c5e50d0@mail.gmail.com>
In-Reply-To: <4A2539A2.3060904@gmx.com>
References:  <b79ecaef0906020455x19c5b061g717a7278bbff8cb5@mail.gmail.com>  <4A2539A2.3060904@gmx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/2 Nikos Vassiliadis <nvass9573@gmx.com>:
> Chris Rees wrote:
>>
>> OK, so does anyone know why I get a socket called 'var' randomly
>> appearing in directories?
>>
>> I always use ls -F, and it turns up as var=3D, as can be seen in my
>> ports directory.
>>
>> [chris@amnesiac]~% cd /usr/ports/
>> [chris@amnesiac]/usr/ports% ls
>> CHANGES =A0 =A0 =A0 =A0 arabic/ =A0 =A0 =A0 =A0 finance/ =A0 =A0 =A0 =A0=
multimedia/ =A0 =A0 textproc/
>> COPYRIGHT =A0 =A0 =A0 archivers/ =A0 =A0 =A0french/ =A0 =A0 =A0 =A0 net/=
 =A0 =A0 =A0 =A0 =A0 =A0ukrainian/
>> GIDs =A0 =A0 =A0 =A0 =A0 =A0astro/ =A0 =A0 =A0 =A0 =A0ftp/ =A0 =A0 =A0 =
=A0 =A0 =A0net-im/ =A0 =A0 =A0 =A0 var=3D
>> INDEX-7 =A0 =A0 =A0 =A0 audio/ =A0 =A0 =A0 =A0 =A0games/ =A0 =A0 =A0 =A0=
 =A0net-mgmt/
>> vietnamese/
>> INDEX-7.bz2 =A0 =A0 benchmarks/ =A0 =A0 german/ =A0 =A0 =A0 =A0 net-p2p/=
 =A0 =A0 =A0 =A0www/
>> INDEX-7.db =A0 =A0 =A0biology/ =A0 =A0 =A0 =A0graphics/ =A0 =A0 =A0 news=
/ =A0 =A0 =A0 =A0 =A0 x11/
>> KNOBS =A0 =A0 =A0 =A0 =A0 cad/ =A0 =A0 =A0 =A0 =A0 =A0hebrew/ =A0 =A0 =
=A0 =A0 packages/
>> x11-clocks/
>> LEGAL =A0 =A0 =A0 =A0 =A0 chinese/ =A0 =A0 =A0 =A0hungarian/ =A0 =A0 =A0=
palm/
>> x11-drivers/
>> MOVED =A0 =A0 =A0 =A0 =A0 comms/ =A0 =A0 =A0 =A0 =A0irc/ =A0 =A0 =A0 =A0=
 =A0 =A0polish/ =A0 =A0 =A0 =A0 x11-fm/
>> Makefile =A0 =A0 =A0 =A0converters/ =A0 =A0 japanese/ =A0 =A0 =A0 ports-=
mgmt/ =A0 =A0 x11-fonts/
>> Mk/ =A0 =A0 =A0 =A0 =A0 =A0 databases/ =A0 =A0 =A0java/ =A0 =A0 =A0 =A0 =
=A0 portuguese/
>> x11-servers/
>> README =A0 =A0 =A0 =A0 =A0deskutils/ =A0 =A0 =A0korean/ =A0 =A0 =A0 =A0 =
print/
>> =A0x11-themes/
>> Templates/ =A0 =A0 =A0devel/ =A0 =A0 =A0 =A0 =A0lang/ =A0 =A0 =A0 =A0 =
=A0 russian/
>> =A0x11-toolkits/
>> Tools/ =A0 =A0 =A0 =A0 =A0distfiles/ =A0 =A0 =A0mail/ =A0 =A0 =A0 =A0 =
=A0 science/ =A0 =A0 =A0 =A0x11-wm/
>> UIDs =A0 =A0 =A0 =A0 =A0 =A0dns/ =A0 =A0 =A0 =A0 =A0 =A0math/ =A0 =A0 =
=A0 =A0 =A0 security/
>> UPDATING =A0 =A0 =A0 =A0editors/ =A0 =A0 =A0 =A0mbone/ =A0 =A0 =A0 =A0 =
=A0shells/
>> accessibility/ =A0emulators/ =A0 =A0 =A0misc/ =A0 =A0 =A0 =A0 =A0 sysuti=
ls/
>> [chris@amnesiac]/usr/ports%
>> [chris@amnesiac]/usr/ports% uname -a
>> FreeBSD amnesiac.bayofrum.net 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Sun
>> May =A03 21:54:38 BST 2009
>> root@amnesiac.bayofrum.net:/usr/obj/usr/src/sys/AMNESIAC =A0i386
>> [chris@amnesiac]/usr/ports%
>>
>> I have an inkling it may be due to openldap, any ideas?
>
> Not a really helpful response, but why openldap(or any other
> program) would create sockets in random directories?
>
>> Any ideas?
>
> You mean you see sockets appear and disappear on their own?
> in random directories?
>
> Maybe sou should do something like "find / -type s" and
> then use stat(1) on the findings and see if birth timestamp
> ring any bells.
>
> Just a stub in the dark, Nikos
>

[chris@amnesiac]/usr/ports/print/lyx16% stat /usr/local/lib/webmin/init/var

78 566252 srwxrwxrwx 1 root bin 0 0 "May  5 11:04:51 2009" "May  5
11:04:51 2009" "May  5 11:04:51 2009" "May  5 11:04:51 2009" 4096 0 0
/usr/local/lib/webmin/init/var

Interesting, seems to be the fault of webmin. I'll investigate further, tha=
nks.

Chris

--=20
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0906020811t530ca486o32f92f2b4c5e50d0>