Red Hat Bugzilla – Bug 175161
rhgb started before /usr/lib mounted
Last modified: 2014-03-16 22:57:06 EDT
Description of problem:
Currently rc.sysinit checks for the presence of /usr/bin/rhgb, but not it's
required libraries in /usr/lib. If /usr/lib is a separate partition, but
/usr/bin is not, this causes rhgb to fail and lots of calls to rhgb-client to fail.
Version-Release number of selected component (if applicable):
Files containing problems:
rhgb fails, lots of error messages like: /usr/bin/rhgb-client: error while
loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No
such file or directory
If possible, rc.sysinit and the other scripts should check to see that /usr/lib
is mounted when checking to see if /usr/bin/rhgb* exists and before trying to
run them. Later in rc.sysinit there is a bit of code to re-attempt the running
At the very least, the failure to start rhgb should be noted and the scripts
should be able to avoid most of the subsequent error messages.
I realize that have a separate partition for /usr/lib is probably unusual, but
it would still be nice to see this fixed.
/usr/bin and /usr/lib really need to be on the same partition; I don't think
otherwise is supported in many areas, not just in rhgb.