You are not logged in.

#1 2017-01-01 09:45:45

gcala
Member
Registered: 2010-06-03
Posts: 9

Problems mounting home with encfs 1.9.1

Hi,
yesterday I resurrected a laptop after a while of inactivity. I used encfs to encrypt my home, and a bunch of configurations to login to kde/kwallet with the same password. So yesterday, after a normal boot, I full upgraded the system, including encfs to version 1.9.1. After a reboot and login as usual, kde is unable to load: it shows errors regarding missing configuration files. Seems that initially the home is mounted but right after it is umounted preventing kde to complete boot process. Login from terminal works as expected. Since the procedure involves various packages (encfs, pam_encfs, kwallet-pam, sddm, fuse) I dunno where is the problem. The only solution I found was to downgrade to encfs-1.8.1.

This is my setup:

/etc/pam.d/system-login

#%PAM-1.0

auth       required   pam_tally.so         onerr=succeed file=/var/log/faillog
auth       required   pam_shells.so
auth       requisite  pam_nologin.so
auth	   sufficient pam_encfs.so
auth       include    system-auth

account    required   pam_access.so
account    required   pam_nologin.so
account    include    system-auth

password   include    system-auth

session    optional   pam_loginuid.so
session    include    system-auth
session    optional   pam_motd.so          motd=/etc/motd
session    optional   pam_mail.so          dir=/var/spool/mail standard quiet
-session   optional   pam_systemd.so
session    required   pam_env.so

/etc/pam.d/login

#%PAM-1.0

auth       required     pam_securetty.so
auth       requisite    pam_nologin.so
auth       include      system-local-login
account    include      system-local-login
session    include      system-local-login
session    required     pam_encfs.so

/etc/pam.d/sddm

#%PAM-1.0

auth		include		system-login
auth            sufficient      pam_encfs.so
account		include		system-login
password	include		system-login
session		include		system-login
session         required        pam_encfs.so

auth		optional	pam_kwallet.so  kdehome=.kde4
session		optional	pam_kwallet.so  kdehome=.kde4
auth		optional	pam_kwallet5.so
session		optional	pam_kwallet5.so

/etc/security/pam_encfs.conf

drop_permissions
encfs_default --idle=1
fuse_default nonempty
gcala	/home/.gcala	/home/gcala	-v	allow_other

/etc/fuse.conf

user_allow_other

Any idea about the problem? Thanks

Offline

Board footer

Powered by FluxBB