[jboss-jira] [JBoss JIRA] (WFLY-1928) jboss-as-standalone.sh does not work on MacOS
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Fri Aug 23 09:01:29 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798855#comment-12798855 ]
Thomas Diesler commented on WFLY-1928:
--------------------------------------
After fixing the JBOSS_HOME issue I get
{code}
[tdiesler at ip-10-28-130-52 wildfly-8.0.0.Alpha4]$ cat /var/log/jboss-as/console.log
runuser: cannot set groups: Operation not permitted
{code}
This is because deamon() in /etc/init.d/functions uses [runuser|http://linux.die.net/man/1/runuser], which only makes sense when run as root.
If root is a requirement, the script should fail early when not run by root.
> jboss-as-standalone.sh does not work on MacOS
> ---------------------------------------------
>
> Key: WFLY-1928
> URL: https://issues.jboss.org/browse/WFLY-1928
> Project: WildFly
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 8.0.0.Alpha4
> Reporter: Thomas Diesler
> Assignee: Romain PELISSE
> Fix For: 8.0.0.Beta1
>
>
> {code}
> FuseFabric:karaf at root> process-start root 3
> bin/init.d/jboss-as-standalone.sh: line 12: /etc/init.d/functions: No such file or directory
> Error executing command: [bin/init.d/jboss-as-standalone.sh, start] exited with 1
> bin/init.d/jboss-as-standalone.sh: line 12: /etc/init.d/functions: No such file or directory
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list