LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   encfs stopped working after logout/login (https://www.linuxquestions.org/questions/linux-software-2/encfs-stopped-working-after-logout-login-4175449107/)

Nutria 02-07-2013 11:07 PM

encfs stopped working after logout/login
 
Hi,

Ubuntu 12.04 running kernel 3.5.0-23.35~precise1 from the distro repos.

Code:


It's been sitting like this for almost 6 hours.

The fuse module seems to have disappeared, but I've been doing this for so long with many generations of stock kernels (starting with Ubuntu 10.04) that I've forgotten whether fuse is a module or whether pre-built.

strace output looks like this:
Code:

<snip>
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6fa79ec000
read(0, ^C <unfinished ...>

Any tips or thoughts would be much appreciated.

unSpawn 02-08-2013 06:14 AM

FUSE has been incorporated a long time. And maybe other Desktop Environments have them too but GNOME3 has shell extensions to automagically open and close your personal EncFS mount points on session enter / exit. If you already issue mount / fusermount commands using your shell session, Desktop Manager or Desktop Environment then maybe you could make those command spit out debug nfo and then check your ~/.xession-error*, var/log/*dm*/ or related log files for hints / clues?

Nutria 02-08-2013 09:31 AM

Quote:

Originally Posted by unSpawn (Post 4886945)
FUSE has been incorporated a long time. And maybe other Desktop Environments have them too but GNOME3 has shell extensions to automagically open and close your personal EncFS mount points on session enter / exit. If you already issue mount / fusermount commands using your shell session, Desktop Manager or Desktop Environment then maybe you could make those command spit out debug nfo and then check your ~/.xession-error*, var/log/*dm*/ or related log files for hints / clues?

I mount it from an xterm. My fault for not showing it in my original post.

Anyway, it was a slight bit of PEBKAC: I used the "-S" parameter but did not pipe the passphrase via stdin (which is how I normally use encfs).

unSpawn 02-08-2013 10:07 AM

Ah, OK, NP. Thanks for posting your solution and please mark this thread "solved",
TIA.


All times are GMT -5. The time now is 04:46 PM.