Public bug reported:

The way that the EC2 plugin is currently designed, the post_install
portion wants to apt-get install openssh-server which attempts to
restart sshd and fails.

It would be nice if the post_install plugins were called before
"unprevent_daemons_starting" was invoked (currently in dapper.py).  This
would prevent sshd from getting invoked and we would not have to ignore
any error from the install process in the post_install script.

Alternatively, I wonder if there might be a way to run the script from
within the install portion of the EC2 plugin instead of the
post_install.  It isn't clear to me how all the pieces are intended to
be fit together.

The code to which this report belongs is currently in the following
branch:

  https://code.launchpad.net/~nijaba/vmbuilder/ec2exec

Note: The code works as it is written, but I'm just thinking we might be
able to restructure it a touch to make it a bit cleaner and robust.

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Include plugin post_install in "prevent_daemons_starting" coverage
https://bugs.launchpad.net/bugs/293039
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to