[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] why does SKS have /dev/random open for writing?
From: |
Arnold |
Subject: |
Re: [Sks-devel] why does SKS have /dev/random open for writing? |
Date: |
Thu, 19 Sep 2013 20:08:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
My Debian system looks normal (only Debian stable/wheezy packages).
lsof /dev/random
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sks 2638 debian-sks 3r CHR 1,8 0t0 1209 /dev/random
sks 2639 debian-sks 3r CHR 1,8 0t0 1209 /dev/random
uname -a
Linux pgpkeys 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
dpkg-query -l sks
...
Name Version Architecture Description
+++-===============-==============-============-================================
ii sks 1.1.3-2 amd64 Synchronizing OpenPGP Key Server
Arnold
On 09/19/2013 07:31 PM, Daniel Kahn Gillmor wrote:
> hi SKS folks--
>
> I was just looking at the behavior of sks 1.1.4, and i noticed that it
> seems to have /dev/random open for writing:
>
> 0 zimmermann:~# lsof /dev/random
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> sks 742 debian-sks 3w CHR 1,8 0t0 1244 /dev/random
> sks 756 debian-sks 3w CHR 1,8 0t0 1244 /dev/random
> 0 zimmermann:~#
>
> this is not read/write (which would be marked as 3u instead of 3w), but
> write-only (presumably appending) to the character device.
>
> I'm not clear on why this is happening. I don't see /dev/random
> referenced explicitly in the source. Anyone have any clue about what
> it's doing? This is happening for me on debian systems -- can users of
> other systems confirm or deny that this is happening for them as well?
>
> Maybe it's an artifact of one of the ocaml libraries sks depends on?
> I'm not sure how i'd debug that to verify it.
>
> --dkg
>
>
>
> _______________________________________________
> Sks-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/sks-devel
- [Sks-devel] why does SKS have /dev/random open for writing?, Daniel Kahn Gillmor, 2013/09/19
- Re: [Sks-devel] why does SKS have /dev/random open for writing?,
Arnold <=
- Re: [Sks-devel] why does SKS have /dev/random open for writing?, Petru Ghita, 2013/09/19
- Re: [Sks-devel] why does SKS have /dev/random open for writing?, John Clizbe, 2013/09/19
- Re: [Sks-devel] why does SKS have /dev/random open for writing?, David Benfell, 2013/09/19
- Re: [Sks-devel] why does SKS have /dev/random open for writing?, Phil Pennock, 2013/09/20