This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Fri Apr 26 20:34:13 2024 Delivery-date: Tue, 29 May 2007 16:45:31 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757647AbXE2Qok (ORCPT ); Tue, 29 May 2007 12:44:40 -0400 Received: from nz-out-0506.google.com ([64.233.162.224]:36930 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbXE2Qoj convert rfc822-to-8bit (ORCPT ); Tue, 29 May 2007 12:44:39 - Received: by nz-out-0506.google.com with SMTP id n1so1261926nzf for ; Tue, 29 May 2007 09:44:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qEbDHgOg DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YP5sV0CWoHmjmnkz7N14G388/DzZeBsem+/dyiGryqxqDZN Received: by 10.114.210.2 with SMTP id i2mr3508733wag.1180457077827; Tue, 29 May 2007 09:44:37 -0700 (PDT) Received: by 10.115.22.10 with HTTP; Tue, 29 May 2007 09:44:37 -0700 (PDT) Message-Id: Date: Tue, 29 May 2007 17:44:37 +0100 From: "M Macnair" To: "Andi Kleen" Subject: Re: Seeding /dev/random not working Cc: linux-kernel@vger.kernel.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org On 29 May 2007 18:58:59 +0200, Andi Kleen wrote: > "M Macnair" writes: > > > > Many distros ship with an init script that saves and restores the > > entropy pool on startup and shutdown. The bit that interests me that > > is called on startup is (my comments): > > if [ -f $random_seed ]; then > > cat $random_seed >/dev/urandom # should seed the pool > OA > Writing doesn't actually work; to get real accounted entropy for /dev/random > you need to use a special ioctl. I ran into this problem some years ago > and ended up writing http://www.muc.de/~ak/rndfeed.c > > -Andi If this doesn't work, then it seems to me as though all the debian-esque distros that use equivalents of the above script are wasting their time, and the man page recommending that technique (man 4 random) is also wrong. Is that interpretation correct? Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/