I've installed Proxmox ontop of Debian Jessie the other day, and run into a problem with nfs-mounting a folder onto the host system (not lxc). I wouldn't be able to 'ls' or 'cd' into a subdirectory of the root mount folder (the root itself was fine) as a user, was getting an error like:
ls: cannot open directory /mnt/server/subdirectory: Operation not permitted
The weird thing is though, once I did an ls on that subdirectory as root, I could also access it as user subsequently as well. For a time, anyway. I think it stopped working after an hour or so, not sure though.
I figured I might have screwed something up with my Jessie install, so I re-installed the whole thing with the Proxmox iso. Mounted the nfs share, and that worked. But then I did an 'apt upgrade'. And the same nfs issue appeared again. So I reckon there is some package that introduces a regression (below is the list of packages that were installed by the upgrade).
Anybody any idea which package could be responsible? I can mount this nfs share fine with all my other (Debian Jessie) machines.
Thanks!
Output of /var/log/apt/history.log:
Start-Date: 2016-08-03 10:43:18
Commandline: apt install sudo zile
Install: sudo:amd64 (1.8.10p3-1+deb8u3), zile:amd64 (2.4.11-1)
End-Date: 2016-08-03 10:43:19
Start-Date: 2016-08-03 10:46:40
Commandline: apt upgrade
Install: libarchive13:amd64 (3.1.2-11+deb8u1, automatic), pve-kernel-4.4.13-2-pve:amd64 (4.4.13-58, automatic), pve-docs:amd64 (4.2-7, automatic)
Upgrade: libanyevent-http-perl:amd64 (2.21-1, 2.22-1), libxapian22:amd64 (1.2.19-1, 1.2.19-1+deb8u1), glusterfs-common:amd64 (3.5.2-2+deb8u1, 3.5.2-2+deb8u2), libpve-common-perl:amd64 (4.0-59, 4.0-71), perl:amd64 (5.20.2-3+deb8u4, 5.20.2-3+deb8u6), zfs-initramfs:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libssl1.0.0:amd64 (1.0.1k-3+deb8u4, 1.0.1t-1+deb8u2), perl-base:amd64 (5.20.2-3+deb8u4, 5.20.2-3+deb8u6), libpve-storage-perl:amd64 (4.0-50, 4.0-56), pve-manager:amd64 (4.2-2, 4.2-17), dpkg:amd64 (1.17.26, 1.17.27), qemu-server:amd64 (4.0-72, 4.0-85), libgdk-pixbuf2.0-common:amd64 (2.31.1-2+deb8u4, 2.31.1-2+deb8u5), libksba8:amd64 (1.3.2-1, 1.3.2-1+deb8u1), openssh-server:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), openssh-sftp-server:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), zfsutils:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libidn11:amd64 (1.29-1+b2, 1.29-1+deb8u1), nmap:amd64 (6.47-3+b1, 6.47-3+deb8u2), libtevent0:amd64 (0.9.21-1, 0.9.25-0+deb8u1), pve-ha-manager:amd64 (1.0-28, 1.0-33), base-files:amd64 (8+deb8u4, 8+deb8u5), pve-firewall:amd64 (2.0-25, 2.0-29), spl:amd64 (0.6.5-pve5~jessie, 0.6.5.7-pve6~bpo80), initramfs-tools:amd64 (0.120+deb8u1, 0.120+deb8u2), libnet-dns-perl:amd64 (0.81-2, 0.81-2+deb8u1), pve-cluster:amd64 (4.0-39, 4.0-43), ssh:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), libldb1:amd64 (1.1.17-2+deb8u1, 1.1.20-0+deb8u1), libxml2:amd64 (2.9.1+dfsg1-5+deb8u1, 2.9.1+dfsg1-5+deb8u2), pve-qemu-kvm:amd64 (2.5-14, 2.6-1), libnvpair1:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libintl-perl:amd64 (1.23-1, 1.23-1+deb8u1), libpve-access-control:amd64 (4.0-16, 4.0-18), perl-modules:amd64 (5.20.2-3+deb8u4, 5.20.2-3+deb8u6), glusterfs-client:amd64 (3.5.2-2+deb8u1, 3.5.2-2+deb8u2), libtdb1:amd64 (1.3.1-1, 1.3.6-0+deb8u1), pve-container:amd64 (1.0-62, 1.0-71), samba-libs:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), openssh-client:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), libuutil1:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), pve-libspice-server1:amd64 (0.12.5-2, 0.12.8-1), libzpool2:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libcorosync4-pve:amd64 (2.3.5-2, 2.4.0-1), smbclient:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), libtalloc2:amd64 (2.1.1-2, 2.1.2-0+deb8u1), python-talloc:amd64 (2.1.1-2, 2.1.2-0+deb8u1), proxmox-ve:amd64 (4.2-48, 4.2-58), libzfs2:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libgdk-pixbuf2.0-0:amd64 (2.31.1-2+deb8u4, 2.31.1-2+deb8u5), libexpat1:amd64 (2.1.0-6+deb8u1, 2.1.0-6+deb8u3), tzdata:amd64 (2016c-0+deb8u1, 2016d-0+deb8u1), openssl:amd64 (1.0.1k-3+deb8u4, 1.0.1t-1+deb8u2), libwbclient0:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), corosync-pve:amd64 (2.3.5-2, 2.4.0-1), libtasn1-6:amd64 (4.2-3+deb8u1, 4.2-3+deb8u2), samba-common:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), libsmbclient:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3)
End-Date: 2016-08-03 10:47:46
Start-Date: 2016-08-03 10:47:54
Commandline: apt install parted
Install: parted:amd64 (3.2-7), libparted2:amd64 (3.2-7, automatic)
End-Date: 2016-08-03 10:47:55
ls: cannot open directory /mnt/server/subdirectory: Operation not permitted
The weird thing is though, once I did an ls on that subdirectory as root, I could also access it as user subsequently as well. For a time, anyway. I think it stopped working after an hour or so, not sure though.
I figured I might have screwed something up with my Jessie install, so I re-installed the whole thing with the Proxmox iso. Mounted the nfs share, and that worked. But then I did an 'apt upgrade'. And the same nfs issue appeared again. So I reckon there is some package that introduces a regression (below is the list of packages that were installed by the upgrade).
Anybody any idea which package could be responsible? I can mount this nfs share fine with all my other (Debian Jessie) machines.
Thanks!
Output of /var/log/apt/history.log:
Start-Date: 2016-08-03 10:43:18
Commandline: apt install sudo zile
Install: sudo:amd64 (1.8.10p3-1+deb8u3), zile:amd64 (2.4.11-1)
End-Date: 2016-08-03 10:43:19
Start-Date: 2016-08-03 10:46:40
Commandline: apt upgrade
Install: libarchive13:amd64 (3.1.2-11+deb8u1, automatic), pve-kernel-4.4.13-2-pve:amd64 (4.4.13-58, automatic), pve-docs:amd64 (4.2-7, automatic)
Upgrade: libanyevent-http-perl:amd64 (2.21-1, 2.22-1), libxapian22:amd64 (1.2.19-1, 1.2.19-1+deb8u1), glusterfs-common:amd64 (3.5.2-2+deb8u1, 3.5.2-2+deb8u2), libpve-common-perl:amd64 (4.0-59, 4.0-71), perl:amd64 (5.20.2-3+deb8u4, 5.20.2-3+deb8u6), zfs-initramfs:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libssl1.0.0:amd64 (1.0.1k-3+deb8u4, 1.0.1t-1+deb8u2), perl-base:amd64 (5.20.2-3+deb8u4, 5.20.2-3+deb8u6), libpve-storage-perl:amd64 (4.0-50, 4.0-56), pve-manager:amd64 (4.2-2, 4.2-17), dpkg:amd64 (1.17.26, 1.17.27), qemu-server:amd64 (4.0-72, 4.0-85), libgdk-pixbuf2.0-common:amd64 (2.31.1-2+deb8u4, 2.31.1-2+deb8u5), libksba8:amd64 (1.3.2-1, 1.3.2-1+deb8u1), openssh-server:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), openssh-sftp-server:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), zfsutils:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libidn11:amd64 (1.29-1+b2, 1.29-1+deb8u1), nmap:amd64 (6.47-3+b1, 6.47-3+deb8u2), libtevent0:amd64 (0.9.21-1, 0.9.25-0+deb8u1), pve-ha-manager:amd64 (1.0-28, 1.0-33), base-files:amd64 (8+deb8u4, 8+deb8u5), pve-firewall:amd64 (2.0-25, 2.0-29), spl:amd64 (0.6.5-pve5~jessie, 0.6.5.7-pve6~bpo80), initramfs-tools:amd64 (0.120+deb8u1, 0.120+deb8u2), libnet-dns-perl:amd64 (0.81-2, 0.81-2+deb8u1), pve-cluster:amd64 (4.0-39, 4.0-43), ssh:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), libldb1:amd64 (1.1.17-2+deb8u1, 1.1.20-0+deb8u1), libxml2:amd64 (2.9.1+dfsg1-5+deb8u1, 2.9.1+dfsg1-5+deb8u2), pve-qemu-kvm:amd64 (2.5-14, 2.6-1), libnvpair1:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libintl-perl:amd64 (1.23-1, 1.23-1+deb8u1), libpve-access-control:amd64 (4.0-16, 4.0-18), perl-modules:amd64 (5.20.2-3+deb8u4, 5.20.2-3+deb8u6), glusterfs-client:amd64 (3.5.2-2+deb8u1, 3.5.2-2+deb8u2), libtdb1:amd64 (1.3.1-1, 1.3.6-0+deb8u1), pve-container:amd64 (1.0-62, 1.0-71), samba-libs:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), openssh-client:amd64 (6.7p1-5+deb8u1, 6.7p1-5+deb8u3), libuutil1:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), pve-libspice-server1:amd64 (0.12.5-2, 0.12.8-1), libzpool2:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libcorosync4-pve:amd64 (2.3.5-2, 2.4.0-1), smbclient:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), libtalloc2:amd64 (2.1.1-2, 2.1.2-0+deb8u1), python-talloc:amd64 (2.1.1-2, 2.1.2-0+deb8u1), proxmox-ve:amd64 (4.2-48, 4.2-58), libzfs2:amd64 (0.6.5-pve9~jessie, 0.6.5.7-pve10~bpo80), libgdk-pixbuf2.0-0:amd64 (2.31.1-2+deb8u4, 2.31.1-2+deb8u5), libexpat1:amd64 (2.1.0-6+deb8u1, 2.1.0-6+deb8u3), tzdata:amd64 (2016c-0+deb8u1, 2016d-0+deb8u1), openssl:amd64 (1.0.1k-3+deb8u4, 1.0.1t-1+deb8u2), libwbclient0:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), corosync-pve:amd64 (2.3.5-2, 2.4.0-1), libtasn1-6:amd64 (4.2-3+deb8u1, 4.2-3+deb8u2), samba-common:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3), libsmbclient:amd64 (4.1.17+dfsg-2+deb8u2, 4.2.10+dfsg-0+deb8u3)
End-Date: 2016-08-03 10:47:46
Start-Date: 2016-08-03 10:47:54
Commandline: apt install parted
Install: parted:amd64 (3.2-7), libparted2:amd64 (3.2-7, automatic)
End-Date: 2016-08-03 10:47:55