[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
You should probably take a look at gocryptfs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
@wlxing: Sorry didn't see the notification until now. But actually when i worked on this years ago it was for a SOHO demo project with desktop clients bound via LAN to a centralized NFS Server for keeping clients dump and still having encryption. In the end for production we switched to laptops with no realm integration, gave up on LAN dependency and just did push backups of eCryptFS encrypted files. Didn't try to integrate eCryptFS over NFS any further since then :( In server scenarios eCryptFS would be still a nice way of interactively working with file based encryption on remote storage. EncFS is doomed and using GPG is non-interactive. The idea of streaming a big file through remote storage protocols and looping on top it with either LUKS or Ext4 encryption doesn't seem too fancy although it worked when i tested it briefly with LUKS and btrfs. @kirkland @tyhicks Guess you're guys quite busy with a lot of stuff at Canonical ;) But do you have an short update on this? Or do you know any alternative to eCryptFS for using file level based encryption on remote storage through the mentioned protocols? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
@KrautOS: It's been a long while since you commented, and still I do not have any clue about what the bug status is? Is Tyler still working on that? I'm going to work ecryptfs on samba for the personal project in the lab... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
I just done a server with NFS(w/o Kerberos)+NIS on basis of the upcoming Ubuntu 14.04 with server and desktop installations. eCryptfs seems to work, as i can log into an eCryptfs protected home directory on the graphical login screen (lightdm needs some config changes though). At first i thought it would be just able with an extra bind mount like: mount -t nfs4 -o proto=tcp,port=2049 SERVER:/home /home.nfs mount -o bind /home.nfs /home But it's also working with a direct mount of NFSv4 on /home, i only missed to install ecryptfs-utils on the second desktop i was testing on, as i seems to not be installed when you don't vote for encrypting the users home folder. Now i need some rough test cases, as i just did login with a fresh account and that may not be the corner cases. Does somebody have any clues on? @Johny: as i just looked at your setup it seems, you did something like a mixed thing between NFSv3 and NFSv4. That's you can export the folder is really strange as eCryptfs should be transparent to NFS, it's only that seems to have problems on top of NFS. For your setup have a look on https://help.ubuntu.com/community/NFSv4Howto @Tyler: It's been a while since your last comment, so do you mind to give us some update on your point of view? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
Hello KrautOS. Here's some of my setup info, please let me know if you need more details. Thanks. vmhost: vSphere 5.5 vmmachine (nfs-server): uname -a Linux xxx 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux lsb_release -a Distributor ID: Ubuntu Description:Ubuntu 13.10 Release:13.10 Codename: saucy pvdisplay --- Physical volume --- PV Name /dev/md0 VG Name RaidVG PV Size 3.63 TiB / not usable 4.81 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 951549 Free PE 0 Allocated PE 951549 PV UUID EIJ1f2-N30Y-TRRk-dkW7-qtqC-MgIx-UXyx4n vgdisplay --- Volume group --- VG Name RaidVG System ID Formatlvm2 Metadata Areas1 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV1 Act PV1 VG Size 3.63 TiB PE Size 4.00 MiB Total PE 951549 Alloc PE / Size 951549 / 3.63 TiB Free PE / Size 0 / 0 VG UUID vfKSY2-RbHq-ZXih-EGXD-JCYw-IKEq-7J2DZZ lvdisplay --- Logical volume --- LV Path/dev/RaidVG/NFSLV LV NameNFSLV VG NameRaidVG LV UUIDYkdggh-D769-sQmp-ilzL-1bpL-a8eF-MEOvqw LV Write Accessread/write LV Creation host, time nfs-server, 2014-03-02 12:54:24 -0700 LV Status available # open 1 LV Size3.63 TiB Current LE 951549 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:2 /etc/fstab /dev/mapper/RaidVG-NFSLV /srv/nfsext4 defaults 0 2 /srv/nfs /srv/nfsecryptfs defaults 0 0 /dev/mapper/cryptswap1noneswap sw 0 0 package versions (amd64): mdadm 3.2.5-5ubuntu2 lvm2 2.02.98-6ubuntu1 ecryptfs 103-0ubuntu2 nfs-kernel-server 1:1.2.8-2ubuntu2 /etc/exports /srv/nfs 192.168.2.0/25(secure,rw,sync,wdelay,hide,no_subtree_check,secure_locks) exportfs /srv/nfs192.168.2.0/25 syslog kernel: [ 14.559732] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory kernel: [ 14.584691] NFSD: starting 90-second grace period (net 81cd2dc0) rpc.mountd[1209]: Version 1.2.8 starting nfs-client: /etc/fstab nfs-server:/srv/nfs /mnt/nfs nfs4rsize=8192,wsize=8192,timeo=14,intr 00 package versions nfs-common 1:1.2.5-3ubuntu3.1 sudo showmount -e nfs-server Export list for nfs-server: /srv/nfs 192.168.2.0/25 sudo mount /mnt/nfs mount.nfs4: mounting nfs-server:/srv/nfs failed, reason given by server: No such file or directory nfs-server syslog nfs-server rpc.mountd[1209]: qword_eol: fprintf failed: errno 22 (Invalid argument) nfs-server rpc.mountd[1209]: Cannot export /srv/nfs, possibly unsupported filesystem or fsid= required I have done numerous tests including mounting non-encrypted, non-root directories successfully. After all the tests my only conclusion was that it was due to the fact the directory I was trying to export is encrypted. Also I've verified encryption in that directory works properly. Only NFS won't work. I've tried SSHFS and SAMBA successfully. Any feedback is appreciated, thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
@Johnny: You mean eCryptFS runs better on SAMBA than on NFS on your side? Can you give us some informations about your setup? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
As a work around I successfully shared my encrypted partition using CIFS instead. I do have to share the partition with Windows boxes as well and so far everything seems to work fine. Performance is good and usability is seemless for both linux and windows clients. I just need to look into security, but the configurability has been simple so far. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
By the way the title of this bug seems misleading as ecryptfs seems to work fine for cifs, samba, and even sshfs. Not sure about WebDAV or aufs . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
Hi zombi for me doing a bindfs mount on top of the webdav mount and then mounting the ecryptfs on the bindfs mount worked. does this work with distributed editing? e.g - mounting from device A - mounting from device B - edit on device A are the changes properly reflected on device B ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
for me doing a bindfs mount on top of the webdav mount and then mounting the ecryptfs on the bindfs mount worked. mount.davfs https://dav.box.com box bindfs box/dav /crypt mount -t ecryptfs /crypt /decrypt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
FYI it does seem to work over afp/netatalk. It isn't a workaround for most uses (including mine unfortunately) but it might help some people. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
Will this bug be fixed, or it is already fixed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
On 2012-12-13 19:10:06, Don wrote: Will this bug be fixed, or it is already fixed? It isn't fixed. Most of the work for NFS is done, but there's still more to do. It is marked wishlist because no one is working on it and it isn't considered a priority at this time. In the future, please check the bug status rather than asking if it is fixed. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
** Changed in: ecryptfs Assignee: Tyler Hicks (tyhicks) = (unassigned) ** Changed in: ecryptfs-utils (Ubuntu) Assignee: Tyler Hicks (tyhicks) = (unassigned) ** Changed in: ecryptfs-utils (Ubuntu) Status: Triaged = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
On 2012-01-16 20:47:27, Chris wrote: @Tyler: does this last remaining NFS issue also effect the other protocols like WebDAV or CIFS? If not, would it be possible to release a fix which supports all the other protocols except NFS? I'm not certain as my focus was just on NFS. CIFS looks to make heavy use of nameidata, which is the basis of the NFS holdup. I have no idea about WebDAV. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
@Tyler: does this last remaining NFS issue also effect the other protocols like WebDAV or CIFS? If not, would it be possible to release a fix which supports all the other protocols except NFS? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
@Tyler, what's the status on that NFS client patch? Any progress? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
** Changed in: ecryptfs Status: In Progress = Triaged ** Changed in: ecryptfs Importance: High = Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
eCryptfs on top of NFS isn't going to happen in the short term. Nearly all of the eCryptfs fixes are now in place, except for one last sticking point. The NFS maintainer is requiring that eCryptfs fix up a struct nameidata and pass it down into NFS, but that can get ugly and is something that the VFS maintainer is against. The VFS maintainer has alluded to a patch set that he is working on to do away with the nameidata passing, but it is not currently posted anywhere. When that happens, eCryptfs has a much better chance at supporting NFS. ** Changed in: ecryptfs-utils (Ubuntu) Status: In Progress = Triaged ** Changed in: ecryptfs-utils (Ubuntu) Importance: High = Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
@Tyler, thanks for your status update! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs
** Summary changed: - ecryptfs does not work properly over nfs, cifs, samba, or aufs + ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/277578 Title: ecryptfs does not work properly over nfs, cifs, samba, WebDAV, or aufs To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/277578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs