After the upgrade of ncurses, /sbin/rc was indirectly linked with /usr/lib/libdb-4.5.so through ncurses. with /usr not mounted at boot, the system doesn't boot properly and won't let you login even in single user mode. After booting from cd, chrooting and recompiling ncurses without berdb use flag the system was fixed. This useflag combinaison should be forbidden / investigate the regression from the previous ncurses. Reproducible: Always Steps to Reproduce: With a system having /usr on a separate partition. 1. compile openrc with ncurses useflag 2. compile ncurses with berdb useflag 3. reboot Actual Results: it won't boot complaining it doesn't find /usr/lib/libdb-4.5.so to link with Expected Results: boot
The same error referring to a different library: libdb-4.6.so. Plus, all utilities linked against ncurses give "DB->get: method not permitted before handle's open" warning. Fallback to sys-libs/ncurses-5.6-r2 (no berkdb flag) resolves this hurdle.
*** This bug has been marked as a duplicate of bug 245417 ***