Thanks for the work Jamie, I'm subbing ubuntu-sru as requested.

** Description changed:

  [Impact]
+ 
+ Trousers users need to reboot (or restart udev) in order to fully
+ complete configuration of the package. Worse, the install fails and
+ prompts to open this bug with apport.
  
  [Fix]
  
+ First, the problem. Though udev watches their rules files and re-reads
+ them whenever something new is added, it does _not_ monitor when new
+ users are groups are added to the system. We're left with:
+ 
+ Jul 31 21:21:46 neptune udevd[409]: specified user 'tss' unknown
+ Jul 31 21:21:46 neptune udevd[409]: specified group 'tss' unknown
+ 
+ The fix is to explicitly restart udev. This causes udev to reread users
+ and groups and allows the initscript to start.
+ 
  [Test Case]
  
+ 1) make sure there is no tss user/group
+ 2) apt-get install tpm-tools
+ 
  [Regression Potential]
+ 
+ Very small. udevadm control --reload-rules is a benign command and we
+ have it in other packages already.
  
  [Original Report]
  
  Setting up trousers (0.3.7-2ubuntu1) ...
  Adding system user `tss' (UID 118) ...
  Adding new group `tss' (GID 129) ...
  Adding new user `tss' (UID 118) with group `tss' ...
  Not creating home directory `/var/lib/tpm'.
   * Starting Trusted Computing daemon tcsd                                
[fail]
  invoke-rc.d: initscript trousers, action "start" failed.
  dpkg: error processing trousers (--configure):
   subprocess installed post-installation script returned error exit status 137
  No apport report written because MaxReports is reached already
                                                                dpkg: 
dependency problems prevent configuration of tpm-tools:
   tpm-tools depends on trousers; however:
    Package trousers is not configured yet.
  dpkg: error processing tpm-tools (--configure):
   dependency problems - leaving unconfigured
  
  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: trousers 0.3.7-2ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
  Uname: Linux 3.2.0-19-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Mon Mar 19 16:16:56 2012
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 137
  SourcePackage: trousers
  Title: package trousers 0.3.7-2ubuntu1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 137
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  package trousers 0.3.7-2ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 137

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to