* [gentoo-user] PRNG is not seeded
@ 2008-03-26 15:47 Kaushal Shriyan
2008-03-26 16:14 ` Alex Schuster
2008-03-26 16:16 ` Neil Bothwick
0 siblings, 2 replies; 11+ messages in thread
From: Kaushal Shriyan @ 2008-03-26 15:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
Hi
when i restart sshd I get PRNG is not seeded
# /etc/init.d/sshd restart
PRNG is not seeded
#
No idea as what is going on
Thanks and Regards
Kaushal
[-- Attachment #2: Type: text/html, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 15:47 [gentoo-user] PRNG is not seeded Kaushal Shriyan
@ 2008-03-26 16:14 ` Alex Schuster
2008-03-26 16:16 ` Neil Bothwick
1 sibling, 0 replies; 11+ messages in thread
From: Alex Schuster @ 2008-03-26 16:14 UTC (permalink / raw
To: gentoo-user
Kaushal Shriyan writes:
> when i restart sshd I get PRNG is not seeded
>
> # /etc/init.d/sshd restart
> PRNG is not seeded
> #
>
> No idea as what is going on
I can reproduce this behaviour when I rename both /dev/random
and /dev/urandom. Are they perhaps both missing on your system?
Wonko
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 15:47 [gentoo-user] PRNG is not seeded Kaushal Shriyan
2008-03-26 16:14 ` Alex Schuster
@ 2008-03-26 16:16 ` Neil Bothwick
2008-03-26 17:54 ` Kaushal Shriyan
1 sibling, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2008-03-26 16:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:
> when i restart sshd I get PRNG is not seeded
>
> # /etc/init.d/sshd restart
> PRNG is not seeded
Does /dev/urandom exist? What are it's permissions?
--
Neil Bothwick
Never eat more than you can lift.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 16:16 ` Neil Bothwick
@ 2008-03-26 17:54 ` Kaushal Shriyan
2008-03-26 18:23 ` Dale
2008-03-27 17:38 ` Florian Philipp
0 siblings, 2 replies; 11+ messages in thread
From: Kaushal Shriyan @ 2008-03-26 17:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]
On Wed, Mar 26, 2008 at 9:46 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:
>
> > when i restart sshd I get PRNG is not seeded
> >
> > # /etc/init.d/sshd restart
> > PRNG is not seeded
>
> Does /dev/urandom exist? What are it's permissions?
>
>
> --
> Neil Bothwick
>
> Never eat more than you can lift.
>
Hi
Thanks for the clue,
Both the files /dev/random and /dev/urandom are missing in my system.
How do i go ahead in fixing this issue
Thanks and Regards
Kaushal
[-- Attachment #2: Type: text/html, Size: 900 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 17:54 ` Kaushal Shriyan
@ 2008-03-26 18:23 ` Dale
2008-03-26 20:30 ` Alex Schuster
2008-03-27 17:38 ` Florian Philipp
1 sibling, 1 reply; 11+ messages in thread
From: Dale @ 2008-03-26 18:23 UTC (permalink / raw
To: gentoo-user
Kaushal Shriyan wrote:
> On Wed, Mar 26, 2008 at 9:46 PM, Neil Bothwick <neil@digimed.co.uk
> <mailto:neil@digimed.co.uk>> wrote:
>
> On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:
>
> > when i restart sshd I get PRNG is not seeded
> >
> > # /etc/init.d/sshd restart
> > PRNG is not seeded
>
> Does /dev/urandom exist? What are it's permissions?
>
>
> --
> Neil Bothwick
>
> Never eat more than you can lift.
>
>
> Hi
>
> Thanks for the clue,
>
> Both the files /dev/random and /dev/urandom are missing in my system.
>
> How do i go ahead in fixing this issue
>
> Thanks and Regards
>
> Kaushal
>
I just noticed this on mine. Do you have the service urandom in the
boot runlevel?
root@smoker / # eselect rc list boot
Init scripts to be started by runlevel boot
bootmisc
checkfs
checkroot
clock
consolefont
hostname
keymaps
localmount
modules
net.lo
rmnologin
serial
urandom
root@smoker / #
That may help. If it is there, try restarting it and see if you get any
errors. Make sure you don't have anything important running just in
case it stops other services when restarting this service.
Dale
:-) :-)
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 18:23 ` Dale
@ 2008-03-26 20:30 ` Alex Schuster
2008-03-27 15:48 ` Roger Mason
0 siblings, 1 reply; 11+ messages in thread
From: Alex Schuster @ 2008-03-26 20:30 UTC (permalink / raw
To: gentoo-user
Dale writes:
> Kaushal Shriyan wrote:
> > Both the files /dev/random and /dev/urandom are missing in my system.
> >
> > How do i go ahead in fixing this issue
> >
> > Thanks and Regards
> >
> > Kaushal
>
> I just noticed this on mine. Do you have the service urandom in the
> boot runlevel?
Looking at the init script it seems like if the character
device /dev/urandom does not exist, it exits directly.
Does anyone know what exactly creates these device nodes and why it could
fail?
You could try to create them manually, but I doubt that this helps:
mknod /dev/random c 1 8
mknod /dev/urandom c 1 9
Kayshal, do you remember doing anything spoecial before this happened?
Booting a new kernel, updating things like hotplug / udev stuff?
Wonko
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 20:30 ` Alex Schuster
@ 2008-03-27 15:48 ` Roger Mason
2008-03-27 16:26 ` Alex Schuster
0 siblings, 1 reply; 11+ messages in thread
From: Roger Mason @ 2008-03-27 15:48 UTC (permalink / raw
To: gentoo-user
Alex Schuster <wonko@wonkology.org> writes:
> Dale writes:
>
>> Kaushal Shriyan wrote:
>
>> > Both the files /dev/random and /dev/urandom are missing in my system.
>> >
>> I just noticed this on mine. Do you have the service urandom in the
>> boot runlevel?
>
> Looking at the init script it seems like if the character
> device /dev/urandom does not exist, it exits directly.
>
> Does anyone know what exactly creates these device nodes and why it could
> fail?
Some kernel option?
grep RANDOM /usr/src/linux/.config
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_INTEL=y
CONFIG_HW_RANDOM_AMD=y
CONFIG_HW_RANDOM_GEODE=y
CONFIG_HW_RANDOM_VIA=y
Roger
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-27 15:48 ` Roger Mason
@ 2008-03-27 16:26 ` Alex Schuster
2008-03-27 19:19 ` Dale
0 siblings, 1 reply; 11+ messages in thread
From: Alex Schuster @ 2008-03-27 16:26 UTC (permalink / raw
To: gentoo-user
Roger Mason writes:
> Alex Schuster <wonko@wonkology.org> writes:
[/dev/random, /dev/urandom]
> > Does anyone know what exactly creates these device nodes and why it
> > could fail?
>
> Some kernel option?
>
> grep RANDOM /usr/src/linux/.config
> CONFIG_HW_RANDOM=y
> CONFIG_HW_RANDOM_INTEL=y
> CONFIG_HW_RANDOM_AMD=y
> CONFIG_HW_RANDOM_GEODE=y
> CONFIG_HW_RANDOM_VIA=y
No, I think they are for special hardware randoem generators only. I don't
heve those enabled in my .config.
Wonko
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-26 17:54 ` Kaushal Shriyan
2008-03-26 18:23 ` Dale
@ 2008-03-27 17:38 ` Florian Philipp
2008-03-27 18:09 ` Neil Bothwick
1 sibling, 1 reply; 11+ messages in thread
From: Florian Philipp @ 2008-03-27 17:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
On Wed, 2008-03-26 at 23:24 +0530, Kaushal Shriyan wrote:
> On Wed, Mar 26, 2008 at 9:46 PM, Neil Bothwick <neil@digimed.co.uk>
> wrote:
> On Wed, 26 Mar 2008 21:17:07 +0530, Kaushal Shriyan wrote:
>
> > when i restart sshd I get PRNG is not seeded
> >
> > # /etc/init.d/sshd restart
> > PRNG is not seeded
>
>
> Does /dev/urandom exist? What are it's permissions?
>
>
> --
> Neil Bothwick
>
> Never eat more than you can lift.
>
> Hi
>
> Thanks for the clue,
>
> Both the files /dev/random and /dev/urandom are missing in my system.
>
> How do i go ahead in fixing this issue
>
> Thanks and Regards
>
> Kaushal
>
I'm not sure if this is a permanent solution because /dev is a tmpfs
created by udev on startup (maybe there is your problem?) but you could
try
mknod -m 444 /dev/random c 1 8
mknod -m 444 /dev/urandom c 1 9
Both commands are taken from Linux from Scratch.
There is a static /dev lying on your root-partition. It should have been
created when you extracted your stage3-tarball during installation.
Maybe there is something wrong with that one and udev doesn't create
(u)random when they are not in the static one. To see the static /dev
you must unmount /dev, which you can only do from a live-cd.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-27 17:38 ` Florian Philipp
@ 2008-03-27 18:09 ` Neil Bothwick
0 siblings, 0 replies; 11+ messages in thread
From: Neil Bothwick @ 2008-03-27 18:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
On Thu, 27 Mar 2008 18:38:15 +0100, Florian Philipp wrote:
> To see the static /dev
> you must unmount /dev, which you can only do from a live-cd.
That's not true, you can also see it by bind mounting root somewhere else.
mount -bind / /mnt
ls -l /mnt/dev
--
Neil Bothwick
If you're not part of the solution, you're part of the precipitate. *
Wright
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] PRNG is not seeded
2008-03-27 16:26 ` Alex Schuster
@ 2008-03-27 19:19 ` Dale
0 siblings, 0 replies; 11+ messages in thread
From: Dale @ 2008-03-27 19:19 UTC (permalink / raw
To: gentoo-user
Alex Schuster wrote:
> Roger Mason writes:
>
>
>> Alex Schuster <wonko@wonkology.org> writes:
>>
> [/dev/random, /dev/urandom]
>
>>> Does anyone know what exactly creates these device nodes and why it
>>> could fail?
>>>
>> Some kernel option?
>>
>> grep RANDOM /usr/src/linux/.config
>> CONFIG_HW_RANDOM=y
>> CONFIG_HW_RANDOM_INTEL=y
>> CONFIG_HW_RANDOM_AMD=y
>> CONFIG_HW_RANDOM_GEODE=y
>> CONFIG_HW_RANDOM_VIA=y
>>
>
> No, I think they are for special hardware randoem generators only. I don't
> heve those enabled in my .config.
>
> Wonko
>
>
I don't have those either.
root@smoker / # grep RANDOM /usr/src/linux/.config
# CONFIG_HW_RANDOM is not set
root@smoker / #
Not sure where that device comes from. I do have them on my system tho.
Dale
:-) :-)
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-03-27 19:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 15:47 [gentoo-user] PRNG is not seeded Kaushal Shriyan
2008-03-26 16:14 ` Alex Schuster
2008-03-26 16:16 ` Neil Bothwick
2008-03-26 17:54 ` Kaushal Shriyan
2008-03-26 18:23 ` Dale
2008-03-26 20:30 ` Alex Schuster
2008-03-27 15:48 ` Roger Mason
2008-03-27 16:26 ` Alex Schuster
2008-03-27 19:19 ` Dale
2008-03-27 17:38 ` Florian Philipp
2008-03-27 18:09 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox