Hi,
I finished LFS 7.6 book, system is bootable, but after login as root (on real lfs) I got message
Code:
lfs login: root
Cannot execute /bin/bash : No such file or directory
and I am loged out. Moreover after 20 or 30 sec. It appears message
and login prompt disappears completely, but system is responsive, after ctrlaltdel it shutdowns cleanly. To try to handle these issues I chrooted form host build system, now as (ch)root
Code:
root:/# su
Cannot execute /bin/bash : No such file or directory
so 'su' has the same issue. This is happening only with root account. I've created users piotr, barbara and
works fine but
Code:
barbara $ su
Cannot execute /bin/bash : No such file or directory
From /etc/passwd
Code:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/dev/null:/bin/false
daemon:x:6:6:Daemon User:/dev/null:/bin/false
messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
The path in chroot environment is set to
Code:
root:/# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin