Bug#412408: Is invoking exit(2) in a library the right thing to do?

James Andrewartha trs80 at ucc.gu.uwa.edu.au
Thu Nov 15 13:19:57 CET 2007


On Thu, 15 Nov 2007, Werner Koch wrote:

> On Thu, 15 Nov 2007 10:55, trs80 at ucc.gu.uwa.edu.au said:
>
>> The only way forward I can see from here is to refer the issue to the
>> Technical Committee. If nobody objects or wants to do it themselves
>> I'll write up a summary when I have some free time.
>
> I still do not understand the problem.  Do you say that in an early boot 
> phase /dev/random is not yet mknod-ed or mounted?  If that is the case, 
> how at all does the boot process work without /dev/null - that it is 
> universally used before exec.  I don't understand where the difference 
> is.

There is a file in the udev package, /etc/udev/links.conf, which is parsed 
by make_extra_nodes() in /etc/init.d/udev to create a minimal /dev for 
udev to bootstrap itself on. /etc/udev/links.conf contains a line:
M null          c   1 3
which creates /dev/null, but does not contain a line to create 
/dev/random. It also contains the comment:
# This file does not exist. Please do not ask the debian maintainer about it.


-- 
# TRS-80              trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \
# UCC Wheel Member     http://trs80.ucc.asn.au/ #|  what squirrels do best     |
[ "There's nobody getting rich writing          ]|  -- Collect and hide your   |
[  software that I know of" -- Bill Gates, 1980 ]\  nuts." -- Acid Reflux #231 /




More information about the Gcrypt-devel mailing list