Bug 554740
| Summary: | lazy /dev files creation on ecryptfs module load prevents ecryptfsd daemon to start | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jan Tluka <jtluka> | ||||
| Component: | ecryptfs-utils | Assignee: | Michal Hlavinka <mhlavink> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.5 | CC: | ovasik, psplicha, rvokal | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ecryptfs-utils-75-8.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-29 16:20:55 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: | |||||||
| Attachments: |
|
||||||
|
Description
Jan Tluka
2010-01-12 14:32:48 UTC
(In reply to comment #0) > killall ecryptfsd > lsmod | grep ecryptfs && rmmod ecryptfs > modprobe ecryptfs > # echo 'sleep'; sleep 3 > ecryptfsd > killall ecryptfsd > > If you uncomment the 'sleep' line you will get following messages in > /var/log/messages and ecryptfsd will fail to start. That should read: "If you keep the 'sleep' line commented out you will get ..." In case you uncomment this line all is working fine. > > ecryptfsd[29732]: ecryptfs_init_miscdev: Error whilst attempting to open > [/dev/ecryptfs]; errno msg = [No such file or directory] > ecryptfsd[29732]: ecryptfs_init_miscdev: Error whilst attempting to open > [/dev/misc/ecryptfs]; errno msg = [No such file or directory] > ecryptfsd[29732]: main: Failed to initialize messaging; rc = [-5] > ecryptfsd[29732]: Failed to send eCryptfs miscdev message; errno msg = [Bad > file descriptor] > ecryptfsd[29732]: ecryptfs_send_message: Failed to register miscdev daemon with > the eCryptfs kernel module; rc = [-5] > ecryptfsd[29732]: ecryptfsd_exit: Error attempting to send quit message to > kernel; rc = [-5] > ecryptfsd[29732]: ecryptfsd_exit: Closing eCryptfs userspace daemon Created attachment 407763 [details]
patch to fix this
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1503.html |