Tim Tassonis wrote:
I have found a workaround for my problem:
If I replace
mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
with
mount -v --bind /dev/pts $LFS/dev/pts
I get the needed /dev/pts/0 and sudo and su with password asking now
works. As it seems that this is really only a chroot issue and su and sudo
now work fine, I'll continue with that. I'm not yet sure of the exact
security implications, but as this is a dedicated vm only for building the
system, it should be ok.
What I recommend is just get ssh working and then work from your host.
With ssl now in LFS, ssh does not need any dependencies. I generally have
a problem pasting between a host and VM anyway, so ssh cures that problem.
Are you using qemu?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style