Skip to content

vagrant removes NFS exports for other users even though they're still in use #9070

Open
@NHellFire

Description

@NHellFire

Vagrant 2.0.0 (logs are from 1.9.8, 2.0.0 fails for the same reason)
Host: Ubuntu 17.04

From the log, the exports checking always uses the current UID, so will always see other users' exports as no longer needed.

start as jenkins (guest is Ubuntu 17.04)
log
/etc/exports only contains this one like it should:

# VAGRANT-BEGIN: 1001 78806be8-d853-418e-a185-c27ea2cc67eb
"/home/jenkins/zmninja" 192.168.121.173(rw,no_subtree_check,all_squash,anonuid=1001,anongid=1001,fsid=4228835102)
# VAGRANT-END: 1001 78806be8-d853-418e-a185-c27ea2cc67eb

then start a different box as administrator, while the other one is still running (guest is jessie64)
log
the previous one is pruned, then /etc/exports only contains the new one:

# VAGRANT-BEGIN: 1000 630bcba6-0e8f-4e0b-bb90-ac4b0f92ee71
"/home/administrator/vagrant-test" 192.168.121.176(rw,no_subtree_check,all_squash,anonuid=1000,anongid=1000,fsid=2695266041)
# VAGRANT-END: 1000 630bcba6-0e8f-4e0b-bb90-ac4b0f92ee71

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions