saucy vagrant image shared folder 'ls' blocks

Bug #1252872 reported by Julian Taylor
106
This bug affects 37 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Invalid
High
Unassigned

Bug Description

using the saucy vagrant cloud images (32 and 64 bit)[0] with virtualbox as provider on ubuntu saucy amd64 the shared folder set up by vagrant can not be viewed with 'ls'
If one does so it blocks forever and consumes 100% cpu.
Reading files from this directory with e.g. 'cat' works

strace ls shows its constantly calling getdents:
...
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff603cea40) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(1, TIOCGWINSZ, 0x7fff603ceb20) = -1 ENOTTY (Inappropriate ioctl for device)
stat("/vagrant/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/vagrant/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
getdents(3, /* 1 entries */, 32768) = 24
...

with the precise vagrant images it works fine.

[0] https://cloud-images.ubuntu.com/vagrant/saucy/current/saucy-server-cloudimg-amd64-vagrant-disk1.box

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: virtualbox 4.2.16-dfsg-3
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Tue Nov 19 22:30:52 2013
InstallationDate: Installed on 2013-10-19 (31 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Julian Taylor (jtaylor) wrote :
Revision history for this message
Julian Taylor (jtaylor) wrote :

the same happens with upstream virtualbox 4.3.2 deb package
(to use vagrant with this requires backporting this patch: https://github.com/mitchellh/vagrant/commit/b2070eec530790579057a2a4fa89a5b86d5f4b4d)

Revision history for this message
Julian Taylor (jtaylor) wrote :

trusty images have the same issue, raring and precise images do not.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Tarjei Huse (tarjei-huse) wrote :

This may be related to this bug:
http://stackoverflow.com/a/20480842/1734789

Upgrading to latest vagrant and Virtualbox + running

   vagrant plugin install vagrant-vbguest

Before creating the image solved my problems. AFAIK the problem is in the version of virtualbox guest additions.

Changed in virtualbox (Ubuntu):
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
Piotr Jasiulewicz (pjasiulewicz) wrote :

Hi, getting the exact same problem with mod_perl modules on a precise 64 box:

[pid 12628] ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ffffc8b5598) = -1 ENOTTY (Inappropriate ioctl for device)

The same modules work fine on a local server.

Revision history for this message
Steve Jang (estebanjang) wrote :

I am also being affected by this.
vagrant version: Vagrant 1.4.3
virtual box version: 4.2.16
vagrant box:
https://cloud-images.ubuntu.com/vagrant/saucy/20140223/saucy-server-cloudimg-i386-vagrant-disk1.box

Revision history for this message
maikel (maikel-5) wrote :

Looks like this bug arose from the ashes
Vagrant: 1.5.2
Virtualbox 4.3.10 r93012

happens both on 13.04 and 13.10

Revision history for this message
Steve Grosbois (steve.grosbois) wrote :

Now, i've got this too !! :'(
Vagrant 1.5.1
Virtualbox 4.3.10
Vagrant box Ubuntu Saucy 13.10 32bit found on https://cloud-images.ubuntu.com/vagrant/

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Saucy is deprecated. Marking as invalid.

Changed in virtualbox (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1252872

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.