Bug 454426

Summary: ecryptfsd cannot start and makes openssl keys useless
Product: [Fedora] Fedora Reporter: Jan Tluka <jtluka>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: esandeen, karsten, kevin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-14 17:24:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 454425    
Bug Blocks:    

Description Jan Tluka 2008-07-08 12:44:31 UTC
+++ This bug was initially created as a clone of Bug #454425 +++

Description of problem:
Current version of kernel and ecryptfs-utils in Fedora 9 make ecryptfs feature
useless when mounting with openssl keys. There are problems in ecryptfs
userspace utilities (ecryptfsd) which use kernel netlink interface. This bug is
to track progress of inclusion of patches for ecryptfs-utils. Another bugzilla
will be created to track kernel side.

Version-Release number of selected component (if applicable):
kernel 2.6.25.6-55.fc9
ecryptfs-utils-40-0.fc9

How reproducible:
as root run ecryptfsd daemon and check /var/log/messages

Steps to Reproduce:
1. # su -
2. # tail -f /var/log/messages &
3. # ecryptfsd
  
Actual results:
Jul  8 11:26:53 dhcp-lab-206 ecryptfsd: Starting eCryptfs userspace netlink
daemon [4193]
Jul  8 11:26:53 dhcp-lab-206 ecryptfsd: Failed to send eCryptfs netlink message:
Connection refused
Jul  8 11:26:53 dhcp-lab-206 ecryptfsd: Failed to register netlink daemon with
the eCryptfs kernel module
Jul  8 11:26:53 dhcp-lab-206 ecryptfsd: Failed to send eCryptfs netlink message:
Connection refused
Jul  8 11:26:53 dhcp-lab-206 ecryptfsd: ecryptfsd_exit: Failed to unregister
netlink daemon with the eCryptfs kernel module
Jul  8 11:26:53 dhcp-lab-206 ecryptfsd: ecryptfsd_exit: Closing eCryptfs
userspace netlink daemon [4193]

Expected results:
ecryptfsd starts, no errors on startup

Additional info:
This bug is to track inclusion of patches in kernel space.

Comment 1 Chuck Ebbert 2008-07-09 19:03:27 UTC
What kind of kernel patches are we talking about here?

Comment 2 Jan Tluka 2008-07-10 11:40:36 UTC
Patches that replace netlink interface with miscdev interface for communication
of ecryptfsd (userspace) with kernel. netlink interface does not work for
ecryptfsd anymore.

Comment 3 Chuck Ebbert 2008-07-18 06:27:55 UTC
AFAICT the miscdev interface will be added when F9 moves to kernel 2.6.26.

Comment 4 Chuck Ebbert 2008-09-23 02:37:08 UTC
2.6.26.3-29 is released for F9. Can this bug be closed?

Comment 5 Jan Tluka 2008-10-09 12:12:35 UTC
Works in Fedora 9 now.

kernel-2.6.26.5-45.fc9
ecryptfs-utils-46-0.fc9