Red Hat Bugzilla – Bug 113309
/sbin/sysctl depends on libncurses.so and libgpm.so, not available at boot time
Last modified: 2007-04-18 13:01:07 EDT
Description of problem:
/sbin/sysctl is called at boot time, somewhere in one of the first
boot scripts. On my system, it immediately fails, because libncurses.
so.x, which is located in the /usr filesystem space, is not
available. libgpm.so is also missing, btw.
Version-Release number of selected component (if applicable):
always on systems where /usr is on a separate partition
Steps to Reproduce:
1. unmount all filesystems != / (where the latter includes /sbin,
Program not started, missing dyn lib
Programs used at boot time should never depend on libraries which are
not in /lib. So either:
a) Use a different program in the boot scripts. ;-)
b) Link libncurses and libgpm statically to sysctl. :-P
c) Move libncurses.so* and libgpm.so* from /usr/lib to /lib.
d) Build something like a "/sbin/sysctl-minimal" (like
"vim-minimal" or "aumix-minimal") and use this in the boot
scripts, and move the full featured sysctl to /usr/bin.
Duplicate of bug 112169
*** This bug has been marked as a duplicate of 112169 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.