ecryptfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Please patch key_mod.c
@ 2014-05-10 17:33 Jaroslav Fojtik
  2014-05-27  9:06 ` Tyler Hicks
  0 siblings, 1 reply; 4+ messages in thread
From: Jaroslav Fojtik @ 2014-05-10 17:33 UTC (permalink / raw)
  To: ecryptfs

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 1579 bytes --]

Dears,

Please patch key_mod.c.

If you receive following message, it is totally frustrating because you do not know which
directory attempted to open. The path at least gives some info about it.

======================================================================================

mount.ecryptfs /DATA/.BACKUP /DATA/BACKUP -o 
key=passphrase,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_passthrough=no,ecryptfs_
enable_filename_crypto=yes,ecryptfs_fnek_sig=87f8f52c6f46cfca
Error attempting to evaluate mount options: [-1] Operation not permitted
Check your system logs for details on why this happened.
Try updating your ecryptfs-utils package, and/or
submit a bug report on https://bugs.launchpad.net/ecryptfs

2 keys in keyring:
620524981: --alswrv     0     0 user: 87f8f52C6f46cfcA
1017206571: --alswrv     0     0 user: 87f8f52c6f46cfca

Mar 30 18:40:39 ESC_router mount.ecryptfs: ERROR: Could not open key_mod directory 
Mar 30 18:40:39 ESC_router mount.ecryptfs: Error attempting to get key module list; rc = 
[-1] 


best regards
   Jara

---------------------------------------------------

*** key_mod.c.old	Sat May 10 17:57:51 2014
--- key_mod.c	Sat May 10 17:58:31 2014
***************
*** 252,258 ****
  	}
  	if (!(dp = opendir(dir_name))) {
  		syslog(LOG_WARNING,
! 		       "ERROR: Could not open key_mod directory\n");
  		rc = -EPERM;
  		goto out;
  	}
--- 252,258 ----
  	}
  	if (!(dp = opendir(dir_name))) {
  		syslog(LOG_WARNING,
! 		       "ERROR: Could not open key_mod directory [%s]\n", dir_name);
  		rc = -EPERM;
  		goto out;
  	}






[-- Attachment #2: key_mod.c.diff --]
[-- Type: Application/Octet-stream, Size: 463 bytes --]

*** key_mod.c.old	Sat May 10 17:57:51 2014
--- key_mod.c	Sat May 10 17:58:31 2014
***************
*** 252,258 ****
  	}
  	if (!(dp = opendir(dir_name))) {
  		syslog(LOG_WARNING,
! 		       "ERROR: Could not open key_mod directory\n");
  		rc = -EPERM;
  		goto out;
  	}
--- 252,258 ----
  	}
  	if (!(dp = opendir(dir_name))) {
  		syslog(LOG_WARNING,
! 		       "ERROR: Could not open key_mod directory [%s]\n", dir_name);
  		rc = -EPERM;
  		goto out;
  	}

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-12 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 17:33 Please patch key_mod.c Jaroslav Fojtik
2014-05-27  9:06 ` Tyler Hicks
     [not found]   ` <53970CB4.5050004@cmos.net>
     [not found]     ` <5397116B.2040502@cmos.net>
     [not found]       ` <539711F6.4040804@cmos.net>
2014-06-10 14:13         ` kernel crash after enable ecryptfs under abnormal power off Hanks Wang
2014-06-12 19:21           ` Tyler Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).