Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit /dev/random
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
G.
n00b
n00b


Joined: 25 Jul 2005
Posts: 14

PostPosted: Sat Dec 10, 2005 12:07 pm    Post subject: Problem mit /dev/random Reply with quote

Ich habe neulich beim starten des Apache2 gemerkt, dass der nicht richtig initialisiert, weil /dev/random leer war. Mit ein wenig Festplattenaktivität (du /) ist der Indianer dann gestartet - /dev/randum hat sich gefüllt.
Folgendes Problem:
Mein Server bootet zwar von Festpaltte, aber wenn ich nicht emerge wird diese abgeschaltet. Mein root Verzeichnis ist ein tmpfs!

Gibt es eine Möglichkeit, den entropy pool auch z.B. über Netzwerkaktivität zu 'füttern'?

Ich bin hier schon am verzweifel. Kann mir jemand helfen???
Back to top
View user's profile Send private message
ro
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 289

PostPosted: Sat Dec 10, 2005 1:10 pm    Post subject: Reply with quote

kanns nicht /dev/urandom sein ... gibt ein wenig mehr her.
_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Back to top
View user's profile Send private message
tuxthekiller
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2005
Posts: 85

PostPosted: Sat Dec 10, 2005 2:27 pm    Post subject: Reply with quote

einen softlink setzen...geht das? ln -s /dev/random /dev/urandom
Back to top
View user's profile Send private message
G.
n00b
n00b


Joined: 25 Jul 2005
Posts: 14

PostPosted: Sat Dec 10, 2005 3:00 pm    Post subject: Reply with quote

Danke für die schnellen Antworten.
/dev/random gegen /dev/urandom zu tauschen ist wohl nicht die feine Art.
Einfacher ist es da wohl, den Apache für /dev/urandom zu übersetzen.
Ich denke, da muss es doch eine elegante Lösung geben, /dev/random wieder zu füllen.
Back to top
View user's profile Send private message
ChrisM87
l33t
l33t


Joined: 07 Aug 2004
Posts: 728
Location: Rheinland-Pfalz (Germany)

PostPosted: Sat Dec 10, 2005 3:15 pm    Post subject: Reply with quote

Hi,

wäre das evtl. was?

Quote:
* media-sound/audio-entropyd
Available versions: ~0.0.6
Installed: none
Homepage: http://www.vanheusden.com/aed/
Description: Audio-entropyd generates entropy-data for the /dev/random device.

* media-video/video-entropyd
Available versions: !0.7
Installed: none
Homepage: http://www.vanheusden.com/ved/
Description: Video-entropyd generates entropy-data for the /dev/random device.


Einfach urandom benutzen solltest du auf gar keinen Fall und noch weniger einen Symlink setzen, sonst benutzen alle Programme nur noch urandom!

ChrisM
_________________
born to be root - sorry for my bad English!
Back to top
View user's profile Send private message
G.
n00b
n00b


Joined: 25 Jul 2005
Posts: 14

PostPosted: Sat Dec 10, 2005 3:57 pm    Post subject: Reply with quote

Super Tipp.

Habe es jetzt einfach mal ausprobiert.

Habe audio-entropyd emerged, da ich ja kein Video auf einem Server habe, und siehe da
vorher: cat /proc/sys/kernel/random/entropy_avail 3
nachher: cat /proc/sys/kernel/random/entropy_avail 4032

Jetzt scheint alles wieder zu funktionieren.

Vielen Dank für den Tipp.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum