From owner-freebsd-current Thu Oct 19 22:58:15 2000 Delivered-To: freebsd-current@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id BDFFE37B4E5; Thu, 19 Oct 2000 22:58:11 -0700 (PDT) X-Envelope-Sender-Is: ust@cert.siemens.de (at relayer david.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id e9K5wAB05196; Fri, 20 Oct 2000 07:58:10 +0200 (MET DST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail2.siemens.de (8.11.0/8.11.0) with ESMTP id e9K5w9L09872; Fri, 20 Oct 2000 07:58:09 +0200 (MET DST) Received: from alaska.cert.siemens.de (reims.mchp.siemens.de [139.23.202.134]) by mars.cert.siemens.de (8.11.1/8.11.1/Siemens CERT [ $Revision: 1.8 ]) with ESMTP id e9K5w9M63424; Fri, 20 Oct 2000 07:58:09 +0200 (CEST) Received: (from ust@localhost) by alaska.cert.siemens.de (8.11.1/8.11.1/alaska [ $Revision: 1.4 ]) id e9K5w9b21030; Fri, 20 Oct 2000 07:58:09 +0200 (CEST) (envelope-from ust) Date: Fri, 20 Oct 2000 07:58:09 +0200 From: Udo Schweigert To: Andrej Cernov Cc: current@FreeBSD.ORG, markm@FreeBSD.ORG Subject: Re: entropy reseeding is totally broken Message-ID: <20001020075809.A20959@alaska.cert.siemens.de> References: <20001020084845.A19580@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001020084845.A19580@nagual.pp.ru>; from ache@nagual.pp.ru on Fri, Oct 20, 2000 at 08:48:46AM +0400 X-Operating-System: FreeBSD 4.1.1-STABLE Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 20, 2000 at 08:48:46 +0400, Andrej Cernov wrote: > In very recent -current, my entropy file writted and readed sucessfully, > but I got the same fortune quote again and again right after reboot! > > It means that anything writted to /dev/random not reseed it but _reset_ it > to the same default state. > How do you shutdown your machine: a) reboot or halt b) shutdown -r now If a) the /entropy file is not updated and the existing one will be used at next reboot. Only when using shutdown the /etc/rc.shutdown file will be executed. That was a problem for me, as I often use "halt". Regards -- Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 ZT IK 3, Siemens CERT | Fax : +49 89 636 41166 D-81730 Muenchen / Germany | email : ust@cert.siemens.de PGP-2/5 fingerprint | D8 A5 DF 34 EC 87 E8 C6 E2 26 C4 D0 EE 80 36 B2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message