[Bug 1676256] [NEW] Trousers and tpm-tools fails to install on 16.04

Sam Lin 1676256 at bugs.launchpad.net
Mon Mar 27 03:34:51 UTC 2017


Public bug reported:

OS: Ubuntu 16.04.1 LTS
Kernel: 4.4.0-66-generic

I tried to install trousers on my newly installed Ubuntu 16.04 and got
the following error:

=============================================================================
sudo apt-get install trousers
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libopencryptoki0 libtpm-unseal1 opencryptoki
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  trousers
0 upgraded, 1 newly installed, 0 to remove and 238 not upgraded.
Need to get 0 B/120 kB of archives.
After this operation, 425 kB of additional disk space will be used.
Selecting previously unselected package trousers.
(Reading database ... 209397 files and directories currently installed.)
Preparing to unpack .../trousers_0.3.13-4_amd64.deb ...
Unpacking trousers (0.3.13-4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu10) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up trousers (0.3.13-4) ...
insserv: script trousers_org: service tcsd already provided!
insserv: script trousers_org: service trousers already provided!
Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
invoke-rc.d: initscript trousers, action "start" failed.
dpkg: error processing package trousers (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 trousers
E: Sub-process /usr/bin/dpkg returned an error code (1)
=============================================================================

By what log indicates, I typed systemctl status trousers.service and got
the following message

=============================================================================

systemctl status trousers.service
● trousers.service - LSB: starts tcsd
   Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)

systemctl status trousers.service
● trousers.service - LSB: starts tcsd
   Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)

 三  25 14:02:44 ckjboy2003-Server systemd[1]: Starting LSB: starts tcsd...
 三  25 14:02:44 ckjboy2003-Server trousers[6758]:  * Starting Trusted Computing daemon tcsd
 三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS ioctl: (25) Inappropriate ioctl for device
 三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS Falling back to Read/Write device support.
 三  25 14:02:44 ckjboy2003-Server trousers[6758]:    ...fail!
 三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Control process exited, code=exited status=30
 三  25 14:02:44 ckjboy2003-Server systemd[1]: Failed to start LSB: starts tcsd.
 三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Unit entered failed state.
 三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Failed with result 'exit-code'.

=============================================================================

I found the bug is very similar to
https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/963587
but in /etc/init.d/trousers chuid has been removed so that it is not the same issue.

** Affects: trousers (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "systemctl"
   https://bugs.launchpad.net/bugs/1676256/+attachment/4846507/+files/systemctl

** Description changed:

  OS: Ubuntu 16.04.1 LTS
  Kernel: 4.4.0-66-generic
  
  I tried to install trousers on my newly installed Ubuntu 16.04 and got
  the following error:
  
  ============================================================================================
  sudo apt-get install trousers
  Reading package lists... Done
- Building dependency tree       
+ Building dependency tree
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
-   libopencryptoki0 libtpm-unseal1 opencryptoki
+   libopencryptoki0 libtpm-unseal1 opencryptoki
  Use 'sudo apt autoremove' to remove them.
  The following NEW packages will be installed:
-   trousers
+   trousers
  0 upgraded, 1 newly installed, 0 to remove and 238 not upgraded.
  Need to get 0 B/120 kB of archives.
  After this operation, 425 kB of additional disk space will be used.
  Selecting previously unselected package trousers.
  (Reading database ... 209397 files and directories currently installed.)
  Preparing to unpack .../trousers_0.3.13-4_amd64.deb ...
  Unpacking trousers (0.3.13-4) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for systemd (229-4ubuntu10) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Setting up trousers (0.3.13-4) ...
  insserv: script trousers_org: service tcsd already provided!
  insserv: script trousers_org: service trousers already provided!
  Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript trousers, action "start" failed.
  dpkg: error processing package trousers (--configure):
-  subprocess installed post-installation script returned error exit status 1
+  subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
-  trousers
+  trousers
  E: Sub-process /usr/bin/dpkg returned an error code (1)
- ============================================================================================
+ =============================================================================
  
  By what log indicates, I typed systemctl status trousers.service and got
  the following message
  
- ============================================================================================
+ =============================================================================
  
- systemctl status trousers.service 
+ systemctl status trousers.service
  ● trousers.service - LSB: starts tcsd
-    Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
-    Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
-      Docs: man:systemd-sysv-generator(8)
-   Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)
+    Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
+    Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
+      Docs: man:systemd-sysv-generator(8)
+   Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)
  
