Re: GCC: Attempting to run tests as "tester" user results in "su: Cannot drop the controlling terminal"

"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
On Sat, 2025-01-11 at 10:55 +0000, [email protected] wrote:

> (lfs chroot) root:/# ls -l /
> ls -l /lib64
> ls -l /lib/ld-linux-x86-64.so.2
> ls -l /bin/bash
> total 84
> lrwxrwxrwx   1 root  root      7 Oct 23 19:46 bin -> usr/bin
> drwxr-xr-x   2 root  root   4096 Dec 21 19:28 boot
> drwxr-xr-x  21 root  root   4720 Jan 11 11:15 dev
> drwxr-xr-x   6 root  root   4096 Jan  8 20:28 etc
> drwxr-xr-x   3 root  root   4096 Dec 21 21:13 home
> lrwxrwxrwx   1 root  root      7 Oct 23 19:46 lib -> usr/lib
> drwxr-xr-x   2 30034 root   4096 Nov  7 19:02 lib64

Hmm who is "30034"?  Is that the UID for the lfs user on the host
distro?  But we have

case $(uname -m) in
  x86_64) chown --from lfs -R root:root $LFS/lib64 ;;
esac

in section 7.2 which should have changed the owner to root, so this
shouldn't happen anyway.

And what does "ls -l /usr" output in the chroot environment?

-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.