When an encrypted home directory is on kerberized NFS4, upgrading to version 1.9.1-3 in testing causes errors not present in the previous version. Logging in via terminal works, but not via GNOME/gdm 3. Also, at some point an error appears when accessing the cleartext mountpoint. Then the "Transport endpoint is not connected" (even though the default idle unmount setting was disabled in /etc/security/pam_encfs.conf). Furthemore, some subsequent mount attempts via PAM seem to trigger segfaults like the ones below. It is currently unclear if the idle override is being ignored or there is another, potentially more serious problem. Dec 23 08:27:01 lechner-desktop kernel: [ 192.786639] encfs[2308]: segfault at 0 ip 00007fce39883f36 sp 00007fce37b4d970 error 4 in libencfs.so.1.9.1[7fce3982a000+75000] Dec 23 08:32:50 lechner-desktop kernel: [ 146.913824] encfs[1763]: segfault at 0 ip 00007f052e4dff36 sp 00007f052b7a7970 error 4 in libencfs.so.1.9.1[7f052e486000+75000] Dec 23 08:57:11 lechner-desktop kernel: [ 166.904051] traps: encfs[1856] general protection ip:7fba93de28d4 sp:7fba92219958 error:0 in libc-2.24.so[7fba93c9e000+195000] Dec 23 09:13:49 lechner-desktop kernel: [ 747.796823] encfs[1952]: segfault at 0 ip 00007f63c3cf7f36 sp 00007f63c1c91970 error 4 in libencfs.so.1.9.1[7f63c3c9e000+75000]
Hallo, * Felix Lechner [Fri, Dec 23 2016, 09:40:48AM]: And via other DM, like lxdm? This sounds like it might be an issue of libpam-encfs which is not my package. Now this sounds more like an encfs issue. Please enable coredumps (see below for example) and mount manually and when it crashes, please send the dump via some secure channel. ulimit -c unlimited >/dev/null 2>&1 echo /tmp/core-%e-%s-%u-%g-%p-%t > /proc/sys/kernel/core_pattern Or install the -dbg package from http://debug.mirrors.debian.org/debian-debug/ and debug locally. (You might also configure it via /etc/sysctl.conf but not sure how to change ulimit correctly in pam context). Regards, Eduard.
Hallo, * Felix Lechner [Fri, Dec 23 2016, 09:40:48AM]: And via other DM, like lxdm? This sounds like it might be an issue of libpam-encfs which is not my package. Now this sounds more like an encfs issue. Please enable coredumps (see below for example) and mount manually and when it crashes, please send the dump via some secure channel. ulimit -c unlimited >/dev/null 2>&1 echo /tmp/core-%e-%s-%u-%g-%p-%t > /proc/sys/kernel/core_pattern Or install the -dbg package from http://debug.mirrors.debian.org/debian-debug/ and debug locally. (You might also configure it via /etc/sysctl.conf but not sure how to change ulimit correctly in pam context). Regards, Eduard.
Hi Eduard, Sorry, It was a fluke. I ran 1.9.1-3 in gdb for twelve hours and think it is stable. Closing. Best regards & happy holidays, Felix