Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed encfs on Slackware (with fuse and rlog) and everything seemed to be working fine. Haven't used it in a while, but now when I try to mount my encrypted file, encfs hangs after password. When I enter the wrong password, it tells me so and exits.
Where should I go from here?
When did this occur? What happened? Did you make and mount the EncFS with an earlier kernel and Fuse? If so, can you check if that combo still works? Else try troubleshooting encfs: add encfs flag "-v" for more verbosity. If that doesn't show unexpected results maybe add "-d" (and "-f") as well.
Haven't used it in a while, but now when I try to mount my encrypted file...
So it was working fine when I first installed it. Then after some period of inactivity (about a week), I tried to use it yesterday, and it didn't work.
Quote:
Originally Posted by unSpawn
What happened?
Quote:
Originally Posted by mattydee
when I try to mount my encrypted file, encfs hangs after password
So after I encfs asks me the password, I proceed to type said password with keyboard. I press the ENTER key, and then the encfs hangs, which means that it does not respond anymore and there is no blinking cursor or prompt.
Quote:
Did you make and mount the EncFS with an earlier kernel and Fuse? If so, can you check if that combo still works?
I don't think so: my kernel is 2.6.19 and fuse is 2.6.1. I will check to see if there are known problems with this combo...
Hmm. Nothing spectacularly interesting there. Could you test making a brand new EncFS dir, and see if you can mount it, preferably somewhere else.
I tried making a new EncFS dir, but again EncFS hung up after I typed in the password confirmation at "Verify Encfs Password: " prompt... so I can't even make a new one.
can't even make a new one. / Recompiling and installing didn't work.
So what we got is a system that worked, then after a week it doesn't. So something changed within that period.
- Did you update any apps?
- Or run any security or audit apps?
- Any sysctls or limits changed?
- Does syslog say anything?
- Do you run SELinux, GRSecurity or LIDS or any other security framework?
- Right after the "checking if nameio/block implements" line 'fusermount' is called to actually glue the mount. Are there by any chance multiple fusermount binaries available? Is the perm octal 4755?
- Just to make sure: did you remove, then install all three of them (Fuse, EncFS and Rlog)?
- Any changing of permissions? What's the perm on the EncFS dir and it's mountpoint (octal 0700 or 0750)?
- Can you force an error by setting the EncFS dir and it's mountpoint to octal 0500?
- Can you make or mount an EncFS as root account user?
- What does running "strace -f -ff -v -v -o encfs.strace encfs ~/crypt-raw/ ~/private/ -vdf" return? Reset the perms back to normal first and scrub your "encfs.strace" output since it will show the passphrase, you're looking for something like 'grep -v "No such" encfs.strace* | grep -e "\-1.*E"'.
After reinstalling everything, I kept receiving the same error. I had given up on this (or at least decided to put it on the back burner for a while), when I decided to try one more time this morning...
After entering the passphrase, EncFs complained about the fuse module not being loaded. When I tried to load it, fuse.ko had just disappeared somehow...?? (It was there before: see my previous post). I just copied the fuse.ko from my 2.6.19 source folder to the appropriate directory in lib/modules, and now everything is working again...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.