{"action":"closed","issue":{"url":"https://api.github.com/repos/maier/vagrant-alpine/issues/8","repository_url":"https://api.github.com/repos/maier/vagrant-alpine","labels_url":"https://api.github.com/repos/maier/vagrant-alpine/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/maier/vagrant-alpine/issues/8/comments","events_url":"https://api.github.com/repos/maier/vagrant-alpine/issues/8/events","html_url":"https://github.com/maier/vagrant-alpine/issues/8","id":132642366,"number":8,"title":"[NFS] Setting up NFS fails (maier/alpine-3.1.3-x86_64)","user":{"login":"seisenschmidt","id":6001055,"avatar_url":"https://avatars.githubusercontent.com/u/6001055?v=3","gravatar_id":"","url":"https://api.github.com/users/seisenschmidt","html_url":"https://github.com/seisenschmidt","followers_url":"https://api.github.com/users/seisenschmidt/followers","following_url":"https://api.github.com/users/seisenschmidt/following{/other_user}","gists_url":"https://api.github.com/users/seisenschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/seisenschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisenschmidt/subscriptions","organizations_url":"https://api.github.com/users/seisenschmidt/orgs","repos_url":"https://api.github.com/users/seisenschmidt/repos","events_url":"https://api.github.com/users/seisenschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/seisenschmidt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T09:07:50Z","updated_at":"2016-02-12T15:21:04Z","closed_at":"2016-02-12T15:21:04Z","body":"Host: Ubuntu 15.04 / OSX 11.3.1\r\nBox: maier/alpine-3.1.3-x86_64\r\n\r\nWhen exeuting `vagrant up` the first time the setup for NFS fails.\r\n\r\n```\r\n* Caching service dependencies ...                                                                                   [ ok ]\r\n * Starting rpcbind ...\r\nError loading shared library libgssapi_krb5.so.2: No such file or directory (needed by /usr/lib/libtirpc.so.1)\r\nError loading shared library libkrb5.so.3: No such file or directory (needed by /usr/lib/libtirpc.so.1)\r\nError loading shared library libk5crypto.so.3: No such file or directory (needed by /usr/lib/libtirpc.so.1)\r\nError relocating /usr/lib/libtirpc.so.1: gss_display_status: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_delete_sec_context: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_sign: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_init_sec_context: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_verify_mic: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_unwrap: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_release_buffer: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_release_name: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_get_mic: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_release_cred: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_wrap: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_accept_sec_context: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_duplicate_name: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_acquire_cred: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_import_name: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: gss_display_name: symbol not found\r\nError relocating /usr/lib/libtirpc.so.1: GSS_C_NT_HOSTBASED_SERVICE: symbol not found\r\n * start-stop-daemon: failed to start `/sbin/rpcbind'                                                                 [ !! ]\r\n * ERROR: rpcbind failed to start\r\n * ERROR: cannot start rpc.statd as rpcbind would not start\r\n```\r\n\r\n## Solution\r\n\r\nRun `sudo apk update && sudo apk upgrade` after the first time you called `vagrant up`.\r\n\r\nSteps:\r\n\r\n```\r\nvagrant up\r\nvagrant ssh -c \"sudo apk update && sudo apk upgrade\"\r\nvagrant halt\r\nvagrant up\r\n```\r\n\r\nUpdate ouput:\r\n\r\n```\r\nfetch http://dl-6.alpinelinux.org/alpine/v3.1/main/x86_64/APKINDEX.tar.gz\r\nv3.1.4-201-g3abe446 [http://dl-6.alpinelinux.org/alpine/v3.1/main]\r\nOK: 4869 distinct packages available\r\n(1/8) Upgrading libcrypto1.0 (1.0.1p-r0 -> 1.0.1r-r0)\r\n(2/8) Upgrading libssl1.0 (1.0.1p-r0 -> 1.0.1r-r0)\r\n(3/8) Upgrading openssh-client (6.7_p1-r2 -> 6.7_p1-r3)\r\n(4/8) Upgrading openssh (6.7_p1-r2 -> 6.7_p1-r3)\r\n(5/8) Upgrading openssl (1.0.1p-r0 -> 1.0.1r-r0)\r\n(6/8) Upgrading sudo (1.8.12-r0 -> 1.8.15-r0)\r\n(7/8) Upgrading krb5-libs (1.13-r1 -> 1.13.2-r0)\r\n(8/8) Upgrading sqlite-libs (3.8.10.2-r0 -> 3.8.10.2-r1)\r\nExecuting busybox-1.22.1-r15.trigger\r\nExecuting ca-certificates-20141019-r0.trigger\r\nOK: 226 MiB in 59 packages\r\n```\r\n\r\nVagrantfile:\r\n\r\n```\r\nVagrant.configure(2) do |config|\r\n  config.vm.box = \"maier/alpine-3.1.3-x86_64\"\r\n\r\n  config.vm.network \"private_network\", ip: \"192.168.200.10\"\r\n  config.vm.synced_folder './data', '/vagrant', type: 'nfs'\r\n\r\nend\r\n```\r\n\r\n"}}