package haveged 0.9-1 failed to install/upgrade: init script can't start daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haveged (Debian) |
Fix Released
|
Unknown
|
|||
haveged (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Dustin Kirkland |
Bug Description
Binary package hint: haveged
..
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: haveged 0.9-1
ProcVersionSign
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. 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 :-)
============
Related branches
Changed in haveged (Debian): | |
status: | Unknown → Fix Released |
Changed in haveged (Ubuntu): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | Confirmed → In Progress |
Changed in haveged (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in haveged (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in haveged (Ubuntu Lucid): | |
importance: | Undecided → High |
Changed in haveged (Ubuntu): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
Changed in haveged (Ubuntu Lucid): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
milestone: | none → lucid-updates |
Here's what I got installing haveged on an Ubuntu 10.04 amd64 system:
The following NEW packages will be installed: mirrors. kernel. org/ubuntu/ lucid/universe haveged 0.9-1 [24.6kB] 0.9-1_amd64. deb) ...
haveged
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.6kB of archives.
After this operation, 176kB of additional disk space will be used.
Get:1 http://
Fetched 24.6kB in 0s (174kB/s)
Selecting previously deselected package haveged.
(Reading database ... 42631 files and directories currently installed.)
Unpacking haveged (from .../haveged_
Processing triggers for man-db ...
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)
I fixed the problem by:
# /etc/init.d/haveged start
* Starting entropy daemon haveged [ OK ]
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up haveged (0.9-1) ...
* Starting entropy daemon haveged [ OK ]