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' [...] Kind regards, Sebastian --- System information. --- Architecture: amd64 Kernel: Linux 4.2.0-1-amd64 Debian Release: 8.3 990 stable security.debian.org 990 stable http.debian.net 500 unstable http.debian.net 500 testing http.debian.net 1 experimental http.debian.net --- Package information. --- Package's Depends field is empty. Package's Recommends field is empty. Package's Suggests field is empty.