From: lanek@novenine.com
To: supervision@list.skarnet.org
Subject: Re: Installing dnscache with runit, without other djb utils
Date: Sat, 19 Jul 2008 13:02:53 +0700 (WIT) [thread overview]
Message-ID: <49920.125.162.61.249.1216447373.squirrel@novenine.com> (raw)
> 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
next reply other threads:[~2008-07-19 6:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-19 6:02 lanek [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-19 18:15 lanek
[not found] <49351.125.162.61.255.1216395759.squirrel@novenine.com>
2008-07-19 16:24 ` Charlie Brady
2006-09-28 0:12 Roy Lanek
2008-07-18 14:20 ` Charlie Brady
2006-09-20 22:30 Lloyd Zusman
2006-09-20 23:49 ` Wayne Marshall
2006-09-21 0:07 ` Vincent Danen
2006-09-21 0:12 ` Charlie Brady
2006-09-21 0:44 ` Lloyd Zusman
2006-09-21 1:03 ` Charlie Brady
2006-09-21 1:28 ` Lloyd Zusman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49920.125.162.61.249.1216447373.squirrel@novenine.com \
--to=lanek@novenine.com \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).