Bug 27300 - Additional Fedora patch required
Summary: Additional Fedora patch required
Alias: None
Product: Sisyphus
Classification: Development
Component: libnss (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
Depends on:
Reported: 2012-05-05 12:26 MSK by Vitaly Kuznetsov
Modified: 2012-05-11 02:25 MSK (History)
1 user (show)

See Also:

Fedora's patch (1.37 KB, patch)
2012-05-05 12:26 MSK, Vitaly Kuznetsov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Kuznetsov 2012-05-05 12:26:17 MSK
Created attachment 5455 [details]
Fedora's patch

С какого-то момента 389-admin стал падать при запуске со следующим трейсом:
Program received signal SIGABRT, Aborted.
0x00007ffff71fb6f5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0  0x00007ffff71fb6f5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff71fcb76 in abort () at abort.c:92
#2  0x00007ffff3f2559a in PR_Assert () from /usr/lib64/libnspr4.so
#3  0x00007ffff3f399e8 in PR_Lock () from /usr/lib64/libnspr4.so
#4  0x00007ffff4377aa8 in NSS_RegisterShutdown () from /usr/lib64/libnss3.so
#5  0x00007ffff46bb0be in ?? () from /usr/lib64/libssl3.so
#6  0x00007ffff3f3088a in PR_CallOnce () from /usr/lib64/libnspr4.so
#7  0x00007ffff46bb197 in ?? () from /usr/lib64/libssl3.so
#8  0x00007ffff46bb1de in ?? () from /usr/lib64/libssl3.so
#9  0x00007ffff46bb279 in SSL_ClearSessionCache () from /usr/lib64/libssl3.so
#10 0x00007ffff48e7252 in nss_init_ChildKill () from /usr/lib64/apache2/modules/mod_nss.so
#11 0x00007ffff48e73f8 in nss_init_ModuleKill () from /usr/lib64/apache2/modules/mod_nss.so
#12 0x00007ffff77672b6 in run_cleanups (pool=0x67e138) at memory/unix/apr_pools.c:2388
#13 apr_pool_clear (pool=0x67e138) at memory/unix/apr_pools.c:782
#14 0x0000000000424153 in main ()

В Fedora для решения этой проблемы есть специальный патч: bz784672-protect-against-calls-before-nss_init.patch

Локальная пересборка с данным патчем помогает.
Comment 1 Repository Robot 2012-05-11 02:25:11 MSK
nss-3.13.4-alt2 -> sisyphus:

* Mon May 07 2012 Alexey Gladkov <legion@altlinux> 3.13.4-alt2
- Update external patches.
- Protect against calls before nss_init (ALT#27300).