Re: random translator
olafBuddenhagen@gmx.net, le Sat 01 Oct 2011 09:57:04 +0200, a écrit :
> Seems a bit strange to go for a solution that apparently will require
> extra effort to bring it to the same level, just to work around some
> packaging issues...
"Seems a bit strange to require a perl module to be installed by default
on *all* Debian systems, just to run a random translator while some
is what you would hear from the other point of view. I have to say that
making something like a random translator use perl wasn't looking very
sensible to me (e.g. since perl uses /dev/random, which brings some
> > -Provides: makedev, login
> > -Replaces: makedev, login
> > -Conflicts: makedev, login
> > +Provides: makedev, login, random-egd
> > +Replaces: makedev, login, random-egd
> > +Conflicts: makedev, login, random-egd
> I'm not an expert on this stuff -- but isn't "provides" rather odd in
> this case?...
IIRC I had to use it else it wouldn't upgrade nicely. but maybe a
"Breaks" instead would make it work.
> > + if showtrans /dev/random 2> /dev/null | grep -q entropy.sock
> > + then
> > + # old random-egd translator, remove
> > + settrans -g /dev/random
> > + settrans -g /dev/urandom
> > + fi
> You probably want -gf here, or perhaps -go.
-go should be just fine indeed.