cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6220) Cloudstack agent fails to start due to broken init script
Date Mon, 10 Mar 2014 21:18:43 GMT
Nux created CLOUDSTACK-6220:
-------------------------------

             Summary: Cloudstack agent fails to start due to broken init script
                 Key: CLOUDSTACK-6220
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6220
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup
    Affects Versions: 4.4.0
         Environment: CentOS 6.5 KVM/libvirt
            Reporter: Nux


Hello,

On 4.4 `service cloudstack-agent start` fails with:
# service cloudstack-agent start
Starting Cloud Agent: 
touch: cannot touch `/var/lock/subsys//etc/init.d/cloudstack-agent': No such file or directory

/etc/init.d/cloudstack-agent used to have this which worked fine:
whatami=cloudstack-agent
SHORTNAME="$whatami"

Now it has been replaced with this which fails:
SHORTNAME="$0"

A possible solution is to replace "$0" with `basename "$0"`



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message