Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with --chdir daemon parameter #68

Open
lastmikoi opened this issue Aug 8, 2016 · 0 comments
Open

Issue with --chdir daemon parameter #68

lastmikoi opened this issue Aug 8, 2016 · 0 comments

Comments

@lastmikoi
Copy link

Hi,

I'm currently deploying this module to a customer who is using Behat with PhantomJS to test his application, and we're been running into the following issue, under Puppet 3.4, Ubuntu 14.04 and selenium-server-standalone 2.45.0:

Whenever the test suite is started, an obscure and unhelpful error arises and it is unable to continue.
After some digging around using strace, I managed to pin down the issue to the selenium-standalone daemon trying to create /phantomjsdriver.log and failing to do so because of permission issues.

We managed to workaround the issue by editing the /etc/init.d/seleniumserver initscript's DAEMON_ARGS variable: adding --chdir=/var/lib/selenium ensures that the daemon is creating all its files in a directory its has write access to.

Are you able to reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant