sks-devel
[Top][All Lists]
Advanced

[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: Petru Ghita
Subject: Re: [Sks-devel] why does SKS have /dev/random open for writing?
Date: Fri, 20 Sep 2013 01:40:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8

This is mine:

> lsof /dev/random
COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
sks     273  sks    3r   CHR    1,8      0t0 3276925 /dev/random
sks     275  sks    3r   CHR    1,8      0t0 3276925 /dev/random


> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.3 LTS
Release:        12.04
Codename:       precise

dpkg -l sks
No packages found matching sks.

sks version
SKS version 1.1.4
Compiled with Ocaml version 3.12.1 and BDB version 5.1.25
This SKS version has a minimum compatibility requirement for recon of
SKS 0.1.5
Further details about the BDB environment can be seen by executing
db5.1_stat -x in the KDB and Ptree directories

Kind regards,
Petru





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
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]