- systemctl status trousers.service 
+ systemctl status trousers.service
  ● trousers.service - LSB: starts tcsd
-    Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
-    Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
-      Docs: man:systemd-sysv-generator(8)
-   Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)
+    Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
+    Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
+      Docs: man:systemd-sysv-generator(8)
+   Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)
  
-  三  25 14:02:44 ckjboy2003-Server systemd[1]: Starting LSB: starts tcsd...
-  三  25 14:02:44 ckjboy2003-Server trousers[6758]:  * Starting Trusted Computing daemon tcsd
-  三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS ioctl: (25) Inappropriate ioctl for device
-  三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS Falling back to Read/Write device support.
-  三  25 14:02:44 ckjboy2003-Server trousers[6758]:    ...fail!
-  三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Control process exited, code=exited status=30
-  三  25 14:02:44 ckjboy2003-Server systemd[1]: Failed to start LSB: starts tcsd.
-  三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Unit entered failed state.
-  三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Failed with result 'exit-code'.
+  三  25 14:02:44 ckjboy2003-Server systemd[1]: Starting LSB: starts tcsd...
+  三  25 14:02:44 ckjboy2003-Server trousers[6758]:  * Starting Trusted Computing daemon tcsd
+  三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS ioctl: (25) Inappropriate ioctl for device
+  三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS Falling back to Read/Write device support.
+  三  25 14:02:44 ckjboy2003-Server trousers[6758]:    ...fail!
+  三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Control process exited, code=exited status=30
+  三  25 14:02:44 ckjboy2003-Server systemd[1]: Failed to start LSB: starts tcsd.
+  三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Unit entered failed state.
+  三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Failed with result 'exit-code'.
  
+ =============================================================================
  
- ============================================================================================
- 
- I found the bug is very similar to 
+ I found the bug is very similar to
  https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/963587
  but in /etc/init.d/trousers chuid has been removed so that it is not the same issue.

** Description changed:

  OS: Ubuntu 16.04.1 LTS
  Kernel: 4.4.0-66-generic
  
  I tried to install trousers on my newly installed Ubuntu 16.04 and got
  the following error:
  
- ============================================================================================
+ =============================================================================
  sudo apt-get install trousers
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    libopencryptoki0 libtpm-unseal1 opencryptoki
  Use 'sudo apt autoremove' to remove them.
  The following NEW packages will be installed:
    trousers
  0 upgraded, 1 newly installed, 0 to remove and 238 not upgraded.
  Need to get 0 B/120 kB of archives.
  After this operation, 425 kB of additional disk space will be used.
  Selecting previously unselected package trousers.
  (Reading database ... 209397 files and directories currently installed.)
  Preparing to unpack .../trousers_0.3.13-4_amd64.deb ...
  Unpacking trousers (0.3.13-4) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for systemd (229-4ubuntu10) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Setting up trousers (0.3.13-4) ...
  insserv: script trousers_org: service tcsd already provided!
  insserv: script trousers_org: service trousers already provided!
  Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript trousers, action "start" failed.
  dpkg: error processing package trousers (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   trousers
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  =============================================================================
  
  By what log indicates, I typed systemctl status trousers.service and got
  the following message
  
  =============================================================================
  
  systemctl status trousers.service
  ● trousers.service - LSB: starts tcsd
     Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
     Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)
  
  systemctl status trousers.service
  ● trousers.service - LSB: starts tcsd
     Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
     Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)
  
   三  25 14:02:44 ckjboy2003-Server systemd[1]: Starting LSB: starts tcsd...
   三  25 14:02:44 ckjboy2003-Server trousers[6758]:  * Starting Trusted Computing daemon tcsd
   三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS ioctl: (25) Inappropriate ioctl for device
   三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS Falling back to Read/Write device support.
   三  25 14:02:44 ckjboy2003-Server trousers[6758]:    ...fail!
   三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Control process exited, code=exited status=30
   三  25 14:02:44 ckjboy2003-Server systemd[1]: Failed to start LSB: starts tcsd.
   三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Unit entered failed state.
   三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Failed with result 'exit-code'.
  
  =============================================================================
  
  I found the bug is very similar to
  https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/963587
  but in /etc/init.d/trousers chuid has been removed so that it is not the same issue.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to trousers in Ubuntu.
