User created with RPM install has wrong home directory
Issue
After install EWP 5.1 from the RPM installer we received the following Warning message when starting jboss:
runuser: warning: cannot change directory to /usr/share/jbossas: No such file or directory
To reproduce:
1) Install EWP on Redhat 5 64bit with Sun JDK using RHN.
2) Start JBoss 'service jbossas-web start'
3) You should get an error 'runuser: warning: cannot change directory to /usr/share/jbossas: No such file or directory'
4) This is due to the jboss user's home directory being created as '/usr/share/jbossas' not '/usr/share/jbossas-web';
[root@testjboss01 ~]# cat /etc/passwd | grep jboss
jboss:x:101:102:JBossAS:/usr/share/jbossas:/sbin/nologin
Environment
EWP 5.1
RHEL 5
RHN rpm install
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
