diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-01-08 13:17:22 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-01-08 13:17:22 +0200 |
commit | 5ff05aec30ddceb0fc8f2ecd7797aa7bdc9bc96d (patch) | |
tree | 0d5371d1fd42a07d0723c7eb0535f15c09cc5fd5 /tools/dump.c | |
parent | c895fb1541f5edbdc53eb6d70eb6157566e6e528 (diff) | |
download | rpm-5ff05aec30ddceb0fc8f2ecd7797aa7bdc9bc96d.tar.gz rpm-5ff05aec30ddceb0fc8f2ecd7797aa7bdc9bc96d.tar.bz2 rpm-5ff05aec30ddceb0fc8f2ecd7797aa7bdc9bc96d.zip |
Delay NSS initialization until actually used
- since NSS is allergic (ie becomes non-functional) after forking, delay
it's initialization until really needed, ie lazy init in rpmDigestInit()
- however as NSS init can fail if attempted in completely empty chroot,
we force crypto init to happen at transaction set create time, forking
past that is pretty much doomed anyway
- this is the other half of the fix for rhbz#476737, and similar case
noticed by Pixel in Mandriva (due to urpm forking)
Diffstat (limited to 'tools/dump.c')
0 files changed, 0 insertions, 0 deletions