The Phoenix startup script (net-www/phoenix-bin/files/phoenix) does not consider the situation where multiple users are running Phoenix. This is an obvious bug as the script simply looks for a pid. If a pid is found, it assumes that Phoenix is already running (without considering which user it is running under). Here is the proper way to do this (as per mozilla startup script): #!/bin/sh export MOZILLA_FIVE_HOME="/usr/lib/phoenix" PHOENIX_PATH="/usr/lib/phoenix" PHOENIX_CLIENT_PROGRAM="/usr/lib/phoenix/mozilla-xremote-client" $PHOENIX_CLIENT_PROGRAM "ping()" if [ "$?" -eq "2" ]; then # No phoenix running ${PHOENIX_PATH}/phoenix $@ else # phoenix running - open a new window ${PHOENIX_PATH}/phoenix -remote "openURL($@ ,new-window)" fi Reproducible: Always Steps to Reproduce: 1. User A starts Phoenix 2. User B attempts to start Phoenix and uh oh. 3. Actual Results: Phoenix failed to start Expected Results: Phoenix starts I've created the fix and posted it in the "details" section. Please submit.
alright, so heres the problem with THAT...you run mozilla and phoenix at the same time.... not with this script....
also...phoenix is alive again, or so i thought from seeing him talk online last night...
Exactly my thought, sethbc. What happens if you run mozilla and launch phoenix with that script? It'll spawn a new mozilla window. :/ Thats why i used the hackish pid-magic in my version. Both versions have a flaw, so lets think of a better one. -phoen][x-
Switching from pidof to a user-specific ps combined with grep should be an improvement from the current script: #!/bin/sh export MOZILLA_FIVE_HOME="/usr/lib/phoenix" PHOENIX_PATH="/usr/lib/phoenix" if [ -z "`/bin/ps x | /bin/grep \"[0-9] ${PHOENIX_PATH}/phoenix-bin\"`" ]; then # No phoenix running ${PHOENIX_PATH}/phoenix $@ else # phoenix running - open a new window ${PHOENIX_PATH}/phoenix -remote "openURL($@ ,new-window)" fi
Nifty one, Waine. I have added it a minute ago. Thanks for the contributions, guys. -phoen][x-