You are not logged in.

#1 2007-12-19 06:34:46

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Chroot's firefox and flashplugin.so not in the path?

I run 64-bit Arch on an x86_64 system.  For web browsing and wine, I use a 32-bit chroot that I set up with this guide.  Recently, I suppose on a yaourt -Syu, the symlinks to firefox broke and flash doesn't work either.  Firefox's path is in /etc/profile, but it doesn't boot from "firefox."  Although, if I cd to /opt/mozilla/bin, I can run it by entering ./firefox.  Flash doesn't work though.

Here's my /etc/profile on my chroot:

#
# /etc/profile
#

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/mozilla/bin"

export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"

export LC_COLLATE="C"

export COLUMNS LINES

export PS1='[\u@\h \W]\$ '
export PS2='> '

umask 022

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
  PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
fi

# load profiles from /etc/profile.d
#  (to disable a profile, just remove execute permission on it)
if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
  for profile in /etc/profile.d/*.sh; do
    if [ -x $profile ]; then
      . $profile
    fi
  done
  unset profile
fi
# End of file

Any ideas on how to fix this?

Offline

#2 2007-12-19 06:35:28

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: Chroot's firefox and flashplugin.so not in the path?

Oh, and I have already logged out and back in.

Offline

#3 2007-12-19 22:17:43

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Chroot's firefox and flashplugin.so not in the path?

You could symlink firefox in /usr/bin and see if that solves anything. If it doesn't, it's probably something on the chroot side somehow not able to get info from profile.


I need real, proper pen and paper for this.

Offline

#4 2007-12-22 09:22:38

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Chroot's firefox and flashplugin.so not in the path?

It's been a while since I had a similar problem, and it might be something totally different than whats happening to you, but I had to add the chroot name and path to /etc/dchroot.conf

arch32  /opt/arch32


-- archlinux 是一个极好的 linux

Offline

Board footer

Powered by FluxBB