From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1896 Path: news.gmane.org!not-for-mail From: lanek@novenine.com Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Installing dnscache with runit, without other djb utils Date: Sat, 19 Jul 2008 13:02:53 +0700 (WIT) Message-ID: <49920.125.162.61.249.1216447373.squirrel@novenine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1216447388 23676 80.91.229.12 (19 Jul 2008 06:03:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jul 2008 06:03:08 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2131-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jul 19 08:03:56 2008 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1KK5Xt-00018s-QB for gcsg-supervision@gmane.org; Sat, 19 Jul 2008 08:03:53 +0200 Original-Received: (qmail 13388 invoked by uid 76); 19 Jul 2008 06:03:20 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 13372 invoked from network); 19 Jul 2008 06:03:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=novenine.com; h=Received:Received:Message-ID:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse; b=BYi5P56NpHDThA6h3igA3D7uboR/V4i4ppnyuQn1iqlmk0dbxMrDpwaDs3gYcVVNoCVw/qR3553gTkFX2Y3u7xmEdcMUwaR4PLMe8EbmSjSogjFdCDeYyc+4vxmMnKy+; User-Agent: SquirrelMail/1.4.13 X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iix1-jkt.qwords.net X-AntiAbuse: Original Domain - list.skarnet.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - novenine.com Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1896 Archived-At: > there's an error here worth highlighting given the "recently discovered" > issues with DNS query port randomisation. Detail the error please. >From my [modified] rc.S: 1) # -- ** initialize /dev/urandom: _POOLSIZE=/proc/sys/kernel/random/poolsize _SEED=/etc/random-seed _URANDOM=/dev/urandom if [ -f $_SEED ]; then # -- carry an entropy pool (improve randomness). yellow "using $_SEED to initialize $_URANDOM ..." cat $_SEED > $_URANDOM fi if [ ! -r $_POOLSIZE ]; then _BYTES=512 else _BYTES=`cat $_POOLSIZE` fi dd if=$_URANDOM of=$_SEED count=1 bs=$_BYTES 2> /dev/null chmod 600 $_SEED (And similarly/complementarily, ditto within rc.6.) Then from rc.M: 2) yellow 'starting runit ...' ; # -- runit "stage 2." csh -cf 'runsvdir-start &' Cheers, /Roy -- SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS berat sama dipikul, ringan sama dijinjing SSSSS . s l a c k w a r e SSSSSS heavy we shoulder together, light SSSSS +------------ linux SSSSSS we hand-carry together SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS