[lfs-support] Google Chrome disappears after running script to remove $LFS/dev/shm symlink

Richard Melville richard.melville69 at googlemail.com
Mon Aug 13 02:11:50 PDT 2012


>
> Richard Melville wrote:
> > Can anybody tell me why the above happens?  I'm using Chrome on the host
> to
> > follow the book.  Chrome won't restart and I'm now using Firefox.  I
> > noticed that the symlink was also removed from the host /dev directory;
>
> If LFS is not defined in the environment you used, then you removed
> /dev/shm.
>
>    -- Bruce
>
> Hi Bruce

Here's the output from env whilst running as root:-

 SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=50d00a9851ad6f686a287e0f00000002-1344796956.189292-1832017346
USER=root
LFS=/mnt/lfs
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/root
LANG=en_GB.UTF-8
SHLVL=1
HOME=/root
LANGUAGE=en_GB:en
LOGNAME=root
DISPLAY=:0.0
XAUTHORITY=/home/richard/.Xauthority
COLORTERM=gnome-terminal
_=/usr/bin/env

You can see that LFS *is* defined.  I've now tried removing and
reinstalling /dev/shm and $LFS/dev/shm manually but whatever I do to
/dev/shm occurs in $LFS/dev/shm and vice versa.  Is that the nature of a
bind mount?

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120813/9106d63b/attachment.html>


More information about the lfs-support mailing list