Skip to content

Issue with --chdir daemon parameter #68

Description

@lastmikoi

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions