jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Archiva
  • MRM-794

Have to create .profile file for user archiva

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.0.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Linux example 2.6.18-6-486 #1 Sun Feb 10 22:06:33 UTC 2008 i686 GNU/Linux

Description

I want to run Archiva as another user named archiva (RUN_AS_USER=archiva). I have to create the file $HOME/.profile for user archiva in order to set some environment variables:

export PLEXUS_BASE=/var/archiva
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export TOOLS_JAR="${JAVA_HOME}/lib/tools.jar"

Otherwise, Archiva won't start. I think the file bin/linux-x86-32/run.sh should do the job. If RUN_AS_USER is set, a new login shell is created and within that one the wrapper is run.

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MRM-597 Cannot run Archiva as another user because su is run with option "-" (--login)

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Martin Burger added a comment - 06/May/08 5:55 AM

Could be related to MRM-597. So fixing one of these two could fix the other one as well.

Show
Martin Burger added a comment - 06/May/08 5:55 AM Could be related to MRM-597. So fixing one of these two could fix the other one as well.
Hide
Permalink
James William Dumay added a comment - 20/Jun/08 11:29 PM

Martin,
Could you confirm that this is still an issue for you? I think MRM-597 has solved this problem for you.

Thanks
James

Show
James William Dumay added a comment - 20/Jun/08 11:29 PM Martin, Could you confirm that this is still an issue for you? I think MRM-597 has solved this problem for you. Thanks James
Hide
Permalink
Brett Porter added a comment - 01/Jul/08 6:43 PM

Closing as a duplicate.

Show
Brett Porter added a comment - 01/Jul/08 6:43 PM Closing as a duplicate.

People

  • Assignee:
    Brett Porter
    Reporter:
    Martin Burger
Vote (0)
Watch (1)

Dates

  • Created:
    06/May/08 5:54 AM
    Updated:
    01/Jul/08 6:43 PM
    Resolved:
    01/Jul/08 6:42 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.