Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28349 - pacman-key --init never finishes

Attached to Project: Arch Linux
Opened by Daniel Hellsson (sciboy) - Friday, 10 February 2012, 12:02 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 10 February 2012, 14:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I try to generate pacman-keys by using the "pacman-key --init" command.

Expected result:
The keys necessary are generated.
Actual result:
The program hangs at "Not enough random bytes available..."
No matter how much other programs I run or how much I access the webserver on the same machine, nothing happens. I've added a watch on /proc/sys/kernel/random/entropy_avail and there is never more than about 60 bytes available there. It increases a bit, then it is reset to 0.

I set it to critical since this means that I cannot update my system, which is up and running, a critical software for my company.

Additional info:
* package version(s):
pacman-key 4.0.1
pacman 4.0.1
libpalm v7.0.1

Steps to reproduce:
Hard to see how someone else might reproduce this, I'm not sure what I did to get to this position. It appears that something is eating my random data.
What I did is described above.
This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 10 February 2012, 14:48 GMT
Reason for closing:  Not a bug
Comment by Gaetan Bisson (vesath) - Friday, 10 February 2012, 14:48 GMT
gnupg (called by pacman-key) is eating your random data to create the new key...

See also: http://en.wikipedia.org/wiki/Entropy_(computing)#Entropy_in_the_Linux_kernel

Loading...