Bug 1420912

Summary: rpcbind fails to start using vagrant
Product: [Fedora] Fedora Reporter: Tobias Jungel <tobias.jungel>
Component: rpcbindAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpcbind-0.2.4-5.fc25 rpcbind-0.2.4-6.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-24 18:56:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tobias Jungel 2017-02-09 20:54:30 UTC
Description of problem:
rpcbind fails to start using vagrant.

Version-Release number of selected component (if applicable):
Version     : 0.2.4
Release     : 4.fc25


Steps to Reproduce:

Using a Vagrantfile like

Vagrant.configure(2) do |config|
  config.vm.box = "fedora/25-cloud-base"
  config.vm.synced_folder ".", "/vagrant", :nfs => true
end

and running 'vagrant up' fails during starting rpcbind (and nfs).


Actual results:
stall of 'vagrant up'

Expected results:
running VM

Additional info:

running 'vagrant halt; vagrant up' starts the VM properly.

The actual cause seems to be the missing folder /run/rpcbind.

Applying the following diff mitigates the issue:

--- /usr/share/vagrant/plugins/guests/redhat/cap/nfs_client.rb.orig	2017-02-09 21:34:33.939859313 +0100
+++ /usr/share/vagrant/plugins/guests/redhat/cap/nfs_client.rb	2017-02-09 21:34:38.353844183 +0100
@@ -6,6 +6,7 @@
           machine.communicate.sudo <<-EOH.gsub(/^ {12}/, '')
             if command -v dnf; then
               dnf -y install nfs-utils nfs-utils-lib portmap
+	      mkdir -p /run/rpcbind
             else
               yum -y install nfs-utils nfs-utils-lib portmap
             fi

origianl file:
https://github.com/mitchellh/vagrant/blob/master/plugins/guests/redhat/cap/nfs_client.rb

Comment 1 Tobias Jungel 2017-03-06 09:02:34 UTC
any comment on this?

Comment 2 Fedora Update System 2017-03-21 17:25:44 UTC
rpcbind-0.2.4-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-66c84b1ba8

Comment 3 Fedora Update System 2017-03-21 17:26:21 UTC
rpcbind-0.2.4-6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-5c5fcde1a0

Comment 4 Fedora Update System 2017-03-22 15:27:48 UTC
rpcbind-0.2.4-6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-5c5fcde1a0

Comment 5 Fedora Update System 2017-03-22 20:21:46 UTC
rpcbind-0.2.4-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-66c84b1ba8

Comment 6 Fedora Update System 2017-03-24 18:56:10 UTC
rpcbind-0.2.4-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-04-01 17:24:20 UTC
rpcbind-0.2.4-6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.