I like to use zsh for user root and my zsh is compiled with gdbm and pcre use flags, which links it to libraries in /usr. In my single user mode, these are not available, i.e. root cannot login... Yes I could make /usr available in single user mode, but then I am still stuck in case my /usr filesystem cannot be mounted. It would be great, if I could configure the shell for single user mode, or be asked to provide a command line to be executed as shell. That's the way BSD is doing it. I would like to configure it to be: /bin/busybox sh Reproducible: Always
I second that. I would also like to use zsh as login shell for root, but as long as it links to libs in /usr/lib (gdbm) this is not possible: # ldd /bin/zsh linux-gate.so.1 => (0xb8094000) libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb8087000) libpcre.so.0 => /lib/libpcre.so.0 (0xb805b000) libdl.so.2 => /lib/libdl.so.2 (0xb8057000) libncursesw.so.5 => /lib/libncursesw.so.5 (0xb800b000) libm.so.6 => /lib/libm.so.6 (0xb7fe5000) libc.so.6 => /lib/libc.so.6 (0xb7ead000) /lib/ld-linux.so.2 (0xb8095000)
So what can we do here? - USE=-gdbm - disable the gdbm plugin - link with as-needed - move libgdbm to /lib - ... (all untested) What's the proper solution?
Although this might be the least welcome solution, I'm tempted to close this bug as CANTFIX. The reason is that most Gentoo developers consider separate /usr partition rather useless nowadays and supporting such a case becomes more and more complicated with many libs required by system tools being in /usr/lib* rather than /lib
I agree with Polynomial-C's comment, there's nothing we can fix here, unless of course there are any idea that were not shared. To whom it might concern - feel free to commend even after this is resolved as CANTFIX.