rndc-confgen is silent during key generation

Bug #697609 reported by Thomas Schweikle
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: bind9

calling "rndc-confgen" without any options does nothing. Just sitting there and waiting.
calling "rndc-confgen -h" gives a little help.
calling "rndc-confgen -b 256 -c /etc/named/rndc.key -r /dev/random" does nothing. Just sitting there and waiting.

no output, no files written, just waiting.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: bind9utils 1:9.7.1.dfsg.P2-2ubuntu0.1
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic-pae 2.6.35.8
Uname: Linux 2.6.35-24-generic-pae i686
Architecture: i386
Date: Wed Jan 5 11:56:09 2011
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: bind9

Revision history for this message
Thomas Schweikle (tps) wrote :
Revision history for this message
Thomas Schweikle (tps) wrote :

After about an hour it generated output!

Maybe we shall have some message it is working on key generation .... :-(

Revision history for this message
Scott Moser (smoser) wrote :

I suspect that it is waiting on /dev/random to provide it with data, and that:

rndc-confgen -b 256 -c /etc/named/rndc.key -r /dev/urandom

would give you a result quickly.

I'm marking this 'Triaged' as I agree with the suggestion of a message stating its waiting on random data.

Changed in bind9 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
andrew667 (andrei-yurevich) wrote :

I have the same problem in Ubuntu 10.04.3 server and Scientific Linux 6.
The solution is key "-r /dev/urandom". The result is something like this:
rndc-confgen -b 512 -r /dev/urandom > /etc/rndc.conf

Changed in bind9 (Ubuntu):
status: Triaged → Confirmed
Changed in bind9 (Ubuntu):
assignee: nobody → andrew667 (andrei-yurevich)
LaMont Jones (lamont)
summary: - rndc-confgen does nothing
+ rndc-confgen is silent during key genration
dino99 (9d9)
Changed in bind9 (Ubuntu):
assignee: andrew667 (andrei-yurevich) → nobody
status: Confirmed → In Progress
Joshua Powers (powersj)
Changed in bind9 (Ubuntu):
status: In Progress → Triaged
Bryce Harrington (bryce)
summary: - rndc-confgen is silent during key genration
+ rndc-confgen is silent during key generation
Revision history for this message
Bryce Harrington (bryce) wrote :

rndc-confgen (with or without the other options mentioned in this bug) returns immediately for me. Since this is such an old bug report with no comments since 2012, guessing this was resolved long ago.

If anyone has a similar / same issue please file a new bug report.

Changed in bind9 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.