[arch-releng] [PATCH] Initialize pacman keyring on bootup
Hi, First of all, sorry for not getting the threading right, I just subscribed to this ML and don't know how to make GMail DTRT.
-DAEMONS=(hwclock syslog-ng) +DAEMONS=(hwclock syslog-ng haveged pacman-init)
Presumably, pacman won't be needed immediately on boot, so to appear a bit more "snappy" i guess it would make sense to do the pacman-init in the background. This would obviously only work if there is some lock in place to make pacman wait on pacman-init to finish in a graceful way. Is this the case? Cheers, Tom
Am 18.06.2012 20:57, schrieb Tom Gundersen:
Presumably, pacman won't be needed immediately on boot, so to appear a bit more "snappy" i guess it would make sense to do the pacman-init in the background.
This would obviously only work if there is some lock in place to make pacman wait on pacman-init to finish in a graceful way. Is this the case?
I am not sure if this would be worth the possible trouble. In my vm this script finished in less than 1s. -- Pierre Schmitz, https://pierre-schmitz.com
On Mon, Jun 18, 2012 at 9:01 PM, Pierre Schmitz <pierre@archlinux.de> wrote:
Am 18.06.2012 20:57, schrieb Tom Gundersen:
Presumably, pacman won't be needed immediately on boot, so to appear a bit more "snappy" i guess it would make sense to do the pacman-init in the background.
This would obviously only work if there is some lock in place to make pacman wait on pacman-init to finish in a graceful way. Is this the case?
I am not sure if this would be worth the possible trouble. In my vm this script finished in less than 1s.
Ok, the generation of the entropy is faster than I expected. This could be a potential future optimization then, no need to worry about it now. -t
participants (2)
-
Pierre Schmitz
-
Tom Gundersen