Fails to install

Bug #229703 reported by Tom Moyer
6
Affects Status Importance Assigned to Milestone
trousers (Debian)
Fix Released
Unknown
trousers (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

the trousers package fails to install / remove on an updated hardy install
I believe it might have something to do with the use of start-stop-daemon looking for a PID file that tcsd does not create.
everytime I try to start the daemon by running /etc/init.d/trousers start it just hangs
If I try the start-stop-daemon command from the command line, it works fine (i.e. it starts the tcsd daemon)

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Fixed in 0.3.1-5:

trousers (0.3.1-5) unstable; urgency=medium
   * Cleaning up init script.
   * Fixing init script, thanks to David Smith <email address hidden> (Closes:
     #459679).
   * Using libtool to install additional tools, thanks to Chaskiel
     Grundman <email address hidden> (Closes: #463899).
   * Reordering rules file.
   * Using lintian debhelper to install lintian overrides.
   * Don't fail on removing non-empty group in postrm (Closes: #463767).
   * Rewriting copyright file in machine-interpretable format.
   * Adding vcs fields in control file.
   * Upgrading package to debhelper 7.
   * Reverting config.guess and config.sub to upstream.

 -- Daniel Baumann <email address hidden> Wed, 30 Apr 2008 13:55:00 +0200

Changed in trousers:
status: New → Fix Released
Changed in trousers:
status: Unknown → Fix Released
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

1. The package fails to install and remove since the init script fails to properly start or stop the tscd daemon.
2. This has been fixed in 0.3.1-5 by modifying the script (see DBTS #459679).
3. A minimal patch to fix this for hardy is attached.
4. TEST CASE: to reproduce the bug just try to install the trousers package currently in hardy. The installation will fail and the package will be left in a broken state. Try then adding the hardy-proposed repo and upgrade. The installation should succeed. Note that a tpm driver MUST exist and a /dev/tpm character device MUST be present for the installation to be successfull.
5. The potential for regression is very small since the patch only modifies the init script.

Revision history for this message
LaserJock (laserjock) wrote :

SRU ack'd, please proceed with upload to hardy-proposed.

Changed in trousers:
status: New → Confirmed
Revision history for this message
Jonathan Riddell (jr) wrote :

accepted into hardy-proposed, please test.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

To have this available in hardy-updates, we need your help in testing it.
If you would like to help, please add the following line to /etc/apt/sources.list:

  deb http://archive.ubuntu.com/ubuntu/ hardy-proposed universe

Then update and install (or upgrade) trousers with your preferred package manager.
Please report test results here.

The TEST CASE is very simple: to reproduce the bug just try to install the trousers package currently in hardy. The installation will fail and the package will be left in a broken state. Try then adding the hardy-proposed repo and upgrade. The installation should succeed. Note that a tpm driver MUST exist and a /dev/tpm character device MUST be present for the installation to be successfull.

Many thanks in advance for your help!

Revision history for this message
Tom Moyer (tom-tom) wrote :

The update from hardy-proposed worked fine for me

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

We need another positive test report for this to make its way to hardy-updates. Please, anyone that can test this, do so and report here.

Revision history for this message
Martin Pitt (pitti) wrote :

I verified that the hardy-final version failed to install. The hardy-proposed version installs successfully.

(Both versions fail to purge horribly, but that's a different bug).

So this can be considered verified, I think.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in trousers:
status: Confirmed → Fix Released
Revision history for this message
Zhane (me75) wrote :

Hi... I need some serious help here

I'm currently on hardy, with trousers 0.3.1-4 on my Synaptic that refuses to go away.
it gives me this error all the time

"E: trousers: subprocess pre-removal script returned error exit status 1"

Stopping Trusted Computing daemon: invoke -rc.d: initscript trousers, action "stop" failed.
dpkg: error processing trousers (--purge);
 subprocess pre-removal script returned error exit status l
Starting Trusted Computing daemon: device driver not loaded, aborting

How can I solve this? What should I do? I tried adding deb http://archive.ubuntu.com/ubuntu/ hardy-proposed universe into my "Third-Party Software", and enabling "hardy-proposed" under Ubuntu updates... but I fail to see the version 0.3.1-5 coming out

and when I tried tpm_version in my terminal, i get this error:
Tspi_Context_Connect failed: 0x00003011 - layer=tsp, code=0011 (17), Communication failure

when i check /dev/ there isnt any tpm folder either
There doesnt seem to be any driver installed for my tpm chip.

I'm having a ST v1.2 TPM on my motherboard... how can I install the driver?

I've just started out linux a few days ago, I really hope that it wont be the last

Revision history for this message
Rüdiger Kupper (ruediger.kupper) wrote :

I confirm the problem with versions
0.3.1-4 (hardy)
and 0.3.1-4ubuntu0.1 (hardy-updates).
I cannot retrieve version 0.3.1-5, neither from hardy-updates nor hardy-proposed. 0.3.1-4ubuntu0.1 is the latest I get from both.
Is this the fixed version? if so, it does NOT fix the problem.

Changed in trousers:
status: Fix Released → Incomplete
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

As mentioned in comment 8, this is another bug. Please open a new bug report about it.

Changed in trousers:
status: Incomplete → 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.