Hi,

(forgot to cc: you the first time)

On Sat, Feb 20, 2016 at 04:00:34PM +0100, Sebastian Muszynski wrote:
> Package: vagrant
> Version: 1.8.1+dfsg-1
> Severity: normal
> 
> --- Please enter the report below this line. ---
> 
> Since the resolution of bug #811004 (the implementation of a central 
> temporary 
> directory) vagrant crashs while booting. I'm using a vagrant plugin called 
> landrush. If the plugin is enabled the startup of the box fails. It seems 
> that 
> the temporary directory is removed before the warden can finish the 
> initialization of the box. If I replace line
> 
> /usr/share/vagrant/plugins/guests/debian/cap/configure_networks.rb:34
> 
> by 
>  
> File.new("/tmp/test")
> 
> instead of using the new Tempfile.new() method everything is fine. Therefore 
> I 
> have reverted the patch 0008-Use-a-private-temporary-dir.patch.
> 
> Crashing looks like this:
> 
> $ vagrant up
> Bringing machine 'default' up with 'virtualbox' provider...
> ==> default: Checking if box 'mybox' is up to date...
> ==> default: Clearing any previously set forwarded ports...
> ==> default: Clearing any previously set network interfaces...
> ==> default: [landrush] Host DNS resolver config looks good.
> ==> default: [landrush] starting dns server
> [landrush] Starting daemon...
> [landrush] Waiting for daemon to start...
> ==> default: Preparing network interfaces based on configuration...
>     default: Adapter 1: nat
>     default: Adapter 2: hostonly
> ==> default: Forwarding ports...
>     default: 22 (guest) => 2222 (host) (adapter 1)
> ==> default: Running 'pre-boot' VM customizations...
> ==> default: Booting VM...
> ==> default: Waiting for machine to boot. This may take a few minutes...
>     default: SSH address: 127.0.0.1:2222
>     default: SSH username: vagrant
>     default: SSH auth method: private key
> ==> default: Machine booted and ready!
> ==> default: [landrush] setting up machine's DNS to point to our server
> ==> default: [landrush] network: :private_network, {:type=>"dhcp", 
> :protocol=>"tcp", :id=>"4a885876-4287-4c25-bba6-85134c9c4115"}
> ==> default: [landrush] network: :forwarded_port, {:guest=>22, :host=>2222, 
> :host_ip=>"127.0.0.1", :id=>"ssh", :auto_correct=>true, :protocol=>"tcp"}
> ==> default: Checking for guest additions in VM...
> ==> default: Setting hostname...
> ==> default: Configuring and enabling network interfaces...
> /usr/lib/ruby/2.1.0/tempfile.rb:146:in `initialize': No such file or 
> directory @ 
> rb_sysopen - /tmp/vagrant-sebastian-23968/vagrant20160220-23968-bqbzg8 
> (Errno::ENOENT)
>         from /usr/lib/ruby/2.1.0/tempfile.rb:146:in `open'
>         from /usr/lib/ruby/2.1.0/tempfile.rb:146:in `block in initialize'
>         from /usr/lib/ruby/2.1.0/tmpdir.rb:142:in `create'
>         from /usr/lib/ruby/2.1.0/tempfile.rb:136:in `initialize'
>         from /usr/lib/ruby/vendor_ruby/vagrant/util/tempfile.rb:8:in 
> `initialize'
>         from 
> /usr/share/vagrant/plugins/guests/debian/cap/configure_networks.rb:34:in `new'
>         from 
> /usr/share/vagrant/plugins/guests/debian/cap/configure_networks.rb:34:in 
> `block 
> in configure_networks'
>         from 
> /usr/share/vagrant/plugins/guests/debian/cap/configure_networks.rb:13:in `tap'
>         from 
> /usr/share/vagrant/plugins/guests/debian/cap/configure_networks.rb:13:in 
> `configure_networks'
> [...]

can you still reproduce this with the latest version of vagrant from
stretch/unstable, and the latest version of landrush?

Attachment: signature.asc
Description: PGP signature

Reply via email to