Public bug reported:
description "Cinder api server"
author "Chuck Short <[email protected]>
start on (filesystem and net-device-up IFACE!=lo)
stop on runlevel [016]
chdir /var/run
pre-start script
mkdir -p /var/run/cinder
chown cinder:cinder /var/run/cinder
mkdir -p /var/lock/cinder
chown nova:root /var/lock/nova
end script
exec su -s /bin/sh -c "cinder-api" cinder
This should be
start on runlevel [2345]
Which guarantees all interfaces from /etc/network/interfaces have at
least been tried and waited on for 2 minutes (failsafe will boot the
system anyway after 2 minutes)
Also using su is not recommended as it opens a pam session. Instead, use
start-stop-daemon, as recommended here:
http://upstart.ubuntu.com/cookbook/#run-a-job-as-a-different-user
** Affects: cinder (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1030197
Title:
upstart jobs will start services before all network interfaces are up
and will not restart on runlevel 1->2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1030197/+subscriptions
--
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs