rngd refuses to start on a linux 3.0 kernel

Bug #812121 reported by Steve Beattie
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
rng-tools (Debian)
Fix Released
Unknown
rng-tools (Ubuntu)
Fix Released
Undecided
Kees Cook

Bug Description

On oneiric, rngd refuses to start:

  $ sudo /usr/sbin/rngd -r /dev/null --hrng=tpm --fill-watermark=90% --feed-interval=1
  Unsupported kernel detected, exiting...

In util.c, the function kernel_mode() (starting at line 57) attempts to determine whether the kernel is a valid supported version. It has not yet been modified to take kernel version 3.0 into account.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: rng-tools 2-unofficial-mt.13-3ubuntu1
ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
Uname: Linux 3.0-3-generic x86_64
Architecture: amd64
CheckboxSubmission: 9c15077a0ca11678d04e060687c26674
CheckboxSystem: 5dc75472945f57d094b84e90feb97396
Date: Sun Jul 17 22:08:53 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: rng-tools
UpgradeStatus: Upgraded to oneiric on 2011-07-17 (0 days ago)

Related branches

Revision history for this message
Steve Beattie (sbeattie) wrote :
Revision history for this message
Steve Beattie (sbeattie) wrote :

This was fixed in the debian upstream package, attached is a merge from debian unstable to fix it.

Kees Cook (kees)
Changed in rng-tools (Ubuntu):
assignee: nobody → Kees Cook (kees)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rng-tools - 2-unofficial-mt.14-1ubuntu1

---------------
rng-tools (2-unofficial-mt.14-1ubuntu1) oneiric; urgency=low

  * Merge from debian unstable (LP: #812121). Remaining changes:
    - debian/patches/tpm-engine.patch: implement TPM entropy source
      (Debian bug 542599).
    - debian/control: add build-deps for TPM interface.
    - debian/rng-tools.default: add example for TPM devices.
    - debian/{rules,rng-tools.postinst}: adjust rc start/stop location to
      start later then trousers.

rng-tools (2-unofficial-mt.14-1) unstable; urgency=low

  * New upstream version:
    + Work around VIA Nano xstore bug (closes: #609289)
    + Add support for Linux 3.0 (closes: #630771)
 -- Steve Beattie <email address hidden> Sun, 17 Jul 2011 22:48:46 -0700

Changed in rng-tools (Ubuntu):
status: In Progress → Fix Released
Changed in rng-tools (Debian):
status: Unknown → Fix Released
Revision history for this message
Richard Huddleston (rhuddusa) wrote :

will this fix be backported to lucid for those of use running backported kernels ?

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.