Fixed
Created: Aug 15, 2018
Updated: Mar 26, 2019
Resolved Date: Mar 25, 2019
Found In Version: 10.17.41.11
Fix Version: 10.17.41.15
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace
root@intel-x86-64:~# systemctl status ecryptfs
● ecryptfs.service - A userspace daemon that runs as the user perform file operations under the eCryptfs mount point
Loaded: loaded (/lib/systemd/system/ecryptfs.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-08-14 06:16:54 UTC; 23h ago
Process: 379 ExecStart=/usr/bin/ecryptfsd -f (code=exited, status=251)
Main PID: 379 (code=exited, status=251)
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs]; errno msg = [No suc
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: ecryptfs_init_miscdev: Error whilst attempting to open [/dev/misc/ecryptfs]; errno msg = [N
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: main: Failed to initialize messaging; rc = [-5]
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: Failed to send eCryptfs miscdev message; errno msg = [Bad file descriptor]
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: ecryptfs_send_message: Failed to register miscdev daemon with the eCryptfs kernel module; r
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: ecryptfsd_exit: Error attempting to send quit message to kernel; rc = [-5]
Aug 14 06:16:53 intel-x86-64 /usr/bin/ecryptfsd[379]: ecryptfsd_exit: Closing eCryptfs userspace daemon
Aug 14 06:16:54 intel-x86-64 systemd[1]: ecryptfs.service: Main process exited, code=exited, status=251/n/a
Aug 14 06:16:54 intel-x86-64 systemd[1]: ecryptfs.service: Unit entered failed state.
Aug 14 06:16:54 intel-x86-64 systemd[1]: ecryptfs.service: Failed with result 'exit-code'.
1) setup.sh
--machine intel-x86-64 --templates feature/LAMP feature/gcc-sanitizers feature/gdb feature/ipv6 feature/libhugetlbfs feature/lttng feature/mariadb feature/nfsd feature/ntp feature/system-stats feature/target-toolchain feature/test feature/valgrind feature/xfce --dl-layers --layers meta-filesystems meta-virtualization meta-xfce --distro wrlinux-cgl
2) . environment-setup-x86_64-wrlinuxsdk-linux
. oe-init-build-env
3) vim conf/local.conf
IMAGE_INATLL_append += " ecryptfs-utils“
4) bitbake wrlinux-image-glibc-cgl
5) boot the target
6) run the commands per the problem description.