Before Patch:

ubuntu@ip-10-62-14-242:~$ sudo apt-get install haveged
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  haveged
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 24.6kB of archives.
After this operation, 176kB of additional disk space will be used.
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe haveged 
0.9-1 [24.6kB]
Fetched 24.6kB in 0s (303kB/s)
Selecting previously deselected package haveged.
(Reading database ... 31816 files and directories currently installed.)
Unpacking haveged (from .../haveged_0.9-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up haveged (0.9-1) ...
 * Starting entropy daemon  haveged
   ...fail!
invoke-rc.d: initscript haveged, action "start" failed.
dpkg: error processing haveged (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 haveged
E: Sub-process /usr/bin/dpkg returned an error code (1)


After patch:
ubuntu@ip-10-62-14-242:~$ sudo dpkg -i lucid/haveged_0.9-1ubuntu1_amd64.deb 
Selecting previously deselected package haveged.
(Reading database ... 31816 files and directories currently installed.)
Unpacking haveged (from .../haveged_0.9-1ubuntu1_amd64.deb) ...
Setting up haveged (0.9-1ubuntu1) ...
 * Starting entropy daemon  haveged
   ...done.

Processing triggers for ureadahead ...
Processing triggers for man-db ...


** Description changed:

  Binary package hint: haveged
  
  ..
  
  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: haveged 0.9-1
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  Architecture: i386
  Date: Fri Apr 23 13:35:15 2010
  ErrorMessage: podproces instalovaný post-installation skript vrátil chybový 
status 1
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
  SourcePackage: haveged
  Title: package haveged 0.9-1 failed to install/upgrade: podproces instalovaný 
post-installation skript vrátil chybový status 1
+ 
+ ============
+ SRU Notes
+ 1. IMPACT - The severity of this bug should be considered very high, for the 
haveged package.  It is completely unusable and ineffectual without fixes to 
the init script.  The package installation fails because the init script is 
unable to start the daemon.
+ 2. DEVELOPMENT FIX - This bug was fixed very shortly after Lucid was 
released, by the upstream Debian package 0.9-3, which did land in the 
now-defunct Ubuntu Maverick release.  The package has been stable and workable 
in Ubuntu ever since.  Only Ubuntu 10.04 (lucid) is effected.
+ 3. STABLE FIX - The stable fix is quite simply to cherry pick the init script 
changes the Debian maintainer introduced in 0.9-3.  I have attached a minimal 
debdiff in Comment #6 in this bug.
+ 4. TEST CASE - Simply 'sudo apt-get install haveged' in Lucid.  You will see 
the package fail to install, as the postinst cannot start the daemon from the 
init script.  Build and install the package with the patch applied.  You'll see 
it start just fine.
+ 5. REGRESSION POTENTIAL - Low.  The package is not functional in its current 
state.  We can only improve it :-)
+ ============

** Description changed:

  Binary package hint: haveged
  
  ..
  
  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: haveged 0.9-1
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  Architecture: i386
  Date: Fri Apr 23 13:35:15 2010
  ErrorMessage: podproces instalovaný post-installation skript vrátil chybový 
status 1
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
  SourcePackage: haveged
  Title: package haveged 0.9-1 failed to install/upgrade: podproces instalovaný 
post-installation skript vrátil chybový status 1
  
  ============
  SRU Notes
  1. IMPACT - The severity of this bug should be considered very high, for the 
haveged package.  It is completely unusable and ineffectual without fixes to 
the init script.  The package installation fails because the init script is 
unable to start the daemon.
  2. DEVELOPMENT FIX - This bug was fixed very shortly after Lucid was 
released, by the upstream Debian package 0.9-3, which did land in the 
now-defunct Ubuntu Maverick release.  The package has been stable and workable 
in Ubuntu ever since.  Only Ubuntu 10.04 (lucid) is effected.
  3. STABLE FIX - The stable fix is quite simply to cherry pick the init script 
changes the Debian maintainer introduced in 0.9-3.  I have attached a minimal 
debdiff in Comment #6 in this bug.
- 4. TEST CASE - Simply 'sudo apt-get install haveged' in Lucid.  You will see 
the package fail to install, as the postinst cannot start the daemon from the 
init script.  Build and install the package with the patch applied.  You'll see 
it start just fine.
+ 4. TEST CASE - Simply 'sudo apt-get install haveged' in Lucid.  You will see 
the package fail to install, as the postinst cannot start the daemon from the 
init script.  Build and install the package with the patch applied.  You'll see 
it start just fine.  See Comment #7 for my test results (before and after).
  5. REGRESSION POTENTIAL - Low.  The package is not functional in its current 
state.  We can only improve it :-)
  ============

** Summary changed:

- package haveged 0.9-1 failed to install/upgrade: podproces instalovaný 
post-installation skript vrátil chybový status 1
+ package haveged 0.9-1 failed to install/upgrade: init script can't start 
daemon

** Changed in: haveged (Ubuntu Lucid)
       Status: In Progress => Fix Committed

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

Title:
  package haveged 0.9-1 failed to install/upgrade: init script can't
  start daemon

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to