[Bug 1195529] Re: walinux-agent might be run during build process
Scott Moser
smoser at ubuntu.com
Fri Jun 28 02:12:18 UTC 2013
the solution here is to block jobs from running on 'apt-get install'.
the build process for cloud-images does this.
the way to prevent is to put something like this in /usr/sbin/policy-
rc.d (taken from VMBuilder/plugins/ubuntu/templates/nostart-policy-
rc.d.tmpl )
while true; do
case "$1" in
-*) shift ;;
makedev) exit 0 ;;
x11-common) exit 0 ;;
*) exit 101 ;;
esac
done
and make that executable.
** Tags added: azure cloud-images cloud-images-build
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to walinuxagent in Ubuntu.
https://bugs.launchpad.net/bugs/1195529
Title:
walinux-agent might be run during build process
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1195529/+subscriptions
More information about the Ubuntu-server-bugs
mailing list