fails to start using TPM device as rng

Bug #519427 reported by Mozg
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rng-tools (Ubuntu)
Fix Released
Wishlist
Kees Cook

Bug Description

Binary package hint: rng-tools

I've just installed the rng-tools-2-unofficial-mt.12 that supports the use of TPM as the rng device. However, when I start it on my Thinkpad T61p laptop with running trousers I get the following error:

service rng-tools start
/etc/default/rng-tools: 20: –fill-watermark=90%: not found
Starting Hardware RNG entropy gatherer daemon: (failed).

/etc/default/rng-tools:
HRNGDEVICE=/dev/null
RNGDOPTIONS=”–hrng=tpm –fill-watermark=90% –feed-interval=1″

uname -a
Linux finka 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux

# tpm_version
  TPM 1.2 Version Info:
  Chip Version: 1.2.13.9
  Spec Level: 2
  Errata Revision: 1
  TPM Vendor ID: ATML
  TPM Version: 01010000
  Manufacturer Info: 41544d4c

System - Karmic amd64 with latest updates

Thanks for any help

Related branches

Revision history for this message
Emmet Hikory (persia) wrote :

This appears to be a typo in /etc/default/rng-tools as a result of copy&paste from a blog posting (don't do this: one day your machine will be compromised). Try:

RNGDOPTIONS="--hrng=tpm --fill-watermark=90% --feed-interval=1"

Changed in rng-tools (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Emmet Hikory (persia) wrote :

The attached patch adds the correct default syntax (or at least one that works for me) as a commented-out value in /etc/default/rng-tools to reduce the chance that people will use the wrong values due to silly text processing engines that interpolate to generate mdashes and hyphens when minus signs are required.

Revision history for this message
Emmet Hikory (persia) wrote :

The attached patch adds the correct default syntax (or at least one that works for me) as a commented-out value in /etc/default/rng-tools to reduce the chance that people will use the wrong values due to silly text processing engines that interpolate to generate mdashes and hyphens when minus signs are required.

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

This bug was fixed in the package rng-tools - 2-unofficial-mt.12-1ubuntu3

---------------
rng-tools (2-unofficial-mt.12-1ubuntu3) lucid; urgency=low

  * debian/rng-tools.default: add example for TPM devices (LP: #519427).
  * debian/{rules,rng-tools.postinst}: adjust rc start/stop location to
    start later then trousers (LP: #544545).
  * tpm_engine.c: wait for TPM to become available.
 -- Kees Cook <email address hidden> Fri, 23 Apr 2010 00:40:15 -0700

Changed in rng-tools (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.