https://bugs.launchpad.net/bugs/1676256

Title:
  Trousers and tpm-tools fails to install on 16.04

Status in trousers package in Ubuntu:
  New

Bug description:
  OS: Ubuntu 16.04.1 LTS
  Kernel: 4.4.0-66-generic

  I tried to install trousers on my newly installed Ubuntu 16.04 and got
  the following error:

  =============================================================================
  sudo apt-get install trousers
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    libopencryptoki0 libtpm-unseal1 opencryptoki
  Use 'sudo apt autoremove' to remove them.
  The following NEW packages will be installed:
    trousers
  0 upgraded, 1 newly installed, 0 to remove and 238 not upgraded.
  Need to get 0 B/120 kB of archives.
  After this operation, 425 kB of additional disk space will be used.
  Selecting previously unselected package trousers.
  (Reading database ... 209397 files and directories currently installed.)
  Preparing to unpack .../trousers_0.3.13-4_amd64.deb ...
  Unpacking trousers (0.3.13-4) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for systemd (229-4ubuntu10) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Setting up trousers (0.3.13-4) ...
  insserv: script trousers_org: service tcsd already provided!
  insserv: script trousers_org: service trousers already provided!
  Job for trousers.service failed because the control process exited with error code. See "systemctl status trousers.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript trousers, action "start" failed.
  dpkg: error processing package trousers (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   trousers
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  =============================================================================

  By what log indicates, I typed systemctl status trousers.service and
  got the following message

  =============================================================================

  systemctl status trousers.service
  ● trousers.service - LSB: starts tcsd
     Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
     Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)

  systemctl status trousers.service
  ● trousers.service - LSB: starts tcsd
     Loaded: loaded (/etc/init.d/trousers; bad; vendor preset: enabled)
     Active: failed (Result: exit-code) since 六 2017-03-25 14:02:44 CST; 15min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 6758 ExecStart=/etc/init.d/trousers start (code=exited, status=30)

   三  25 14:02:44 ckjboy2003-Server systemd[1]: Starting LSB: starts tcsd...
   三  25 14:02:44 ckjboy2003-Server trousers[6758]:  * Starting Trusted Computing daemon tcsd
   三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS ioctl: (25) Inappropriate ioctl for device
   三  25 14:02:44 ckjboy2003-Server tcsd[6764]: TCSD TDDL[6764]: TrouSerS Falling back to Read/Write device support.
   三  25 14:02:44 ckjboy2003-Server trousers[6758]:    ...fail!
   三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Control process exited, code=exited status=30
   三  25 14:02:44 ckjboy2003-Server systemd[1]: Failed to start LSB: starts tcsd.
   三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Unit entered failed state.
   三  25 14:02:44 ckjboy2003-Server systemd[1]: trousers.service: Failed with result 'exit-code'.

  =============================================================================

  I found the bug is very similar to
  https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/963587
  but in /etc/init.d/trousers chuid has been removed so that it is not the same issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/1676256/+subscriptions



More information about the foundations-bugs mailing list