devpts should also be bind-mounted, as it will override default devpts
flags and permissions which were mounted before.

In my case:

mount output before mounting devpts at $LFS/dev/pts

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)

mount output after mounting devpts at $LFS/dev/pts

devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)

I would certainly not want lfs to modify my host system. In some cases,
tty gid could be different, too and user might miss that part. Then,
latest glibc would fail to grantpty() and any terminal emulator might
fail to work.

Furthermore, I think that /run should also be mounted when building lfs,
since that is meant to be a tmpfs too, but some packages might install
files in there.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to