Closed (duplicate)
Project:
Vagrant Scripts for Aegir
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2013 at 05:02 UTC
Updated:
26 Jan 2013 at 16:41 UTC
anarcat@marcos:vagrant_scripts_aegir$ nice fab vagrant aegir_apt_install:distro=unstable
[localhost] local: vagrant ssh-config | grep User
[localhost] local: vagrant ssh-config | grep HostName
[localhost] local: vagrant ssh-config | grep Port
[localhost] local: vagrant ssh-config | grep IdentityFile
[127.0.0.1:2222] Executing task 'aegir_apt_install'
===> Preparing the Aegir user
[127.0.0.1:2222] sudo: useradd -r -U -d /var/aegir -m -G www-data aegir
[127.0.0.1:2222] sudo: echo 'aegir ALL=NOPASSWD: /usr/sbin/apache2ctl' >> /etc/sudoers
===> Adding apt sources
[127.0.0.1:2222] sudo: curl http://debian.aegirproject.org/key.asc | apt-key add -
[127.0.0.1:2222] out: /bin/bash: curl: command not found
[127.0.0.1:2222] out: gpg: no valid OpenPGP data found.
Fatal error: sudo() received nonzero return code 2 while executing!
Requested: curl http://debian.aegirproject.org/key.asc | apt-key add -
Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "curl http://debian.aegirproject.org/key.asc | apt-key add -"
Aborting.
Disconnecting from 127.0.0.1:2222... done.
boom!
Comments
Comment #1
anarcat commentedActually, that was my error - I interrupted the first vagrant up and that's what happened ... I have since then destroyed and re-up'd, and now I get this:
Of course the fabfiles then fails too...
Fun times! :)
Comment #2
steven jones commentedAh, I've had this error before. Seems that the guest machine tries to work out its hostname, and use that as a default setting for postfix, but doesn't actually default to a valid hostname I think.
I'm not sure of the solution, but maybe we should just set the hostname of the machine as part of the box initialisation script, and then postfix wouldn't fail like this.
Comment #3
steven jones commentedActually helmo reported this first: #1829968: Postfix fails to install because the hostname has a trailing dot.