Skip to content

agent_ctl.sh exits prematurely on CentOS Stemcell #171

Closed

Description

@cunnie

The consul-agent jobs won't start on CentOS because its monit's start script exits prematurely because resolvconf doesn't exist on CentOS:

-bash-4.2# bash -x /var/vcap/jobs/consul-agent/bin/agent_ctl start
+ set -e
+ LOG_DIR=/var/vcap/sys/log/consul-agent
+ RUN_DIR=/var/vcap/sys/run/consul-agent
+ DATA_DIR=/var/vcap/store/consul-agent
+ CONF_DIR=/var/vcap/jobs/consul-agent/config
+ PKG=/var/vcap/packages/consul
+ mkdir -p /var/vcap/sys/log/monit
+ case $1 in
+ mountpoint -q /var/vcap/store
+ mkdir -p /var/vcap/sys/log/consul-agent
+ chown -R vcap:vcap /var/vcap/sys/log/consul-agent
+ mkdir -p /var/vcap/sys/run/consul-agent
+ chown -R vcap:vcap /var/vcap/sys/run/consul-agent
+ mkdir -p /var/vcap/store/consul-agent
+ chown -R vcap:vcap /var/vcap/store/consul-agent
+ ulimit -v unlimited
+ echo 'nameserver 127.0.0.1'
/var/vcap/jobs/consul-agent/bin/agent_ctl: line 52: /etc/resolvconf/resolv.conf.d/head: No such file or directory

Activity

  1. concourse-bot commented on Oct 18, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    • #105960064 agent_ctl.sh exits prematurely on CentOS Stemcell

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. added a commit that references this issue on Apr 19, 2017
  3. added a commit that references this issue on Jul 17, 2017
  4. added a commit that references this issue on Apr 11, 2018
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions